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

'Z' program with trabstrip and user autorization for visualizing

Former Member
0 Likes
457

Hi

There's a 'Z' program which contains tabstrip for user option, then an ALV is showed but not all the user must see all ALV, how can I do for this because it's just one program.

Thanks in advance.

Hi

There's a 'Z' program which contains tabstrip for user option, then an ALV is showed but not all the user must see all ALV, how can I do for this because it's just one program.

Thanks in advance.

2 REPLIES 2
Read only

Former Member
0 Likes
421

You could use an authorization object...if user fails, cannot call the ALV display. Or assign an authorization group to your program in attributes. If your users can't do SA38 (desirable) in production, it may be as simple as assigning authorization to custom transaction code.

Work with your security and your functional specialist to determine roles, etc., that can see, or if the entire program should have limitations on who can run.... That will determine the action you take.

Read only

Former Member
0 Likes
421

Hi,

if u do not use authorization object, then u can do this think using z-table,

create a Z-TABLE and enter the one fields 1. block_user.

then create table maintenance of the table and enter the user name witch u want to block .

and in the program check the value



if sy-uname =  block_user.
message ' u r not authorized'.
else.
display Report.
endif.

Regards,

Abhilash