Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Authorization to Webdynpro page

Former Member
0 Likes
1,502

Hi,

ABAP team has developed customized webdynpro page which updates project system(PS) tables. When we created testId with no roles/profiles and logged in with the testID, then this page gets executed with updating PS tables. When we took the trace we found all requried objects which are missing. Can anyone help me how to provide authorization to Webdynpro page?

Thanks,

SM

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,462

Sounds terrible....

You need to check authority (or use coding techniques which does it for you...), but that is irrelevant because you should not be updating SAP tables like this anyway.

Cheers,

Julius

Sounds terrible....

You need to check authority (or use coding techniques which does it for you...), but that is irrelevant because you should not be updating SAP tables like this anyway.

Cheers,

Julius

12 REPLIES 12
Read only

Former Member
0 Likes
1,463

Sounds terrible....

You need to check authority (or use coding techniques which does it for you...), but that is irrelevant because you should not be updating SAP tables like this anyway.

Cheers,

Julius

Read only

sdipanjan
Active Contributor
0 Likes
1,462

>

> ABAP team has developed customized webdynpro page which updates project system(PS) tables. When we created testId with no roles/profiles and logged in with the testID, then this page gets executed with updating PS tables.

Why you need to do so??

When we took the trace we found all requried objects which are missing. Can anyone help me how to provide authorization to Webdynpro page?

>

This is not the way to build a role by searching so blindly.... If you are not using any TCode/report etc. to update the database (which is the best feature of SAP compared to other ERP products) then you should try to study other menu assignment possibilities and make those custom developments Interactive.

Regards,

Dipanjan

Read only

Former Member
0 Likes
1,462

Hi Dipanjan,

Thanks for the reply!

ABAP team are calling transaction CJ20N in code for updating PS tables, but when we tried to login to Webdynpro page with no roles/profiles, we are able to update the PS tables. What we(Security team) or ABAP team needs to do so that it checks for authorization at the time of Login?

Thanks,

SM

Read only

sdipanjan
Active Contributor
0 Likes
1,462

>

> What we(Security team) or ABAP team needs to do so that it checks for authorization at the time of Login?

>

There is no checks performed during Login from point of view of AS authorization concept. This need to be fixed by ABAP team why it is happening. If the user has no role then there is no way to update any record. So it is not happening by user interaction I believe.

Regards,

Dipanjan

Read only

Former Member
0 Likes
1,462

Hi All,

Check if there is any service (SICF) existing for the same, and if some login details are specified there, it will probably be using authorisations of that particular user, rather than the one who is logged on( with no authorisations at all).

Regards,

Sarita

Read only

0 Likes
1,462

Yes, that is a good observation!

Also check higher up in the node hierarchy for settings, because they cascade down (lower entries inherit higher node attributes, unless specified specifically).

Cheers,

Julius

Read only

Former Member
0 Likes
1,462

Hi All,

Check if there is any service (SICF) existing for the same, and if some login details are specified there, it will probably be using authorisations of that particular user, rather than the one who is logged on( with no authorisations at all).

Regards,

Sarita

Read only

0 Likes
1,462

Hi Sarita,

Thts a good point. I checked SICF service for the webdynpro page, but we didnt provide any Logon details here. Still the issue is open

Thanks,

SM

Read only

0 Likes
1,462

Chech the nodes in the hierarchy. It inherits the credentials...

Cheers,

Julius

Read only

0 Likes
1,462

Hi Julius,

I checked all the nodes in the hierarchy but nowhere we have maintained user crendentials.

thanks,

SM

Read only

0 Likes
1,462

I guess you are going to have to post the code of your WDA for us to proceed further...

Cheers,

Julius

Read only

Former Member
0 Likes
1,462

Well if there are no user credentials existing in the service, you can maintain login details in the service itself, and the user should only have roles for which you want users to access( change/display) forthe particular application.

Alternatively, If you want to assign different sort of authorisations like change access to a particular group( say the applictaion develor, or super users) and on other hand only the display access to some other group of users you may use the concept of internet users( which in turn refer to refernce users, that can be many).

you may refer to the link for more info:

http://help.sap.com/saphelp_nw70/helpdata/en/02/4b528c2a8d11d5991f00508b6b8b11/content.htm

http://help.sap.com/saphelp_nw04/helpdata/en/9d/ad58397e9d2d06e10000000a114084/content.htm

Hope this will help!!!

Regards,

Sarita