cancel
Showing results for 
Search instead for 
Did you mean: 

Cost center locked but SAP allows for PO creation

Former Member
0 Kudos

Dear All,

We have a requirement such that whenever a cost center is locked, system should not allow users to create PRs / POs for locked cost center. I tried it through authorization control, but in MM there is no object for cost center.

Could experts tell me the way in which this control can be acheived.

Accepted Solutions (0)

Answers (2)

Answers (2)

sarthak_mohantysd
Active Contributor
0 Kudos

Hello

We have a requirement such that whenever a cost center is locked, system should not allow 
users to create PRs / POs for locked cost center. I tried it through authorization control, but in MM there is no object for cost center. Could experts tell me the way in which this control can be acheived.

Please try out with some enhancement and let us know if your requirement can be met or not.

I think the appropriate Exit would be MM06E005\MM06E007. Please reach out to a ABAPer

and put a simple logic in the code which would prevent the creation of PO when the COST CENTER are locked.

If the above suggestion is not working then you can put up the logic when the PO are on the

verged of being released after creation. In this way the PO belonging to locked Cost Center will not be released at all.

  1. MMFAB001 (User exit for generation of releases)

[MM Enhancements|http://sap.niraj.tripod.com/id63.html]

Regards,

Sarthak

adam_kavanagh
Active Participant
0 Kudos

Hi there,

In standard you should receive warning message KI 170 which indicates

that the cost center is locked. You can customize this message as error

message in transaction OBA5 in Customizing:

-> Controlling

-> General Controlling

-> Change Message Control (OBA5)

Hope this helps,

Adam.