Application Development and Automation 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: 
Read only

User Exit for the Tcode MIGO

Former Member
0 Likes
2,396

Hi folks,

Once the user enter data in MIGO and click SAVE button, it need to go to a cusotom Module Pool screen. User need to enter some data there, Save it and go back to the main MIGO screen where the message 'GR XXX is posted successfully' is displayed. I am using the EXIT 'EXIT_SAPMM07M_001' and i am able to call the Custom screen when user save data in MIGO. but the problem is, while moving from the MIGO screen to Custom screen the corresponding GR no is to be taken and displayed by default in my custom screen, but by the time custom screen is displayed, system not yet generate the GR no.So i am unable to display the corresponding GR in my custom screen. Is there any way to get the GR no while the custom screen is called or will there be any suitable EXIT or BADI which can accomplish my task. please Suggest me...

Thanks,

Shyam.

Hi folks,

Once the user enter data in MIGO and click SAVE button, it need to go to a cusotom Module Pool screen. User need to enter some data there, Save it and go back to the main MIGO screen where the message 'GR XXX is posted successfully' is displayed. I am using the EXIT 'EXIT_SAPMM07M_001' and i am able to call the Custom screen when user save data in MIGO. but the problem is, while moving from the MIGO screen to Custom screen the corresponding GR no is to be taken and displayed by default in my custom screen, but by the time custom screen is displayed, system not yet generate the GR no.So i am unable to display the corresponding GR in my custom screen. Is there any way to get the GR no while the custom screen is called or will there be any suitable EXIT or BADI which can accomplish my task. please Suggest me...

Thanks,

Shyam.

7 REPLIES 7
Read only

Former Member
0 Likes
1,497

Hi

if u r in ECC6,,,U can use implicit enhancement in the std MIGO program. there u can also call ur custom module pool.

Read only

Former Member
0 Likes
1,497

hi,

check this similar thread .

It has list of BADI and User exit

thanks

Read only

Former Member
0 Likes
1,497

Just go through these user exits. Hope will be helpful for you.

Exit Name           Description                                                                                
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.

Read only

0 Likes
1,497

Hi Nitesh,

Thanks for your answer. I have checked all the exits told by you already. No exit suits my requirement except MB_CF001. But when this exit is called GR DOC no is not yet generated, so i want an exit or BADI where GR NO is generated by the time it is called..

Thanks.

Read only

0 Likes
1,497

Hi,

Use the Badi MB_DOCUMENT_BADI and the methods available are

MB_DOCUMENT_BEFORE_UPDATE

MB_DOCUMENT_UPDATE

Regards,

Nagaraj

Read only

Former Member
0 Likes
1,497

Try Badi BADI_DIAD_GOODMVT_1

Hope it helps,

Rajat

Read only

Former Member
0 Likes
1,497

hi,

you can check .......

list of badi

MB_DOCUMENT_UPDATE BADI when updating material document: MSEG and MKPF

MB_DOC_BADI_INTERNAL BAdIs During Creation of a Material Document (SAP Internal)

MB_ME_CSGMT_BADI_SAP BAdI: Consignment Processing - Stock Transfer

MB_MIGO_ITEM_BADI BAdI in MIGO for Changing Item Data

MB_PHYSINV_INTERNAL Connection: Core Inventory and Retail AddOn

MB_QUAN_CHECK_BADI BAdI: Item Data at Time of Quantity Check

MB_RESERVATION_BADI MB21/MB22: Check and Complete Dialog Data

MB_RESERVATION_SCR Screen BAdI for Retrofit DFPS

MB_RESERVATION_UPCHD BAdI for Creation and Changing of Manual Reservations

MB_RES_BAPI_CHANGE BAdI: Execution of Changes to Reservation Fields

MB_RES_BAPI_CREATE1 BAdI: Adoption of Customer's Own Fields as Reserv. Fields

MB_RES_BAPI_DETAIL1 BAdI: Display of Customer's Own Fields in Reservations

MB_STOR_LOC_BADI_GTS BADI to Check and Change Storage Location (GTS Fct. Only)

MB_MIGO_BADI BAdI in MIGO for External Detail Subscreens

MB_DOCUMENT_BADI_SAP BADI for Creation and Changing of a Material Document

ARC_MM_EBAN_CHECK BAdI: Enhancement of Archivability Check (MM_EBAN)

ARC_MM_EBAN_PRECHECK BAdI: Enhancement of Archivability Check (MM_EBAN)

ARC_MM_EBAN_WRITE BAdI: Enhancement of Scope of Archiving (MM_EBAN)

ARC_MM_EINA_CHECK BAdI: Enhancement of Archivability Check (MM_EINA)

ARC_MM_EINA_WRITE BAdI: Enhancement of Scope of Archiving (MM_EINA)

ARC_MM_INVBEL_CHECK BAdI: Enhancement of Archivability Check (MM_INVBEL)

ARC_MM_INVBEL_WRITE BAdI: Enhancement of Scope of Archiving (MM_INVBEL)

ARC_MM_MATBEL_CHECK Prüfung ADD-ON-spezifischer Kriterien für MM_MATBEL

ARC_MM_MATBEL_WRITE Check Add-On-Specific Data for MM_MATBEL

MB_CHECK_LINE_BADI BAdI: Check Line Before Copying to the Blocking Tables

MB_CIN_LMBMBU04 posting of gr

MB_CIN_MM07MFB7 BAdI for India Version exit in include MM07MFB7

MB_CIN_MM07MFB7_QTY Proposal of quantity from Excise invoice in GR

MB_DOCUMENT_BADI BAdIs During Creation of a Material Document