User-exit /BADI to change mseg during migo
I need to change the amount in local currency in MIGO.
All the exit's and BADI's I tried use that field only as importing, so it's not posible to change it.
Please, could anybody that had this problem before tell me the way you had solved it?
Thanks in advance.
u can try this simple code.
1. u can access any table or variable from the main program in exits
2. u just have to find the point u need to apply this code.
FIELD-SYMBOLS: <komv>. ASSIGN ('(SAPLMEPO)TKOMV') TO <komv>.
this is just an example... try to do this...it should help u a lot, if not now but in future...
ASSIGN ('(SAPLMEPO)TKOMV') TO <komv>.
SAPLMEPO is the main program and TKOMV' is the table...