Search found 441 matches

by q4u
Mon Aug 13, 2018 4:55 am
Forum: ABAP
Topic: Open XML in Excel without downloading to a file
Replies: 1
Views: 755

Re: Open XML in Excel without downloading to a file

Solved using i_oi_document_proxy: data cl_document type ref to i_oi_document_proxy. cl_document->open_document_from_table( exporting document_size = lv_size document_table = lt_xml open_inplace = 'X' ).
by q4u
Mon Aug 13, 2018 4:13 am
Forum: ABAP
Topic: Open XML in Excel without downloading to a file
Replies: 1
Views: 755

Open XML in Excel without downloading to a file

I have an internal table filled with XML for an Excel sheet. I can open it in Excel by downloading to a file and opening the file (sample code below). However can this (the internal table XML data) be opened in Excel without downloading it to a file first? Thanks. CALL METHOD cl_gui_frontend_service...
by q4u
Tue Jan 05, 2016 12:39 pm
Forum: ABAP
Topic: The benefits of open source. (Serious fun for April 1st).
Replies: 126
Views: 194941

Re: The benefits of open source. (Serious fun for April 1st).

Ah, well that clears things up...

Image
by q4u
Sun Aug 09, 2015 2:42 pm
Forum: ABAP
Topic: Change font size in full screen ALV
Replies: 0
Views: 2157

Change font size in full screen ALV

Hi, The code below is a full screen two-dimensional ALV with a title. SAP Help says of changing the title's font size: "you can only do this when you display the title in the ALV output", however the title below does not change. Are they talking about using elements? This code works when modified fo...
by q4u
Thu Jul 02, 2015 10:28 am
Forum: ABAP
Topic: Object instance creation within class
Replies: 3
Views: 2110

Re: Object instance creation within class

Ah I see. Thank-you.
by q4u
Thu Jul 02, 2015 6:16 am
Forum: ABAP
Topic: Object instance creation within class
Replies: 3
Views: 2110

Object instance creation within class

Hi, The normal way I create an object and call a method is directly within a program: data: zobject type ref to zobject_class. create object zobject. zobject->do_something( ). zobject->do_something_else( ). However I've seen cases where the object is created within the class, through a method. So th...
by q4u
Wed Jul 01, 2015 2:30 pm
Forum: ABAP
Topic: parameter id packages
Replies: 2
Views: 1679

Re: parameter id packages

Found it, thank-you!
by q4u
Wed Jul 01, 2015 4:27 am
Forum: ABAP
Topic: parameter id packages
Replies: 2
Views: 1679

parameter id packages

Hi,
How can you find what package a parameter id is defined in, please?

Thks,
q4u
by q4u
Thu Jun 25, 2015 5:57 am
Forum: Basis
Topic: locking tasks
Replies: 1
Views: 2171

locking tasks

Hi, Is it possible to stop new tasks being added to a request? I see the Protect function but that won't stop new tasks being added by owners who have tasks already in the request. Related to this, is it possible to lock tasks in such a way that no changes to objects in the tasks are possible? Or ev...
by q4u
Wed Jun 10, 2015 9:05 am
Forum: ABAP
Topic: SLIN for TABLES parameter issue
Replies: 2
Views: 2035

Re: SLIN for TABLES parameter issue

Grogan wrote:The simplest way is just to mark the structure as "Cannot be Enhanced". After all, it is a Z structure so generally you would just edit it rather than add an append structure.

In SE11 go Extras > Enhancement Category, and try changing to "Cannot be Enhanced".
Ok, thanks. Will give it a go!
by q4u
Wed Jun 10, 2015 8:37 am
Forum: ABAP
Topic: SNOTE
Replies: 2
Views: 1866

SNOTE

Hi, Who is given access to SNOTE transaction in your enterprise? We are being driven crazy by business users clicking buttons, applying code, then deciding not to transport and not removing the note. Is SNOTE restricted to programmers in your business or maybe just better training required for busin...
by q4u
Tue May 26, 2015 3:55 am
Forum: ABAP
Topic: SLIN for TABLES parameter issue
Replies: 2
Views: 2035

SLIN for TABLES parameter issue

Hi, Am using SLIN on a function group, and it raises an error saying a Z structure "can be enhanced", but the error can be hidden with "#EC ENHOK The structure is passed into the TABLES parameter of a function, so my question is where do I put "#EC ENHOK to stop the message? FUNCTION zZwrite_dates. ...
by q4u
Thu May 07, 2015 11:11 am
Forum: ABAP
Topic: Documention headers
Replies: 2
Views: 2069

Re: Documention headers

Who da man? You da man!!

Thanks!
by q4u
Thu May 07, 2015 6:09 am
Forum: ABAP
Topic: Documention headers
Replies: 2
Views: 2069

Documention headers

Hi, The standard headings when creating SAP documentation are (UT = HT Chapter heading): UT &USE& UT &PRECONDITIONS& UT &STANDARD_SETUP& UT &ACTIVITY& UT &EXAMPLE& 1) Can you create your own &own heading& ? When I type something, SAP just ignores it. 2) Are these && held in a table? So could see wha...
by q4u
Wed May 06, 2015 7:48 am
Forum: ABAP
Topic: Call structure created in SIMGH from SPRO
Replies: 2
Views: 2865

Re: Call structure created in SIMGH from SPRO

Thanks Lipperland. I created a structure in SPRO that way using S_IMG_EXTENSION, but it left me wondering - what's the purpose of SIMGH? With SIMGH, you essentially create the same structure as you do with S_IMG_EXTENSION, but you cannot (as far as I can find), "import" it from SIMGH into SPRO. So i...