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: 

report

Former Member
0 Kudos

how to find a report is run in fore ground or background

we have a date validation that if it is run in foreground then the date should be 30 days

but if background then the date can be of any range.

please help me regarding this

points will be rewarded

1 ACCEPTED SOLUTION

former_member386202
Active Contributor
0 Kudos

Hi,

CHeck SY-BATCH = 'X' then its background

Reward Points....

Regards,

Prashant

3 REPLIES 3

former_member386202
Active Contributor
0 Kudos

Hi,

CHeck SY-BATCH = 'X' then its background

Reward Points....

Regards,

Prashant

Former Member
0 Kudos

if sy-BATCH = 'x' . is run back ground.

write condition

else.

run foreground .

write condition

endif.

null

Former Member
0 Kudos

Hi, samuel.

I think you can use sy-batch to identify that.

Regards,

feng.