BADI for Material Document header change( MIGO)
source link: https://answers.sap.com/questions/13705242/badi-for-material-document-header-change-migo.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
BADI for Material Document header change( MIGO)
Hi All,
I have a requirement where I have to change Posting Date of Material Document to past date based on some custom configurations & I am looking for a BADI to do that.
Currently the document gets created automatically by Tcode "/DSD/SV_LC_COUNT" & the BADI "MB_MIGO_BADI" is not getting called for these cases for some reason.
Please help me find a suitable BADI for header change or to understand why BADI "MB_MIGO_BADI" is not getting called & how can I fix it.
The Document Type of the material doc. is WA - Goods Issue and the movement types are 344 & 343
Thanks & Regards,
Ganesh
The Document Type is WA - Goods Issue and the movement types are 344 & 343
Also, break point at above method does not get hit.
Please find below screenshot of MB51
Hi, These documents are created using MIGO_TR. (Transfer posting)
Try put break point in the followng badi
MB_DOCUMENT_BADI_SAP
Methods : MB_DOCUMENT_BEFORE_UPDATE, MB_DOCUMENT_UPDATE
Break point does get a hit for MB_DOCUMENT_BADI_SAP, but all the parameters are Importing type.
There is no changing type parameter in this BADI. How to change Posting Date here?
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK