Skip to Content
0
Former Member
Feb 18, 2009 at 10:32 PM

Macros: use function REPORT_SUBMIT()

39 Views

All,

I'm trying to use the function REPORT_SUBMIT(), and while I can use it successfully with programs not requiring a variant, I would like to use it with the program /SAPAPO/TS_BATCH_RUN. How do I provide the variant as a parameter in this function?

The parameters according to the help file are:

REPORT_SUBMIT( 'program_name' ; <<'job_name'>> ; <<'job_number'>>; <<'newmode'>>)

<<'job_name'>> is not the variant name, but the name which will appear in sm37 for the background job name. <<'job_number'>> did not get reflected anywhere, and <<'newmode'>> did not have an effect either.

Any help greatly appreciated.

Thanks,

Uwe