MIGO - EXIT

Dear Friends,
My requirement is like.
1) while Creating purchase order I will give the item text manually in Me21n.
2) Then I will release the purchase order in ME29n.
3) Then while doing goods receipt of the purchase order in
MIGO , the item text should ( which i gave in ME29n)
should not be diplayed.It has to be displayed from material
master.
There is 8 exits available for MIGO. I tried with the existing user exits.But I can't get it done.
Is there any other possibilities,let me know.
Helpful Answers will be rewarded.
Regards.
siva

Go to transaction SE19. Give a name for implementing this BADI for example ZMB_MIGO_ITEM_BADI  and press Create. Give the above BADI name when asked for. Go to the metod given and press double click on it. You will go to editor where you can write code to get text from materil master. The importing parameter IS_GOITEM will have MATNR field. Use this MATNR field to get material text. If there is any text for the material then assign that to  E_ITEM_TEXT.
Basically your code should like this(pseudo code)
SELECT TEXT FROM MATERIAL TEXT TABLE
WHERE MATNR = IS_GOITEM-MATNR.
IF SY-SUBRC = 0.
E_ITEM_TEXT = MATERIAL TEXT SELECTED ABOVE.
ENDIF.
Hope this helps!!
:-o)
Ramesh.
Edited by: Ramesh Kashigari on Jun 13, 2008 1:43 PM

Similar Messages

  • MIGO Exit  -- get the serial number

    Hello, everyone
    When push the Enter button or save button in MIGO,I'd like to get the serial number using exit.
    But I think that it is impossible to get the serial number in MIGO Exit.
    Because, they are not IMPORT Parameter which can get serial number.
    Anyone knows if we can get the serial number in MIGO Exit?
    Soma

    Hi,
    Even I have a similar requirement to get the value of serial number in runtime in MIGO tcode, I searched and dint find any FM or BAPI to fetch it. So I used the following code.
    *field-symbols declarations
        field-symbols: <it_goserial>       type STANDARD TABLE,
                       <wa_goserial>       type any,
                       <lv_searial_number> type any.
    *for retreiving the serial number
                ASSIGN ('(SAPLMIGO)OREF_DETAIL->T_GOSERIAL') TO <it_goserial>.
                if sy-subrc = 0.
    *Get the serial numbers entered
                  READ TABLE <it_goserial> INDEX 1 ASSIGNING <wa_goserial>.
                  if sy-subrc = 0.
    *serial number is the second component of the wa_goserial structure (cannot use the component name 'serialno' b/c the component is NOT defined in the Data Dictionary - it's defined in program LMIGOKE1)
                    ASSIGN COMPONENT 2 OF STRUCTURE <wa_goserial> TO <lv_searial_number>.
    endif.
    endif.
    <lv_searial_number> contains the derial number value at runtime.

  • MIGO exit/ BADI for number range

    Hi All,
    When I am doing MIGO, then I want that after posting, a particular document no should be genrated which is wrt particular PO Number range.
    For example, One PO No range is from, lets say, 1000 to 1999, then Doc no generated is, lets say 100 to 199,
    and if PO no range is 2000 to 2999 then Doc no generated should be from 200 to 299.
    So is there any BADI or user exit for the same or is there any other way of doing the same.
    Please guide me.
    Vinod.

    Hi Mylene,
    The actual rqmt is I want to generate MIGO doc number wrt PO Document type..
    As you are asking that there could be multiple GR's for one particular PO, so all these GR's will be having one particular number range, lets say from 1000000000 to 1999999999.
    I have got one enhancement ES_SAPMM07M, where its selecting number range from table NRIV.
    But the problem is I am not able to implemet this from se18 or se19.
    Now could u plz tell me the suggestions...
    Vinod.

  • Number range for MIGO/ MIGO Exit

    Hi Experts,
    We need to Assign the Number Range for MIGO Document based on *plant* number.
    Is there any user exit/badi exists to accomplish?
    Please advise
    Regards,
    Srinivasu Daroori
    Edited by: Srinivasu Daroori on Feb 26, 2009 5:57 AM

    Hi,
    MB_CF001  Customer Function Exit in the Case of Updating a Mat. D
    MBCF0002  Customer function exit: Segment text in material doc. i
    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_CREA
    MBCF0011  Read from RESB and RKPF for print list in  MB26

  • User exit/BADI for MIGO Batch numbers

    Hi All,
    I want to find a user exit which will give the oldest batch number (MCHA-LWDET) of semi-finished product during the goods receipts of the finished prodocut in MIGO.
    Could you please give me any hints to find out the user exit for this.
    Regards,
    Sekhar D

    Hi,
    Check these User exits... for MIGO
    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.
    Check thse BADI's.. for MIGO
    Badi Name          
    ARC_MM_EBAN_CHECK   
    ARC_MM_EBAN_WRITE   
    ARC_MM_EINA_WRITE   
    ARC_MM_INVBEL_WRITE 
    ARC_MM_MATBEL_CHECK 
    ARC_MM_MATBEL_WRITE 
    MB_CHECK_LINE_BADI  
    MB_CIN_MM07MFB7     
    MB_CIN_MM07MFB7_QTY 
    MB_DOCUMENT_BADI    
    MB_DOCUMENT_BADI_SAP
    MB_DOCUMENT_BADI_SAP
    MB_DOC_BADI_INTERNAL
    MB_DOC_BADI_INTERNAL
    MB_ME_CSGMT_BADI_SAP RTFASH:
    MB_MIGO_BADI        
    MB_MIGO_ITEM_BADI   
    MB_PHYSINV_INTERNAL  MB_PHYSINV_INTERNAL BAdI Implementation
    MB_RESERVATION_SCR   DFPS: Field in the Reservation
    MB_RESERVATION_UPCHD DFPS: Reservation
    Regards,
    Raghu
    Edited by: Raghavendra  Rao G on Aug 27, 2009 5:50 PM

  • USER-EXIT / ENHANCEMENT / BADI -- Material Valuation Class (MBEW-BKLAS)

    Hi,
    I m looking for any user-exit, enhancement or BADI  which is triggered while executing MIGO!!!! .
    For example, for good movement 101related to a purchase order.
    If  MIGO item (material) have batch management we have to inform the batch number (mandatory). When material document is posted system updates material master data with a new valuation type (MBEW-BWTAR) with the same name of the batch number.
    We need to inform the valuation class (MBEW-BKLAS) related to this valuation type (MBEW-BWTAR) but we don´t know where it´s possible.
    Thanks and sorry for my english!!

    Hi Orion,
    You can refer to the following user exits for MIGO:
    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.   
    Hope this will help you...

  • BADI or UserExit for MIGO Tcode

    Hi ,
        I want to capture purchase order number and movement type.I have check whether excise duty is posted or not. If it is posted means i should not allow the user to reverse the GR with Movement type '102' and it should throw a message.So kindly tell which user exit or badi will solve this problem.
    Regards,
    Ashok.

    Hi Ashok,
    Following are the User Exits available for MIGO:
    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.
    Seems MBCF0005 / MBCF0007 may of use. Please try.
    Hope this Helps.
    Manish

  • BADI/User exit for GR validations

    Hi Experts,
          I have one issue where i have performed GR for production order with (101) movement type,then delivery,and then created Transfer Order for that delivery, now I need to perform 102 movement type for reversal of GR,but
    My question is if a production order has a TO (Transfer order) then before doing 102 movment type it sholud through an error saying ex: "102 movement type not possible" error.
    please suggest a BADI or a User exit that can fulfill my need.
    I appreciate you response.
    Edited by: Mister SAP on Mar 9, 2010 6:52 AM

    Hi,
    The following exits are available in tcode MIGO,
    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.
    Hope any one of them might help you,
    Regards,
    Soundarya.

  • Event Creator task doesn't work well

    Hi everybody,
    I'm using the 46C R/3 system, and I want to develope a MIGO and MIRO's Cancel funcionality to the same WF.
    What do you think about ?
    I'm testing the following solution:
    1- I've created an Triggering event in the MIGO Sub-WF (That's called by MIGO EXIT on its Cancel's SAVE Momment) named ReexecuteCanceledMIGO passing an variable to say that this pass is to Reexecute MIGO.
    2- I've created a MIRO Sub-WF. Even it had been called...and this MIRO task can be in User's inbox on SBWP, Another user can Cancel MIGO and it will re-start a Goods receipt process that will start from the Triggering event on MIGO Sub-WF.
    3-When it occurs, I put a logic in the end of the MIGO Sub-WF: If the value of the control variable (passed though the Triggering event) is X, I put an Process control task, type 7 (Terminate WF, and his father can continue), that terminate this MIGO's Sub-WF.
    But this logic is wrong, because when the user Cancel the Goods receipt on MIGO, this MIGO's Sub-WF give error and its Event linkage is set to diactivated.
    Why is it happen ? Is it because the object is called by the same Key, even by another event ?
    Message was edited by: Glauco Kubrusly

    Philip Hodgetts wrote:
    "I think you should trash the database file too. On Lion in Finder hold down the Option key and choose Go > Library. Then navigate to Application Support / Assisted Editing and trash the file called Event Manager X.plist. Event Manager X will make a new database when it starts up."
    Erm . . .
    Nothing in there, Philip . . . the folder was empty.
    In case it's relevant, I found the installation confusing. The zip file went to my desktop and when I opened it, I dragged the app file to Applications and ran it - is this the correct proceedure?
    Andy

  • Cannot update batch header no matter how I try in MB_DOCUMENT_BADI

    I am trying to update next inspection date via MIGO when Goods Receipting a production order which is held in the batch header and in a classification we have set up.  I have used function modules to try and perform the update.
    I have used both 'VB_UPDATE_BATCH' and QEVA_BATCH_UPDATE both by themselves and in an update task to update field QNDAT. (1st one updating MCHA and MCH1 the second one to update MCHA).
    I had the code before in POST_DOCUMENT of BADI MB_MIGO_BADI and this made no difference either. Sometimes it updates if I cancel the material document and redo the goods receipt with the same production number but this is very inconsistent.  I need this to be done when I am posting the goods receipt.
    Does anyone have any ideas as I am at the end of my tether with this one?
    Many thanks
    Regards
    Larissa Maryniuk
    Edited by: Larissa Maryniuk on Feb 7, 2008 4:34 PM

    Have you tried using 'BAPI_BATCH_CHANGE'?   I have used this FM, but not in the MIGO exit.
    Update the batchattributes and the corresponding x parameter.   There is a field for updating the inspection date.  I wonder if it is failing to update for you because the batch is not yet created.  Are there any error/warning messages returned from your FM's?

  • Exit or Badi to prevent MIGO Goods Receipt on PO with Inbound Delivery

    Hi,
    I am hoping that someone can provide me with some direction on how to prevent the use of MIGO for GR when the PO being received is (or should be) linked to an inbound delivery.
    For purchase orders with a confirmation control key an inbound delivery is to be created and the goods receipt needs to be done from the inbound delivery. This scenario also includes the case of stock transport orders whereby an inbound delivery is created form the outbound delivery. On the other hand for purchase orders without a confirmation control key no inbound delivery is created and the MIGO transaction is to be used to post the goods receipt.
    Since both processes are possible, I would like to prevent people from posting the GR using MIGO if certain conditions pre-exist.
    Can anyone suggest a means to accomplish this goal? Is there an exit or badi in MIGO that you would suggest using?
    Thanks,
    Paul

    Hi,
    The following user eixts and badis available for migo transaction:
    Enhancement/ Business Add-in            Description                                                                               
    Enhancement                                                                               
    MB_CF001                               
    Customer Function Exit in the Case of Updating a Art. Doc.     
    MBCF0011                               
    Read from RESB and RKPF for print list in  MB26                
    MBCF0010                               
    Customer exit: Create reservation BAPI_RESERVATION_CREATE1     
    MBCF0009                              
    Filling the storage location field                             
    MBCF0007                              
    Customer function exit: Updating a reservation                 
    MBCF0006                              
    Customer function for WBS element                              
    MBCF0005                              
    Article document item for goods receipt/issue slip             
    MBCF0002                               
    Customer function exit: Segment text in article doc. item                                                                               
    Business Add-in                                                                               
    MB_RESERVATION_BADI                    
    MB21/MB22: Check and Complete Dialog Data                      
    MB_QUAN_CHECK_BADI                    
    BAdI: Item Data at Time of Quantity Check                      
    MB_PHYSINV_INTERNAL                    
    Connection: Core Inventory and Retail AddOn                    
    MB_MIGO_ITEM_BADI                      
    BAdI in MIGO for Changing Item Data                            
    MB_MIGO_BADI                           
    BAdI in MIGO for External Detail Subscreens                    
    MB_DOC_BADI_INTERNAL                 
      BAdIs when Creating an Article Document (SAP Internal)         
    MB_DOCUMENT_UPDATE                    
    BADI when updating article document: MSEG and MKPF             
    MB_DOCUMENT_BADI                       
    BAdIs when Creating an Article Document                        
    MB_CIN_MM07MFB7_QTY                    
    Proposal of quantity from Excise invoice in GR                 
    MB_CIN_MM07MFB7                        
    BAdI for India Version exit in include MM07MFB7                
    MB_CIN_LMBMBU04                        
    posting of gr                                                  
    MB_CHECK_LINE_BADI                     
    BAdI: Check Line Before Copying to the Blocking Tables         
    ARC_MM_MATBEL_WRITE                   
    Check Add-On-Specific Data for MM_MATBEL                       
    ARC_MM_MATBEL_CHECK                    
    Check Add-On-Specific Criteria for MM_MATBEL     
    If it is helpful rewards points
    Regards
    Pratap.M

  • MIGO user exit

    Hi
    I have been create a ztable.it will contain PO no, then I go to  MIGO Transaction While saving goods receipt PO, I want to check with Ztable.PO No(MIGO trs) is Available or Not? Such as (Po is not available means Display error Message in MIGO transaction) If any standard user exits are available?

    Check MBCF0006
    Regards,
    Amit
    Reward all helpful replies.

  • BADI, User Exit before FI document is posted during GR posting in MIGO

    Hi Gurus,
    In transaction MIGO, whenever a goods receipt is posted, a corresponding FI document is then created. I am in need of a BADI, User Exit, or other forms of enhancements that is triggered before this FI document gets posted because I have to edit data in the header (BKPF) and detail (BSEG) part, specifically the fields BKPF-XREF1_HD (Reference key 1) and (BSEG-ZUONR) (Assignment).
    The field XREF1_HD is to be populated with the vendor number from MIGO (GOHEAD-LIFNR)
    The field ZUONR is to be populated with the PO Number from MIGO (GOITEM-EBELN)
    Regards to all,
    Joseph

    Hi,
    I am on 4.6C.
    We are using EXIT_SAPLF048_001 of enhancement F180A001 for the same.
    Please note that control comes here for no of SAP transactions, hence you need to take care of it by executing your logic only for a particular SAP transaction.
    I hope this helps,
    Regards
    Raju Chitale

  • User Exit or BADI for MIGO on entry of inbound delivery number

    Hi all,
    I want a user exit or BADI for MIGO, my requirement is that whenever a user enters an inbound delivery number and presses enter in MIGO the exit should get fired.
    Please help, if someone knows.
    Thanks and Regards,
    Mohammed.

    hi
    you can try out various BADI'S-
    MB_MIGO_BADI
    MB_MIGO_ITEM_BADI
    Helpful function modules:-
    MIGO_BADI_EXAMPLE
    MIGO_BADI_EXAMPLE_GET_DATA
    MIGO_BADI_EXAMPLE_GET_HEADER
    MIGO_BADI_EXAMPLE_PUT_DATA
    MIGO_BADI_EXAMPLE_PUT_HEADER
    MIGO_BADI_EXAMPLE_UPATE_DATA
    MIGO_BADI_EXAMPLE_UPDATE_HEAD
    I hope at least one of these helps.
    regards
    Aakash

  • BADI/USER EXIT for MIGO while generating FI Documents.

    Hi Friends,
    In MIGO T.Code when posting the GR, we'll get the Material Documnent right, at the same time it will
    generate an Accounting Document in background and the same will update in  BKPF/BSEG Tables.
    Mine requirement is when ever the entries are updating into thr Finance tables, i need to manipulate the line items and the updated line items needs to be upadted to BSEG table.ERO.
    Is there any EXIT or BADI or Enhancement or any Enhancement Point while posting the entries to FI with transaction MIGO.
    Regards:
    Swamy Dikonda.

    Dear Saravaran,
    Thanks for the reply.
    This will not suits to us. The provided BADI will works upto Posting the material document in transaction MIGO and it will not considered for the FI level entries.
    Hope you could have understand mine requirement.
    The requirement of mine is:
    While doing the GR with ref to PO the material documnet will be posted and subsequently FI documnet  will be  generated in Background. While generating the FI document i need to manipulate the values for the G/L. So that the manipulated values will be flow into BKPF and BSEG tables.
    Thanks.
    Regards
    Swamy

Maybe you are looking for

  • Cannot start Report Builder

    Hi gurus, I'm currently working on eBs R12. As per subect, I cannot run report builder (Report Builder: Release 10.1.2.0.2). From a terminal window, I am used to run rwbld60 & command (after setting environment variable and export DISPLAY) but in thi

  • Urgent........How to add leading zeros to negative values.....

    Hi, I want to add leading zeros to negative values. <b>Present Value    :</b> -567 <b>Expected Value :</b> -0000000567 I know to adding leading zeros with the help of CONVERSION_EXIT FM. Thanks in advance. Regards, Kumar.

  • Need information on 'Repeat Delta' process

    Deleted failed request from InfoCube 0PY_C02 Checked Data Mart Status from ODS ZPY_O50 for failed load. When attempting to push the data from the ODS to InfoCube get error message:      Last delta update is not yet completed      Therefore, no new de

  • Slow file transfer speed on OS X / Windows LAN

    I have a Mac Mini with OS X Server (Yosemite) on a network of 5 Windows 7 PCs, the server hosts FileMaker Server 13 and also some files in a shared folder. I notice the file transfer speed when copying a file from one PC up to the server's shared fol

  • Upgrading Final Cut Pro 2

    How do I know if my copy of FCP2 is an academic version or otherwise not eligible for upgrading. I plan to buy a G5 and upgrade my software in several months and I'm trying to anticipate what I will need.