Application Development and Automation 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: 
Read only

User exit after MIGO saving

Former Member
0 Likes
2,171

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
Read only

Former Member
0 Likes
1,238

Check EXIT_SAPLMBMB_001 exit but try to use BADI if possible.

Hope this helps..

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

5 REPLIES 5
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
1,238

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

Read only

0 Likes
1,238

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

Regards,

RIch Heilman

Read only

0 Likes
1,238

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

Max

Read only

Former Member
0 Likes
1,239

Check EXIT_SAPLMBMB_001 exit but try to use BADI if possible.

Hope this helps..

Read only

0 Likes
1,238

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