cancel
Showing results for 
Search instead for 
Did you mean: 

BADI for PO

Former Member
0 Kudos

Hi all,

If someone has already used the BADI for PO to put any kind of validation based on any field in PO like Purchase group and document type combination then kindly specify the BADI name

Please only provide the BADI name if you have used in ME21n,ME22n,me23n,me29n.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

hi

check out this BADI

ME_PROCESS_PO_CUST

Former Member
0 Kudos

using this badi can i get a error message in PO if system fails in validaton

So system should not allow the PO to be posted.

eduardo_hinojosa
Active Contributor
0 Kudos

Hi

Yes, do with the method CHECK, remembering write


INCLUDE mm_messages_mac.

You can use the macro mmpur_message to populate the messages in the log. If there is any message type error, you cannot save the document. This badi/method is triggered with you save or check the document.

I hope this helps you

Regards

Eduardo