‎2016 Mar 22 9:52 AM
Hello Pals,
I am displaying a CS report by filtering order type as 'ZR03' and 'ZE03' in AUFK table selection.
But now I have a requirement to have authorization like,
Specific users shall use specific order types alone.
So I need to display output based on users.
As per my understanding, I should create an authorization object and have field as order type (AUART).
Value for that (either 'ZR03' or 'ZE03' ) will be maintained by basis consultant for each users.
And in my code, I should have authority check for this field and value, and based on sy-subrc value, I shall modify select statement from aufk.
Is this right? if not, please suggest me a solution.
Thanks,
Sriram
‎2016 Mar 22 10:03 AM
Hi,
Yes the approach is correct . Use statement AUTHORIZATION-CHECK <auth object> and cehck for the values which are assigned in the condition for that object.