cancel
Showing results for 
Search instead for 
Did you mean: 

how to call transaction S_ALR_87012249 from an ABAP program with parameters

former_member194797
Active Contributor
0 Kudos

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 ?

Accepted Solutions (0)

Answers (1)

Answers (1)

iklovski
Active Contributor
0 Kudos

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