Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Transfer posting in MIGO- need BADI

narendar_naidu
Active Participant
0 Kudos

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,

6 REPLIES 6

Venkat_Sesha
Advisor
Advisor
0 Kudos

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.

former_member361845
Participant
0 Kudos

Hi Naren,

MB_MIGO_BADI badi will be suitable.

check POST_DOCUMENT method or Check item.

This may be helpful.

Former Member
0 Kudos

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

Former Member
0 Kudos

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.

narendar_naidu
Active Participant
0 Kudos

issue resolved

0 Kudos

Hello Naren,

Please kindly share your solution,

Thanks