Search found 444 matches

by q4u
Wed Jun 24, 2020 8:05 am
Forum: ABAP
Topic: Setting status of background program
Replies: 1
Views: 43

Re: Setting status of background program

Ah, did it through MESSAGE ... LIKE TYPE E

Thanks :-)
by q4u
Wed Jun 24, 2020 7:59 am
Forum: ABAP
Topic: Setting status of background program
Replies: 1
Views: 43

Setting status of background program

Hi,
I have a program that's normally executed in the foreground.
If it is executed in the background instead, either manually from the selection screen or via a 'call transaction' etc., is it possible to set the status of the background job ("cancelled", "finished", etc.) when it completes?

Thanks.
by q4u
Tue Jun 09, 2020 11:17 am
Forum: ABAP
Topic: BUT000-PARTNER - customer and/or vendor?
Replies: 0
Views: 67

BUT000-PARTNER - customer and/or vendor?

Hi,
In a HANA system, how can you tell via ABAP if a BUT000-PARTNER is a customer and/or vendor? Thanks.
by q4u
Mon Aug 13, 2018 4:55 am
Forum: ABAP
Topic: Open XML in Excel without downloading to a file
Replies: 1
Views: 1038

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: 1038

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: 127
Views: 200128

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: 2358

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: 2327

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: 2327

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: 1839

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: 1839

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: 2331

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: 2197

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: 2055

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: 2197

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. ...