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

Restrict user from executing the program in background

Former Member
0 Likes
709

Hi,

I want to restrict the user to execute the program in background.

How to do that?

Hi,

I want to restrict the user to execute the program in background.

How to do that?

3 REPLIES 3
Read only

Former Member
0 Likes
654

Check if sy-batch = 'X' then exit from program.



report ztext. 

if sy-batch NE 'X'.
.......
(report body)
......
....
endif. 

Read only

0 Likes
654

Thanx for the reply. Is there any BADI for the same purpose?

Read only

Former Member
0 Likes
654

Initialization.

if sy-batch = 'X'.

message E000 ....

endif.