Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Background JOB system variable?

Former Member
0 Likes
1,504

Guys,

i want to execute my program through backgound i.e From report selection screen menu.

progam->execute in background.

What system variable i need to use to trigger from here.

regards,

vijay

5 REPLIES 5
Read only

Former Member
0 Likes
717

Hi Vijay,

The system variable to be used is SY-BATCH.

Regards,

Inder.

Read only

0 Likes
717

hi Vijay,

<b>SY-BATCH</b> variable

Read only

0 Likes
717

Iam using sy-batch in my program but if i press F9 it is not triggering.please help on this.

reagrds,

vijay

Read only

Former Member
0 Likes
717

hi,

You need to give only the printer name and no of copies you want..if u dont know the printer name you can type in LOCL which detects your local printer and prints it...

Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
717

<i>What system variable i need to use to trigger from here.</i>

Not sure what you mean by this, but if your program is running in background either by SM37 or by doing a SUBMIT in the code, or even by doing so from the selection screen, the system variable SY-BATCH will be equal to "X".

Regards,

Rich Heilman