12-23-2007 12:15 PM
Hi All,
I have a requirement to create an enhancement that will post a corrective FI posting on the back of a MIGO or MIRO transaction.
Some details of what is to be posted will come from the material document, and some other from the FI documents.
I have been trying to find an exit/BADI which I can use for this, but has not found anything suitable yet. When I am using BADI/exit from MIGO/MIRO I cannot obtain the FI data, since the FI document has not been posted yet (No COMMIT WORK yet).
Does anyone have any lead on how I can overcome this? I am thinking of an exit which is triggered after saving the whole document, is there any such exits which I can use?
Many thanks, point is sure to be rewarded.
01-27-2008 6:32 AM
hii,
did u get solution for this?i have got a similar requirement like this...if u cud help me..it ll be gr8
01-31-2008 4:33 AM
Hey Hi,
See the Function Group XMBC. ( It is part of Enhancement MB_CF001 ..in case u got no SMOD access . u may have to go to directly FGroup and see it.. ).
Before Save :
EXIT_SAPLMBMB_001
( Fired for Check Function also ).After Save :
EXIT_SAPMM07M_001
( Fired only On Save )I guess u know that there is a program to search user exit....when i give MIGO it gives the following results.Hope u have the program ... if u can't find post it here, i'll reply...but i guess its freely available...
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.
08-01-2008 6:38 AM
hi,
use mb_migo_badi
badi ...it will work ......for commit work do one thing....write th logic which you want and use submit program ...in that use commit work....and return back ...idid like that it worked.....use this mrhtod POST_DOCUMENT