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
568

HI all,

I have a req like..

I need to lock some number of users to run my REPORT.

how its possible.

vkr.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
552

Hi,

use the

at selection screen output

case sy-usrid.

when 'user1' or 'user2' or list of users you wnat to block

message eooo with 'you are not authorized'.

endcase.

thanks & regards,

Venkatesh

5 REPLIES 5
Read only

Former Member
0 Likes
553

Hi,

use the

at selection screen output

case sy-usrid.

when 'user1' or 'user2' or list of users you wnat to block

message eooo with 'you are not authorized'.

endcase.

thanks & regards,

Venkatesh

Read only

0 Likes
552

Hi,

incase if i want to block 2000 users then,

its very difficult.

plz suggest some else.

vkr.

Read only

0 Likes
552

Hi

in that case maintain all users in one table and create table maint generator its easy for updating other users and

check these users in the specified event above.

reward points to all helpful answers

kiran.M

Message was edited by:

KIRAN KUMAR

Read only

Former Member
0 Likes
552

Hi Vkr.

in the attributes of a program u can check checkbox for locking

or if u dont want to run the report for users

write code in initilazation event.

if sy-uname = 'abcd'.

exit.

endif.

reward points to all helpful answers

kiran.M

Read only

Former Member
0 Likes
552

hi,

then i think you have to create

a ztable in which you maintain all the user ids

and select the usrid and if it is ther in the ztable

give an error message

thanks & regards,

venkatesh