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

Former Member
0 Likes
435

hi all,

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

thanks.

hi all,

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

thanks.

2 REPLIES 2
Read only

GauthamV
Active Contributor
0 Likes
413

Use this Table.

TBTCP

Read only

Former Member
0 Likes
413

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