‎2006 Nov 14 9:52 AM
hi,
is it possible to check if a report is executed by an job (run in backround task)?
thanks
mike
‎2006 Nov 14 9:53 AM
if sy-batch = 'X'.
Its running in batch.
else.
Its running online.
endif.
‎2006 Nov 14 9:53 AM
if sy-batch = 'X'.
Its running in batch.
else.
Its running online.
endif.
‎2006 Nov 14 10:01 AM
Hi,
if you query the db view TRDIR with the program name, it will tell if it is run by any background job.