cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (3)

Answers (3)

ankurch
Active Contributor
0 Kudos

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,

former_member513101
Active Contributor
0 Kudos

Hi,

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

Thanks

vivek_srivastava12
Active Contributor
0 Kudos

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