cancel
Showing results for 
Search instead for 
Did you mean: 

Validation on Cost center field in PO

prabhjotsingh_nayyar
Contributor
0 Kudos

Dear Guru's

I am trying to create a purchase order with account assignment K. The Requirement is that I do not want to see all the Cost center of all the plants. I only want to see the cost centers of the plant for which I am creating the Purchase order.

Can I put some check or validation for this, so that I can get only get the cost centers for my respective plant.

Regards

Prabhjot Singh

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Cost Centre is defined at Comp Code Level not at Plant Level..

You can use BADI ME_PROCESS_PO_CUST and incorporate your logic that it should throw error

if the Cost Centre is not belogs to the Comp code mentioned in the Header of PO

Former Member
0 Kudos

Following validations are used For cost center in PR PO and Reservation

Name BADI / Userexit Used In

1. ME_PROCESS_PO_CUST Badi PO

2. MB_RESERVATION_BADI BADI Reservation (MB21)

3. MEREQ001 User exit PR (ME51N)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

You can do one thing. Say there are 2 plnats A and B. For plant A cost center will start from 1 series and fr plant B series starts from 2. In this case you can add validation in such a way that if he selct wrong cost center you can add mess like select cost center starting frm 1 for Plant A. We did this in last project. If you want exit let me lkow i will provide

Regards

Mahesh M J

prabhjotsingh_nayyar
Contributor
0 Kudos

Please provide me the exit and I will check.

I think, this will help me solve my problem.

Former Member
0 Kudos

Hi

I dont think so you can filter the cost center based on Plant.

Thanks/Karthik