Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhancement after save for MIGO and MIRO

Former Member
0 Kudos

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.

3 REPLIES 3

Former Member
0 Kudos

hii,

did u get solution for this?i have got a similar requirement like this...if u cud help me..it ll be gr8

krishnannarayanan_nampoot
Active Participant
0 Kudos

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.

former_member262988
Active Contributor
0 Kudos

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