Skip to Content

Validation on Cost center field in PO

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Sep 17, 2009 at 08:59 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      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)

  • author's profile photo Former Member
    Former Member
    Posted on Sep 17, 2009 at 08:03 AM

    Hi

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

    Thanks/Karthik

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 17, 2009 at 08:11 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.