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: 

MIGO BADI - Transfer Posting

former_member367551
Participant
0 Kudos

Dear forumers,

I have a requirement as such:-

Upon a transfer posting in the transaction MIGO, some data fields will need to be updated in RESB and another custom table based on certain conditions. This transfer posting will be for issuing / transferring a part from one location to another.

As for the data logic, I should be able to work it out. But, I am not sure on how I can find the right BADI for this.

Would someone have any idea on this at all?

Please help. Many thanks in advance.

4 REPLIES 4

eduardo_hinojosa
Active Contributor
0 Kudos

Hi

If you use MIGO, you can use the BADI 'MB_MIGO_BADI'. You can use too the BADI 'MB_DOCUMENT_BADI', but in this case be careful (see Note 92550 - Stock inconsistency due to customer enhancement (exit, BAdI) ). This is for custom tables. For RESB data I don't know what you want to do.

I hope this helps you

Regards

Eduardo

0 Kudos

Hi Eduardo,

Thanks, I'm using the BADI, MB_MIGO_BADI - it's working fine when the user performs a transfer posting in transaction MIGO.

How may I also implement the same codes for a transfer posting in transaction MB1B?

Thanks again.

0 Kudos

Hi Deborah.

For MB1B you can use the other badi (ie: MB_DOCUMENT_BADI, with the cautions suggested by the note), ie: you update a custom table, avoid messages, COMMIT and so on. Update it with a encapsuled code in a function module (ie: IN UPDATE TASK).

Regards

Eduardo

0 Kudos

Thanks for this!