12-11-2009 3:03 PM
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
12-11-2009 4:08 PM
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
12-11-2009 4:26 PM
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.
12-11-2009 5:07 PM
12-11-2009 5:37 PM