cancel
Showing results for 
Search instead for 
Did you mean: 

Running abap programs using the macros

Former Member
0 Kudos

In our DP implementation we have faced several issues in the extraction of the data from the demand planning to one of the legacy system. We have written the ABAP program and would be using the read planning book bapi. I wanted to run the ABAP program using the macro could some one please let me know what is the structure of the macro builder that is used to fire the ABAP program. this is being fired from the macros as some comparison is to be done to run the macro.

Accepted Solutions (1)

Accepted Solutions (1)

srinivas_krishnamoorthy
Active Contributor
0 Kudos

You should be able to call any ABAP program through the Macro function REPORT_SUBMIT(). Use the action box to invoke the macro function.

Answers (1)

Answers (1)

former_member583013
Active Contributor
0 Kudos

Hi,

Some more information on macro function

REPORT_SUBMIT()

REPORT_SUBMIT( 'program_name' ; <'job_name'> ; <'job_number'>; <'newmode'>) causes the specified program to be executed. Use the optional arguments, job name and job number, if you wish the program to run in the background. If you set the argument 'newmode', the results are displayed in a new window.

Hope this will helps you.

Regards,

Sunitha.