‎2009 Sep 21 6:06 PM
HI.
An authorisation object has been created with activities 01,02,03 and 06.
Now in PFTC, the respective authorisation object has been asigned to 02,03 and 06 only by basis team.
When i run the program, the authority check giving sy-subrc eq 4, whats the problem?
Do the basis team must assign 01,02,03 and 06 to the authorisation field?
( In authority check i mentioned all the four activities ( in the program))
Regards,
suresh.
‎2009 Sep 21 6:11 PM
Hi
It means the users hasn't authorizations, so check if the profile is active for the user
Max
‎2009 Sep 21 6:22 PM
Hi,
The AUTHORITY-CHECK checks whether a user has the appropriate authorization to execute a particular activity.
When this happens, the system checks the authorization profiles in the useru2019s master record for the appropriate authorization object. If the authorization is found and it contains the correct values, the check is successful.
Hope this helps....
Thanks,
Santosh
‎2009 Sep 21 8:53 PM
Yes, they need to assign all activities if you want authorization for all of them.
‎2009 Sep 22 7:04 AM
Hi,
Check user authority
AUTHORITY-CHECK OBJECT 'M_RECH_EKG'
ID 'ACTVT' FIELD '02' "Display
ID 'EKGRP' FIELD 'ZZ'. "Purchasing group
IF SY-SUBRC = 0.
" User has correct authority
ENDIF.
‎2009 Sep 22 12:13 PM