2011 Feb 15 4:36 AM
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.
2011 Feb 15 10:14 AM
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
2011 Feb 22 11:35 AM
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.
2011 Feb 22 12:38 PM
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
2011 Mar 01 6:25 AM