04-24-2009 10:38 AM
hi all,
how do we come to know whether the program is ued in background jobs or not ?
thanks.
04-24-2009 10:43 AM
04-24-2009 10:43 AM
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