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: