2010 Jul 16 5:12 PM
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.
2010 Jul 16 6:05 PM
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.
2010 Jul 17 11:53 AM
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
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |