05-02-2014 9:46 AM
hi,
How to Restrict the user for PR creation cost centerwise through role.
I have Add the object K_CSKS and K_CCA, in my role but system can not restrict .
pls suggest me some other way only through role.
Regards,
sanjay singh
05-02-2014 9:52 AM
This is not possible based on std authorization object, you need to have a customized authorization object which needs to verfiy the roles based on cost center wise.
05-02-2014 10:13 AM
05-02-2014 10:31 AM
we need to restrict the user only cost centerwise.
As suggested by you,our requirement is not fullfill.
05-02-2014 10:37 AM
05-02-2014 11:02 AM
05-02-2014 11:35 AM
HI,
you can create custom authorization object from SU21 and insert desired details like ACTVT(activity) and object field. and also you have to assign that object in the program.
Regards,
mukesh
05-15-2014 9:18 AM
Hi Arminder,
Mere adding authorization objects to roles will not help system understand what to restrict. Ultimately it is a program logic which system understands. So the logic should be available to achieve the function.
For your requirement you can do following as PR creation is not possible to restrict on cost center through standard code.
BR,
Mangesh
05-16-2014 11:02 AM
NO!
Do not create a copy of the standard SAP transaction! Reasons:
In your case, first look, if there's a BADI, because you would need to check on the authorization at the point where the user enters a cost-center in the PO or PR. Since this is dialogue, a BADI sounds like just the thing.
If that can't be done, try for an user-exit.
If that also can't be done, modify the SAP standard. This is the best way, believe me, since every upgrade will throw up your modification in SPAU/SPAM, so it will never go unnoticed or get "forgotten" and your adjustment will be obligatory.
As for Mehmet's hardcopy. Authority check for G/L accounts could only work in your case, if you bind the cost-centre to a G/L account. This can easily be done but you would have to clarify that with your FI people first. If they agree to make the accounts cost-centre relevant, this might be a good approach. Test it out!
05-17-2014 7:34 AM