‎2013 Jun 13 5:07 PM
Hi,
I am trying to post errors while creating a goods receipt from MIGO T-Code.The errors should state inconsistency between line items of the multiple PO numbers.For this I am using a BADI Mb_check_line_badi.I am able to produce the errors for as single line item but cannot find a way to loop the rest line items for the MSEG table,as IS_MSEG is a structure and the BADI is called once per item.
So is there any other alternative?
Please suggest.
‎2013 Jun 14 4:12 AM
‎2013 Jun 14 5:30 AM
Hi Sarita,
Loop all the line items of the PO and collect the messages to the internal table based up on the status key field. i.e RBSTAT.
Let me know if any clarification/help required.
Thanks & Best Regards.
Pavan Neerukonda.
‎2013 Jun 14 5:56 AM
Hi Sarita,
Use BADI :MB_MIGO_BADI
Method : Post_document
you have mseg table over there.