Skip to Content
avatar image
Former Member

Is there any way to block some G/L Account at the moment of purchase order creation?

Hi,

We are having problems with posting in cost elements wrongly. This postings come from purchase order. I would like add a validation at the moment of account assignment in PO. Is it just possible through a validation rule or there is any other way?

Does anyone have any ideia?

Thanks in advance!

Vander

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Nov 23, 2017 at 03:19 AM

    Hi,

    You can try BAdi ME_PROCESS_PO_CUST, Method PROCESS_ACCOUNT to validate the account assignment

    Thanks

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 23, 2017 at 06:13 AM

    Hi Vander,

    If you go with the validation rule that will only work while the accounting document generated e.g. MIGO & MIRO, not in the Purchase order.

    You should go with the BADI ME_PROCESS_PO_CUST, take help your abaper to write the logic.

    Thanks,

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 22, 2017 at 10:24 PM

    Hello Vander,

    I am not sure if you can do this at time of creating purchase order, but can definitely write a validation rule in OB28 which will be triggered based on pre-requisite at the time of MIGO or MIRO.

    Hope this helps!

    Br,Vivek

    Add comment
    10|10000 characters needed characters exceeded