05-20-2011 5:35 AM
Dear All,
i have this issue
Stock transfer From Material code: 736
Same storage location and Same Plant to material code: 9010 same storage location and same plant and same Quantity and same UOM and Addition UOM.
Example:
Material: 736
SLoc: CT16
Plant: 1100
Quantity: 100 KG ( KG only Base UOM)
Additional :
Transfer the material.
Material: 9010
Sloc: CT16
Plant: 1100
Quantity: 100 KG (KG only Base UOM)
Additional:
need to find the BADI. i have googled and checked with few badi's MB_MIGO_BADI;and MB_DOCUMENT_UPDATE.
but couldn't solve the issue.
Need to find the BADI and its corresponding method.
regards,
05-20-2011 10:48 AM
Hi Naren,
I will tell you four methods to find a BADI,
Method 1. If you think that it is a simple requirement then got SE18 and click on F4 and Iformation Systems. In the short description enter the short text and search.
Method2. Another simple method is to search with Package.
Method3. Put a break point in the FM SXV_GET_CLIF_BY_NAME and then run your transaction
Method4. Put a break point in the class CL_EXITHANDLER for METHOD get_instance. and then run your transaction.
Hope this material helps.
ThnX,
Bhargav.
05-20-2011 1:39 PM
Hi Naren,
MB_MIGO_BADI badi will be suitable.
check POST_DOCUMENT method or Check item.
This may be helpful.
05-23-2011 7:32 AM
Hi Naren
Please Elobrate the conditions wat eactly u want to persue .
In my view u :
U want to do the TP through MIGO.
Kindly check the scenerio with MM guy i dont think so that this is possible to transfer the differeent material throughTransfer posting .
Regards
Swapnil Kamble
05-25-2011 7:59 AM
Hi Naren,
If you want to validate data then you can use MB_MIGO_BADI and method PUBLISH_MATERIAL_ITEM where you get all the line item details and issue any error message if you want.
if it is transfer posting you can set a flag in method MODE_SET and use the same in method PUBLISH_MATERIAL_ITEM for issueing any message while comapring your data.
Regards,
Deepak.
12-12-2011 10:46 PM
07-25-2019 8:59 AM