2005 May 25 8:57 PM
Hi,
I need to check whether the changes are online or background. For this, iam using sy-batch to check. if sy-batch eq ' ' --> it is online otherwise it is background.
This is working for online changes but sy-batch is not updating when iam using background. In back ground, sy-batch should update as 'X'. Its not happening thus creating a problem..
Can anyone help me whether is there any other procedure to check whether it is online or background????
2005 May 25 9:14 PM
SY-BATCH is the correct field. Put a write statement to print out the value of SY-BATCH to see what value it has. I think something else is causing the problem, not this field.
Srinivas
2005 May 26 6:21 AM
Hi,
U can check as
IF SY-BATCH = 'X'.
some message u ask to display
ENDIF.
Also check for sy-batch in this link
http://www.sapdevelopment.co.uk/reporting/rep_spooltopdf.htm
Thanks & Regards,
Judith.