Application Development and Automation 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: 
Read only

report

Former Member
0 Likes
414

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
Read only

former_member386202
Active Contributor
0 Likes
391

Hi,

CHeck SY-BATCH = 'X' then its background

Reward Points....

Regards,

Prashant

3 REPLIES 3
Read only

former_member386202
Active Contributor
0 Likes
392

Hi,

CHeck SY-BATCH = 'X' then its background

Reward Points....

Regards,

Prashant

Read only

Former Member
0 Likes
391

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

write condition

else.

run foreground .

write condition

endif.

null

Read only

Former Member
0 Likes
391

Hi, samuel.

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

Regards,

feng.