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

System Variable for "Background Execution"

former_member445996
Participant
0 Likes
584

Hi All,

Is there a system variable that can tell us whether a program was executed in the background?

Thanks

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
533

SY-BATCH

If SY-BATCH = 'X'.

Background mode

IF SY-BATCH = ' '.

Forground mode

Message was edited by: Amandeep Singh

2 REPLIES 2
Read only

Former Member
0 Likes
534

SY-BATCH

If SY-BATCH = 'X'.

Background mode

IF SY-BATCH = ' '.

Forground mode

Message was edited by: Amandeep Singh

Read only

ferry_lianto
Active Contributor
0 Likes
533

Hi Aurang,

Check SY-BATCH.

Also you can check list of program which executed in the background <b>TBTCP</b>.

Hope this will help.

Regards,

Ferry Lianto