cancel
Showing results for 
Search instead for 
Did you mean: 

Blocking of a cost center in the creation of a Purchase Order

Former Member
0 Kudos

Hi All,

Some cost centesr are obsolete and mustn't be used in the creation of a Purchase Requisition (or Purchase Order).

Block

Could anyone suggest me how to do it?

Thanks a lot

G.

Accepted Solutions (1)

Accepted Solutions (1)

ajaycwa1981
Active Contributor
0 Kudos

Hi

For PR - use ME_PROCESS_REQ_CUST

For PO - The badi is already given above

Ask your ABAPer to code the same

br, Ajay M

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi, you can build own logic for validation via badi ME_PROCESS_PO_CUST

Former Member
0 Kudos

Hi Rossi,

If the cost centers are obselete, please go and lock the postings in the control tab of the cost center (KS02). By default system will issue a warning message if u use this in a purchase order. Now u can change this to a error message in message controls. This way u can disallow the usage of this cost centers in purchase order.

Best Regards

Vimal

Former Member
0 Kudos

Hi Rossi,

What is the Idea behind using the Cost Center in PR or PO, elaborate your requirement so that will help me to answer for you to achieve it.

rgd

YJ

Former Member
0 Kudos

I mean to fill it in the accounting tab!

G.

Former Member
0 Kudos

Hi Rossi,

You can achieve this by using validation with the combination of Cost centers and PO doc type.

Hope this help in resolve your issue.

rgd

YJ

Former Member
0 Kudos

Hi,

a PO doesn't create a co document, so a validation rule is not useful.

G.

ajaycwa1981
Active Contributor
0 Kudos

Hi

Thats wrong conclusion... Use the BADI I mentioned above.. It will work.. I have myself used it in the past and it worked

Code the badi such that it gives an error msg when Cost center = X

br, Ajay M

Former Member
0 Kudos

Thanks a lot,

but my last post wasn't for U.

G.

Former Member
0 Kudos

Hi Rossi ,

Please go to the Cost Center Master Data -> Control tab -> Block all the indicators..

You will not be able to use these Cost Centers in Future..

Regards

Sarada

Former Member
0 Kudos

Hi,

you can ceck, this is not enough. Creating a purchase order SAP allow you to use it yet.

G.