Skip to Content
0

how to call transaction S_ALR_87012249 from an ABAP program with parameters

Oct 26, 2016 at 08:12 AM

77

avatar image
Former Member

Hi,

I would like to call the transaction S_ALR_87012249 from an ABAP program with parameters prepared by the ABAP program, but S_ALR_87012249 is linked to a generated program and I don't know how to call it. 1) the program name is not the same in development and production environments. 2) the parameters are not the same when calling the transaction or the linked program. 3) I know the transaction START_REPORT, but I don't know how to pass parameters to the report from my ABAP program. Is there a special technique for calling this kind of program ?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Eli Klovski
Dec 30, 2016 at 01:02 PM
0

Hi,

When you call a transaction via 'CALL TRANSACTION', you can pass BDC data as parameters, i.e. CALL TRANSACTION 'START_REPORT' USING bdc_data MODE l_mode.

Before, you just fill BDC fields relevant for this transaction.

DATA: BEGIN OF bdcdata OCCURS 100.
INCLUDE STRUCTURE bdcdata.
DATA: END OF bdcdata.

Regards,

Eli

Share
10 |10000 characters needed characters left characters exceeded