09-21-2008 6:09 AM
Hi,
In which way i can know that a job is running In background or foreground? please tell me...
or a report is in background or foreground..
Thanks ,
Arya
09-21-2008 6:54 AM
Systemfield: SY-BATCH
If SY-BATCH eq 'X'........
= the ABAP program is running in the background
....., otherwise space
09-21-2008 6:13 AM
check tranx sm37 to know all background job details
refer link
http://help.sap.com/saphelp_nw2004s/helpdata/en/c4/3a8009505211d189550000e829fbbd/frameset.htm
09-21-2008 6:51 AM
Hello Aryabarta,
All the job runs in back round. Did you mean to ask how to know if the job is active? If so you can use the transaction SM37.
Regards
Farzan
09-21-2008 6:53 AM
Check the below code in the program for background processing...
IF sy-batch = 'X'.
endif..
09-21-2008 6:54 AM
Systemfield: SY-BATCH
If SY-BATCH eq 'X'........
= the ABAP program is running in the background
....., otherwise space
09-21-2008 7:14 AM