‎2008 Feb 04 5:06 AM
Hi All,
I want to execute a certain report in background. If the user tries to execute the program in foreground, the system should prompt him not to run it in foreground. In the same way, the message should not come if the program is run in backgroud.
That is, the system should differentiate whether the program is run in foreground or in background. How to differentiate them?
If i could differentiate, i could code a message to display when the user runs the program in foreground.
Please help me.
‎2008 Feb 04 5:12 AM
if sy-batch = 'X' '' then it is runing in background other wise it is running in foreground
<enter ur code here, to display when running in background>
else
<enter ur code here, to display when running in foreground>
endif.
Madhavi
‎2008 Feb 04 5:12 AM
if sy-batch = 'X' '' then it is runing in background other wise it is running in foreground
<enter ur code here, to display when running in background>
else
<enter ur code here, to display when running in foreground>
endif.
Madhavi
‎2008 Feb 04 6:27 AM