2009 Dec 17 6:19 AM
I have created a dialog program to maintain employee details with menus Create, Change, Display
My concern is that i want to restrict some user for creating entries in database table through this dialog program those users only authorize to display data.
Please guide me how to do achieve above.
Thanks
I have created a dialog program to maintain employee details with menus Create, Change, Display
My concern is that i want to restrict some user for creating entries in database table through this dialog program those users only authorize to display data.
Please guide me how to do achieve above.
Thanks
2009 Dec 17 6:30 AM
Hi
Try to create a ztable where you have two fields named user and authorization.Before updating the entries of employ check for authorization in ztable.
Regards
Srilaxmi
2009 Dec 17 7:19 AM
HI Srilaxmi,
Thanks for quick reply,
Will u please explain u r concept in details .
2009 Dec 17 7:22 AM
Hi Suyag, search in SCN with key words "Authorization Objects" "SU21" "authority-check"
that will help you solve your problem.
2009 Dec 17 7:27 AM
Hi,
You can make use of the system variable sy-uname which holds the user logon name. Based on this u can decide whether to allow the user in edit mode or display mode.
Regards,
Naga Sai
2009 Dec 17 7:35 AM
you can create a value range for the restricted user and then in your program you can check using sy-uname .
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |