on 09-26-2008 9:17 AM
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.
Hi,
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...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you very much.
I could solve the problem with the last post proposal. The difficult thing was to find the point and the tables to apply it. For those who are interested, I had to change the ammount not only in the MSEG but in the account document (in the ACCCR table in the AC_DOCUMENT_CREATE function).
Thanks again.
Hi Pedro,
How did u solve this problem?
Can u explain in more detailed way
I could not understand Sukriti Saha 's post
Plz explain this process cleary.
Plz send ur reply to narendra.maddipati AT tatatel.co.in
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...
Thanks
Narendra
Hi,
Check this
BADI ---> MB_DOCUMENT_UPDATE
Method ---->MB_DOCUMENT_UPDATE
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The MB_DOCUMENT_UPDATE isn't an option because the MSEG appear as an import parameter (XMSEG) and i can't modify this.
I tryed use BADI MB_MIGO_BADI with the LINE_MODIFY method, but DMBTR field isn't available for update. The fields availables for update process, can be customize, but DMBTR field isn't avaible for customizing for the movemente type 101 . I'm searching for a solution for this.
Thaks.
hi
try from these
MBCF0002 Customer function exit: Segment text in material
doc. item
MBCF0005 Material document item for goods receipt/issue slip
MBCF0006 Customer function for WBS element
MBCF0007 Customer function exit: Updating a reservation
MBCF0009 Filling the storage location field
MBCF0010 Customer exit: Create reservation BAPI_RESERVATION_CREATE1
MBCF0011 Read from RESB and RKPF for print list in MB26
MB_CF001 Customer Function Exit in the Case of Updating a Mat. Doc.
Look at last one MB_CF001 it has MSEG under TABLES parameters
Regards
Sachin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
Search in SCN.
This is allready discussed many times before.
Regards,
Anirban
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
96 | |
10 | |
9 | |
6 | |
3 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.