on 05-22-2007 11:54 AM
Hi all,
I have a scenrio where depending upon the logged in user I have to decide whether to display him the parameters screen or not.
That is first I need to check who is looged on and if he's the admin then I should show him the selection screen on the parameters.
Please Guide.
Thank You
Hi
U need a code like this:
SELECT-OPTIONS: S1 FOR .... MODIF ID ADM.
AT SELECTION-SCREEN OUTPUT.
IF SY-UNAME <> ........
LOOP AT SCREEN.
IF SCREEN-GROUP1 = 'ADM'.
SCREEN-ACTIVE = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDIF.
Now I can't know how you can understand if the user is the administrator, probably u can check some authorizations.
Max
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the replies
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.