on 08-24-2015 5:34 AM
Hi,
I have created an application in Webdynpro. I need to give access only to the developers. Kindly let me know how to use 'S_DEVELOP' authorization object in Webdynpro application.
Thanks,
Jonathan.
Hi,
You mean to say authorization to EDIT your WDP or auth to execute your appln?
Thanks
KH
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
On button action, write the below code.
1)Bind all screen elements of that view to boolean attribute .
2)Write below code.
AUTHORITY-CHECK OBJECT 'S_DEVELOP'
ID 'ACTVT' FIELD '03'.
IF SY-SUBRC <> 0.
set boolean attribute to abap_false. " i.e all screen elements will be in-visible.
raise error message.
return.
ELSE.
set boolean attribute to abap_true. " i.e all screen elements will be visible.
ENDIF.
Hope this will be useful to you.
Thanks
KH
User | Count |
---|---|
92 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
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.