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 user exit for GR - Before posting

Former Member
0 Kudos

Hi Guys,

I have requirement for MIGO user exit for GR - Before posting:

if mkpf -vgart = WE

and tcode2 = 'migo_gr' or 'mbst'

and mseg-zeile = '0001'

and mseg-bwart ='101' or mseg-bwart = '102' or mseg-bwart = '121'

and mseg-matnr ne blank

and BKPF-WAERS ne HWAER

and BKPF-GLVOR = RMWE

and BKPF-AWTYP = MKPF

Then i have to replace document type BLART in MKPF and BKPF from 'YE' to 'WE'.

Now i need to find out a suitable user exit/ badi/ enhancement point where i can have the MFPF,MSEG and BKPF data so that i can replace BLART with above condition. Can anybody pls help on that?

NOTE: I have search the forums for that and find lot many user exit & Badi. But no one is stopping during debugg and also activate the same and written some test code for update a z table - but seems they are not triggering at all..

Looking for your positive response. Thanks.

Edited by: biswajit ganguly on Dec 11, 2009 10:05 AM

Edited by: biswajit ganguly on Dec 11, 2009 10:06 AM

4 REPLIES 4

Former Member
0 Kudos

Hi,

If you are using ECC 6.0, then look for some spots and try changing the values in runtime.

If the changed values reflect in table, then find a spot there and write the code.

You can try an enhancement spot in include LMIGOKD1.

Thanks & Regards

Shiva

Former Member
0 Kudos

Hi ,

Debugger will not stop in any user exit , badi or enhancement point , untill you place breakpoint at right place.

I will advice you to first find the exact place where this change is required , and then search to the appriorate enhancement point down the line.

You will get many option for this change, implement which ever you find easy.

Former Member
0 Kudos

Hi Use BADI: MB_DOCUMENT_UPDATE

Thanks

Amresh

kesavadas_thekkillath
Active Contributor
0 Kudos

check EXIT_SAPMM07M_001

check badi MB_MIGO_BADI