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: 

background job

Former Member
0 Kudos

hi all,

how do we come to know whether the program is ued in background jobs or not ?

thanks.

2 REPLIES 2

GauthamV
Active Contributor
0 Kudos

Use this Table.

TBTCP

Former Member
0 Kudos

hi,

check the system variable SY-BATCH

If sy-batch = 'X' --> the program is running inside a job process.

If you are loocking for jobs that execute the program, you can use transaction SM37 -> Extend job selection -> steps, and fill the "ABAP program name" with yor program

Regards,

Pepe

Edited by: Jose Vaquero Polonio on Apr 24, 2009 11:46 AM