Skip to Content
0
Former Member
Dec 11, 2009 at 03:03 PM

MIGO user exit for GR - Before posting

1758 Views

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