cancel
Showing results for 
Search instead for 
Did you mean: 

How to use Authorization object 'S_DEVELOP' in a Webdynpro application

Former Member
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

You mean to say authorization to EDIT your WDP or auth to execute your appln?

Thanks

KH

Former Member
0 Kudos

Hi Katrice,

     When i run the app, I have a button in the output clicking on which only the developers will be allowed to move further.

Thanks,

Jonathan.

Former Member
0 Kudos

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

Former Member
0 Kudos

Thanks Katrice!

Former Member
0 Kudos

Hi,

Is your issue resolved?

Thanks

KH

Former Member
0 Kudos

Ya Katrice...Thank you!

Former Member
0 Kudos

Hi,

Pls close the thread as answered as your issue is resolved.If not, pls revert back with your queries.

Happy to help you.

Thanks

KH

Answers (0)