Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

background?

Former Member
0 Kudos

Hi all,

if the report is running in background i need to do some validation?

how can i check this?

vkr.

4 REPLIES 4

ferry_lianto
Active Contributor
0 Kudos

Hi,

You can use SY-BATCH to check background job.


IF SY-BATCH = 'X'.
 ...                     " Your validation
ENDIF.

Regards,

Ferry Lianto

Former Member
0 Kudos

if sy-batch = 'X'.

*----write validation code

endif.

Former Member
0 Kudos

at selection-screen.

if sy-batch eq 'X'.

doyour validations here

ENDIF.

Former Member
0 Kudos

Go TO SE38, fill the values in the selection screen,

Execute in Background..

Then Go TO SE37 , mark the spool, go to command window and type shbg, press F7 thrice, the ctrl will come to your program , you can validate yourself.

Regards,

Baburaj