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: 

SAP Authorization values in user profile for Org Levels

0 Kudos

Hi Everybody

I know this area has been beaten to death but I did not find any appropriate answer to the unique issue we have.

We maintain explicit values for company code in Org. Levels

For example in user profile when we click on Org. Levels for Company code the From value is maintained as '0001' and To value is left blank.

Now when we run certain FIORI tiles we notice that data corresponding to 0001 company code is only getting picked up and the rest are not present.

But there is some data which has blank company code(this is corrupt data but that is another issue) which also gets picked up.

It is my understanding that since only 0001 is accepted value, the resulting dataset should only have rows corresponding to this company code. However since blank company code values are also getting picked up, should we maintain 0001 in the TO field also?

Regards

MC

5 REPLIES 5

jurjen_heeck
Active Contributor
0 Kudos

Hi MC,

I'd call this a bug. For the blanks to be picked up I'd expect a requirement for ' ' (DUMMY) to be present in the roles. The 'TO' field does not (or should not) play a role in this. As you state this data is corrupt so solving the corruption would be my primary goal here.

Jurjen

0 Kudos

I think my question is when we give explicit values to authorization objects say company code etc... shd we fill from and to otherwise do we have risk of blank getting picked up as a valid value since to is blank.

0 Kudos

No, it does not work that way.

0 Kudos

Hi Meera,

As Jurgen has mentioned, I would concentrate on advising the functional team to fix the master data (If possible). You should not have to complete the 'to' field for single values, although I have never come across the problem of blank master data which you have outlined.

Is this happening in more than one app? Which app(s)? I would recommend having a look in STAUTHTRACE to see what is being checked (is a CDS view being used?), but ultimately if it's a SAP standard app you probably want to raise it with SAP ( or speak with a friendly developer and get them to debug the code to identify the root cause 🙂 ).

Good luck,

David

0 Kudos

Hi David

This is happening in a standard SAP app and a custom fiori app as well. It is happening for both standard auth object profit center and custom auth object. We are using the CDS/DCL to populate data for the custom app. SAP app is based on transaction.

I think this should be raised as a SAP bug.

Thanks

Meera