cancel
Showing results for 
Search instead for 
Did you mean: 

Re: Program/Transaction Execution via Macro

Former Member
0 Kudos

Hi All,

I'd like to execute a SAP transaction /sapapo/tscopy or program /sapapo/rtscopy using the Macro Workbench. I'd like to know how I can execute the program/transaction ?

Thanks for your suggestions in advance.

Suren

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

You submit the report using 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.

-Shibu

Thanks for rewarding points if this is helpful

Former Member
0 Kudos

Hi Shibu,

Yes this one works however, I would like to use a variant along with the /sapapo/rtscopy program and use macro to execute it...is it possible?

Thanks

Suren