Application Development 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: 

Structural authorizations, Funtion module in OOSP

Former Member
0 Kudos
480

When we make use of a certain Custom Function module (returning the CP's) in OOSP, standard SAP suddenly also assignes the structural profile ALL to the user id.

The Function module itself is working wll, returning all required CP's.

The user is well assigned in T77UA having a specific structural profile containing the Function module.

Why is the user getting structural profile ALL.

This even happens if we delete user SAP* from table T77UA, also when we delete structural profile ALL from OOSP. So somewhere in standard SAP all access is granted to the user. Sounds like a BUG.

Additional ino: in other function modules it does not happen. It also does not happen when we hard code the CP's in the structural profiles.

1 REPLY 1

morten_nielsen
Active Contributor
0 Kudos
80

Hi

Have you checked if function module has the same interface as the RH_GET_ORG_ASSIGNMENT?

Please notice as well that the function module should return the starting point for finding the CP's - the CP's is retrieved using the evaluation path from the structural profile, starting from the object retrieved from the FM.

Is the structural profile All getting assigned to users in OOSB ? If that's the case you definately have a bug, probably in your own function module - but if that's the case i should be assigned as well when you test to FM.

Regards

Morten Nielsen