Application Development 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: 

System Variable for "Background Execution"

former_member445996
Participant
0 Kudos

Hi All,

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

Thanks

1 ACCEPTED SOLUTION

Former Member
0 Kudos

SY-BATCH

If SY-BATCH = 'X'.

Background mode

IF SY-BATCH = ' '.

Forground mode

Message was edited by: Amandeep Singh

2 REPLIES 2

Former Member
0 Kudos

SY-BATCH

If SY-BATCH = 'X'.

Background mode

IF SY-BATCH = ' '.

Forground mode

Message was edited by: Amandeep Singh

ferry_lianto
Active Contributor
0 Kudos

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