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: 

User exit after MIGO saving

Former Member
0 Kudos

Hi community,

I've need of user exit for MIGO transaction.

This is active on saving of Good Movement.

I would want on-line data:

Good Movement Number(After commit on DB)

Thank's everybody.

Antonello

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Check EXIT_SAPLMBMB_001 exit but try to use BADI if possible.

Hope this helps..

5 REPLIES 5

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

I'm not sure if material document is available in this user exit or not, Check MSEG inside the user exit.

Use....

Enhancement IQSM0007

Function EXIT_SAPLIE01_007

MSEG will be passed to you with the material document number in it.

Regards,

RIch Heilman

0 Kudos

No, it doesn't have the material document number in the S7_TAB_MSEG structure.

Regards,

RIch Heilman

0 Kudos

If you're using the release 4.7 see the BADI MB_DOCUMENT_BADI

Max

Former Member
0 Kudos

Check EXIT_SAPLMBMB_001 exit but try to use BADI if possible.

Hope this helps..

0 Kudos

See the FM MB_DOCUMENT_POST . All the goods movement transactions including MIGO hit this FM to update MKPF / MSEG. If you are on 46C or above you can see that BADI method MB_DOCUMENT_BADI->MB_DOCUMENT_UPDATE is called before user exit EXIT_SAPLMBMB_001 . Both of these are called after MKPF/ MSEG update . Now you can decide which one to use . Both of them have same interface and data available. The SMOD enhancement for user exit is MB_CF001.

Cheers.

Sanjay