cancel
Showing results for 
Search instead for 
Did you mean: 

How to allow only one cost center in purchase requisition ?

Former Member
0 Kudos

Hello,

Could you please explain me how to allow only one cost center in purchase requisition ? And if the purchase requisition contains several cost centers I want to display an error message when the user clicks on the save button.

Thank you,

Regards,

Tom.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

This can not be standard feature, you can use BADi ME_REQ_POSTED to restrict user at PR level for specific cost centre.

Regards

Ajay

JL23
Active Contributor
0 Kudos

thanks for stepping in, of course my proposed PO BADI cannot be used in PRs.

Answers (4)

Answers (4)

Former Member
0 Kudos

ME_REQ_POSTED is for old transaction. Use ME_PROCESS_REQ_CUST.

Former Member
0 Kudos

Hi,


Thanks for your information.


ME_REQ_POSTED is for which old tcode?

ME_PROCESS_REQ_CUST is for which tcode?

Please elaborate.


Regards

Ajay Goel

Former Member
0 Kudos

Hi,

Old t-code means ME51

New one means ME51N

Thanks.

Former Member
0 Kudos

Ok..thanks but i think ME_REQ_POSTED can work for me51n also.

Regards

Ajay

Former Member
0 Kudos

Yes but It doesn't have too much option like ME_PROCESS_REQ_CUST.

jagdeepsingh83
Active Contributor
0 Kudos

I would recommend ME_PROCESS_REQ_CUST it work with ME51N and ME52N

Former Member
0 Kudos

Thank you for your answer.

I am not familiar with BADi "ME_REQ_POSTED". Do you know how I can proceed in order to restrict PR to one cost center ?



Thank you,


Regards,

Tom.

JL23
Active Contributor
0 Kudos

Pass the requirement in a functional spec to your ABAP person.

Former Member
0 Kudos

Thank you for your answer.

jagdeepsingh83
Active Contributor
0 Kudos

Another BADI -ME_PROCESS_REQ_CUST... You can use interface Item processing to stop the users while creating not at time of post...as soon user put wrong Cost center...he will get error using the method item_processing

Former Member
0 Kudos

Thank you for your answer.

JL23
Active Contributor
0 Kudos

There is no standard customizing to restrict a PR to just one cost center.

This would even be contra-productive in most companies.

Because of that you would have to use BADI ME_PROCESS_PO_CUST to create your own logic .