Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

MB_MIGO_BADI - Error Message if EKPO-BSTAE = '0004'


I am trying to give a error message in the MIGO document using BADI MB_MIGO_BADI. The requirement is if the field in a PO line item (EKPO-BSTAE) has the value '0004', then I just want to send a error message and stop the process of posting.

I found the method IF_EX_MB_MIGO_BADI~CHECK_ITEM, but the field BSTAE is not included in the LS_GOTIEM

How to do this with the BADI MB_MIGO_BADI ?

Thank you very much.


Message was edited by:

Ferdinand Grah

Former Member

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question