Userexit in migo

hi,
  I had a requirement in migo t-code to work with userexits.From SMOD i  got the userexit for migo........then in CMOD in project what i need to input?
Where we need to write the code for a userexit?
Can anyone help me out...?Your help would be appreciated

Hi,
firist find the exit name & copy the exit if u found in MIGO t-code.
GOTO CMOD creat u r own project like ZZ_MIGO
goto 'enhancement assignment ' clik on that button & save u r project.
than u will get the screen in that give the exit name press enter
then it will shows the function module name like "exit_fm_001" than double on that function module it will take to the in side the FM in that u will find the one include program than place the cursor then press enter it will ask u to create new include program if u say yes automatically it will take to SE 38.
write u code as per u r requriments.
than actived that project.The modification will effected to particular t-code..
reward is usefull.
thanks..

Similar Messages

  • BADI/UserExit for MIGO in Stock Transfer

    Hi Gurus,
    I have a requirement.
    When posting a GR in MIGO, if the material has been flagged to go through inspection, MIGO post the batch to quality inspection.
    Now, when a batch has already gone through inspection (for example in another plant) and its released (passed) and its been transferred to another plant, if we are receiving this batch doing a post GR in MIGO, it automatically post it to quality inspection again.
    Is there a BADI, UserExit or way to skip this inspection and post the batch to unrestricted stock since its already gone through inspection in the previous plant and has a Decision Code A0 (accepted etc).
    We don't want to change the material master for this because we still want the material/batch to go through quality inspection if its hasn't already been.
    Thanks..
    Baz
    Edited by: Basil Balogun on Sep 23, 2010 1:49 AM

    Hi,
    Try the possibilities of MB_MIGO_BADI. I think in method LINE_MODIFY, POST_DOCUMENT and perhaps PAI_DETAIL.
    I hope this helps you
    Regards,
    Eduardo

  • Userexit for MIGO or COR6N  to update inspection lot ?

    Sub : I am looking for User exit or Badi for MIGO tcode.
    Who have good idea on this, please help me .
    I have to update the inspection plan ( in qa33, select one of the record --> "inspection lot" button on application tool -->  Insp. Specifications --> Usage field to be updated )
    Do I have any userexit which can do update this "Usage" field .
    Through "COR6N" tcode, I am trying for the user exit.
    Could you please help me.

    Hi Check below exits/BADIs
    Exit
    MGA00001                                Material Master (Industry): Checks and Enhancements
    MGA00002                                Material Master (Industry): Number Assignment
    MGA00003                                Material Master (Industry and Retail): Number Display
    Business Add-in
    WRF_DISCONT_PARAMS_I                    BAdI: Parameters in Fashion Discontinuation
    WRF_DISCONT_FACT_E                      BAdI: Follow-Up Actions in Discontinuation
    WRF_DISCONT_CHECKS_I                    BAdI: Scope of Check in Material Reorganization
    MG_MASS_NEWSEG                          User-Specific Fields & Segments in Mass Maintenance
    MATGRP_SKU_UPD                          BAdI for Article Hierarchy Connection
    CDT_CHECK_MATERIAL                      Checks for Existence of a Material in a CDT
    BADI_MM_MATNR                           Modification-Free Archiving Enhancement of MM_MATNR
    BADI_MATNR_CHECK_PVS                    Check Material for Use in iPPE
    BADI_MATERIAL_REF                       Addition of customer-defined default data for material
    BADI_MATERIAL_OD                        Integration of New Objects in Material or Article Master
    BADI_MATERIAL_CHECK                     Enhanced Checks for Material Master Tables
    BADI_GTIN_VARIANT                       User Exit for Customer-Specific GTIN Variant Check
    BADI_EAN_SYSTEMATIC                     BAdI for Internal Control of EAN Logic

  • BADI or userexit for MIGO transaction

    hi All,
                  I have a requirement to enhance the MIGO transaction subscreen 304.
    In subscreen 304 there is only check box ITEM_OK.
    In the MIGO at the bottom of the screen ,whenver we click on item_OK check box and press enter, in the line item it will automatically checks.
    After the first check it has to get disabled in the screen.
    I am trying to find the BADI for this..still trying
    Please let me know how to achieve this functionality.

    Hi,
    Try below BAdi's :
    MB_MIGO_ITEM_BADI or
    MB_MIGO_BADI
    MB_DOCUMENT_BADI.
    Also these will be of help furthur.
    Enhancement/ Business Add-in Description
    Enhancement
    MB_CF001 Customer Function Exit in the Case of Updating a Mat. 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 Material document item for goods receipt/issue slip
    MBCF0002 Customer function exit: Segment text in material 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 a Material Document (SAP Internal)
    MB_DOCUMENT_UPDATE BADI when updating material document: MSEG and MKPF
    MB_DOCUMENT_BADI BAdIs when Creating a Material 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
    hope this will help you.
    Regards,
    Kiran

  • BADI or Userexit for MIGO while cancelling Goods Receipt?

    Hi all,
    Is there any BADI or User-Exit which triggers if The Goods receipt is canceled from MIGO ?
    Thanks,
    Aravind.

    Hi
    Pls try to use these exits-
    MBCF0005-Material document item for goods receipt/issue slip
    EXIT_SAPM07DR_001 -Customer Function Exit: Material Document Item for GR/GI Doc
    EXIT_SAPM07DR_002-Customer Function Exit: Acct Assgmt for Multiple Acct Assgmt
    Reward if helpful.
    Best Wishes,
    Chandralekha
    Edited by: Chandralekha on Jul 10, 2008 1:31 PM

  • 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/UserExit for MIGO : To popup batch classification screen auto

    Hi all,
    I want to pop up batch classification screen automatically in MIGO when performing a goods movement . In MIGO there is a command button for that to open up the batch classification screen, but my requirement is when click CHECK or SAVE button, branch it to batch classification screen if those characteristics are not maintained.
    Please reply .
    Thanks and Best regards,
    Sandun

    HI ,
    Chk BADI using these steps..
    1. Go to the TCode SE24 and enter CL_EXITHANDLER as object type.
    2. In 'Display' mode, go to 'Methods' tab.
    3. Double click the method 'Get Instance' to display it source code.
    4. Set a breakpoint on 'CALL METHOD cl_exithandler => get_class_name_by_interface'.
    5. Then run your transaction.
    6. The screen will stop at this method.
    7. Check the value of parameter 'EXIT_NAME'. It will show you the BADI for that transaction.

  • Goods receipt - MIGO (high priority)

    in MIGO , there is an error " enter valid gate entry no.".
    in OMJX i have make this field BKTXT field optional.though there is an error.error also specifies " enter gate entry no in delievery note".I also hide the (In OMJX) field LFSNR.Though there is an error.
    the error " application 00 no. 398" . I m not able to switch off the message also.
    suggest me.

    Hi,
    Inform your ABAPer to check this.
    If he used any Userexit in MIGO to enter the Gate enty no while processing the GR.
    He might have give this message in the userexit if anybody fails to enter the Gate entry no system should not process the Goods reciept.
    One more thing if your process is like to enter the gate entry no mandatory in delivery note field of MIGO  then why you are not entering in MIGO.
    If the message is disturbing your daily activites and this has no importance you inform your ABAPer to remove or modified as warning or information message so that you can proceed.
    rgds
    Chidanand

  • In MIGO FI Documents post BADI or USEREXIT

    hi,
    In MIGO I wnat to update update Translatn date with Document date befor save, is there any USEREXIT or BADI for that please help.
    Regards
    Deepak

    Use this BADI .
    MB_MIGO_BADI
    MB_MIGO_ITEM_BADI

  • UserExit/Badi to get Excise Item Details For MIGO Transaction

    Hi Experts ,
    I want to do a validation for chapter id of Material that is undrer Excise item tab in migo  .
    Can anyone tell me any userexit or Badi name for that?
    Waiting for your reply

    SOLVED

  • Userexit / BADI while cancelling a material document in MIGO.

    Hi all,
    I am searching for an userexit/badi while i'am cancelling a Mat.Doc(MBLNR). the whole idea is to cancel the delivery document if it not picked.
    Thanks and Regards.

    Please Be Specific By Providing Screen Number in MIGO transaction.
    Meanwhile  I think Implementation of BADI : MB_MIGO_BADI will solve your poblem.
    Contact me incase u want more help on BADI.

  • Userexit/BADI change Overdelivery Tolerance Limit in Purchase Order / MIGO

    Hi,
    i woould like to implement a own logic to set the Overdelivery Tolerance Limit in the order or MIGO. IIs there any badi/exit where I can do this?
    I tried with the exit EXIT_SAPLEINR_001 but it doesn't work.
    Thx
    Cheers
    Hannes

    Hi,
    thx for the answer.
    The BADI MB_DOCUMENT_UPDATE is only used when i save the migo. I need some point earlier since otherwise the error message appears that i i can not book more pieces as in the order.
    The Exit MEQUERY1  is only used for define a own preselection in the order and MEVME001 contains the exit EXIT_SAPLEINR_001 which i implemented but does not work.
    Other suggestions?
    Thx
    Hannes

  • Userexit or BADI for adding additional tab in MIGO screen.

    Hi all ,
       Kindly tell me as to which exit or BADI is used to add additional tab in MIGO header.
    Regards

    Hi,
    Create a program with the screen type sub-screen in SE80 and design the layout for the custom fields.
    Declare the custom fields in a Z**TOP include.
    Under the PBO method declare the program name and screen number
    Under PAI method declare the field to u2018Xu2019.
    Under the line modify method declare a flag and set to u2018Xu2019 checking for material document number by which we can set the fields to be in display mode when we open MIGO for display of material document created after doing goods receipt.
    Under the POST_DOCUMENT method write the code for appending the value to Z table along with the values of the line item (In this case production order number, material, u2026u2026.). For these values to be available here in this method use the memory concept u201CExport to memory idu201D in the method LINE_MODIFY. 
    In order to do any validations to the custom fields, go to transaction SE80 and mention the program Name created and in PROCESS ON VALUE_REQUEST create a module and provide the validations required for those custom Fields.
    In order to make the fields to be in display mode during the display of material document, create a module under PBO and import the flag value and the production order number details in the method LINE_MODIFY and if that flag = u2018Xu2019, use  
    LOOP AT SCREEN.
    IF SCREEN-NAME = 'ZZGBAGS'.
    SCREEN-INPUT = '0'.
    MODIFY SCREEN.
    ENDIF.
    ENDLOOP.Retrieve the values from the Z table matching the key field (production order number) and pass the value of the custom field on to the screen.

  • Userexit or BADI for MIGO

    My concern is if the delivery compltd indicator is set in PO then it should not allow to do the MIGO for the same PO.
    However Message No. 433 of Application Area M7 is missing in the System messages.
    Please suggest some solution for the same.
    Thanks in advance.
    Jalaj

    Hi,
    Even though you set delivery completed indicator in PO, there is possibility to receive material but the open qty will not update. To avoid the GR in cse of delivery completed indicator selected, please enter the the earliest possible GR date in PO. Hence system won't allow you to do GR against this PO. Let us take one example, suppose if you want to do GR at 22/11/11, enter the earliest possible GR date  as18/11/11.Sorry for the previous error. Hope this works. Thanking you.
    Edited by: Padmasri Garapati on Nov 22, 2011 4:26 PM
    Edited by: Padmasri Garapati on Nov 22, 2011 4:28 PM

  • Changing the G/L Account while Posting the Goods Receipts in MIGO

    Hi All,
    I have requirement in which G/L Account needs to be changed based on some validation while Posting the Goods Receipt in MIGO.
    I have created exit in OBBH by copying the standard SAP Program RGGBS800 in view V_T80D.
    I changed following entry in view V_T80D:
    GBLS     ZGGBS800     Val/sub:Exits for substitution
    Now Inside program ZGGBS800, I have written the logic to change the BSEG-HKONT value with the new G/L Account which gets called inside the standard function module G_VSR_SUBSTITUTION_CALL.
    FORM U999.
       DATA : V_HKONT TYPE BSEG-HKONT.
       clear : V_HKONT.
       SELECT SINGLE SAKNR FROM ZMASH1 INTO V_HKONT WHERE MATNR = BSEG-MATNR AND WERKS = BSEG-WERKS.
         IF SY-SUBRC EQ 0.
           BSEG-HKONT = V_HKONT.
         ENDIF.
    ENDFORM.
    After the execution of the above code the value of BSEG-HKONT changes with new value of V_HKONT but after this when I go further in Standard SAP code of function module G_VSR_SUBSTITUTION_CALL, there is one subroutine FORM EXP_TAB_009_BSEG  being called which changes the value of BSEG-HKONT to initial value of HKONT also while moving the data from BSEG to TEMP_STRUCT it doesn't passes the HKONT value, which I want it be passed as I want the changed value to be passed finally to OUT_RESULT. Please look at the code below.
    Following is the SAP standard code of subroutione FORM EXP_TAB_009_BSEG :
    FORM EXP_TAB_009_BSEG
             USING
               IN_ORIG STRUCTURE        BSEG
            CHANGING
               OUT_RESULT STRUCTURE     BSEG
               B_RESULT.
      DATA:  ORIG LIKE BSEG.
      DATA:  BEGIN OF TEMP_STRUCT,
             ABPER                          LIKE   BSEG-ABPER,
             AUGGJ                          LIKE   BSEG-AUGGJ,
             DOCLN                          LIKE   BSEG-DOCLN,
             FIPOS                          LIKE   BSEG-FIPOS,
             FISTL                          LIKE   BSEG-FISTL,
             FKBER                          LIKE   BSEG-FKBER,
             FKBER_LONG                     LIKE   BSEG-FKBER_LONG,
             GEBER                          LIKE   BSEG-GEBER,
             GMVKZ                          LIKE   BSEG-GMVKZ,
             GRANT_NBR                      LIKE   BSEG-GRANT_NBR,
             HKTID                          LIKE   BSEG-HKTID,
             HZUON                          LIKE   BSEG-HZUON,
             INTRENO                        LIKE   BSEG-INTRENO,
             MEASURE                        LIKE   BSEG-MEASURE,
             PARGB                          LIKE   BSEG-PARGB,
             PPA_EX_IND                     LIKE   BSEG-PPA_EX_IND,
             PPRCT                          LIKE   BSEG-PPRCT,
             PRCTR                          LIKE   BSEG-PRCTR,
             PRODPER                        LIKE   BSEG-PRODPER,
             PRZNR                          LIKE   BSEG-PRZNR,
             PSEGMENT                       LIKE   BSEG-PSEGMENT,
             SAMNR                          LIKE   BSEG-SAMNR,
             SCTAX                          LIKE   BSEG-SCTAX,
             SEGMENT                        LIKE   BSEG-SEGMENT,
             SGTXT                          LIKE   BSEG-SGTXT,
             SRTYPE                         LIKE   BSEG-SRTYPE,
             UZAWE                          LIKE   BSEG-UZAWE,
             XREF1                          LIKE   BSEG-XREF1,
             XREF2                          LIKE   BSEG-XREF2,
             XREF3                          LIKE   BSEG-XREF3,
             ZUONR                          LIKE   BSEG-ZUONR,
             ZZBUSPARTN                     LIKE   BSEG-ZZBUSPARTN,
             ZZCHAN                         LIKE   BSEG-ZZCHAN,
             ZZLOB                          LIKE   BSEG-ZZLOB,
             ZZLOCA                         LIKE   BSEG-ZZLOCA,
             ZZPRODUCT                      LIKE   BSEG-ZZPRODUCT,
             ZZREGION                       LIKE   BSEG-ZZREGION,
             ZZSPREG                        LIKE   BSEG-ZZSPREG,
             ZZSTATE                        LIKE   BSEG-ZZSTATE,
             ZZUSERFLD1                     LIKE   BSEG-ZZUSERFLD1,
             ZZUSERFLD2                     LIKE   BSEG-ZZUSERFLD2,
             ZZUSERFLD3                     LIKE   BSEG-ZZUSERFLD3,
             END OF TEMP_STRUCT.
      IF IN_ORIG = BSEG .
        B_RESULT = B_FALSE.
        OUT_RESULT = IN_ORIG.
        EXIT.
      ENDIF.
      MOVE-CORRESPONDING BSEG TO TEMP_STRUCT.
      OUT_RESULT = IN_ORIG.
      MOVE-CORRESPONDING TEMP_STRUCT TO OUT_RESULT.
      IF IN_ORIG = OUT_RESULT .
        B_RESULT = B_FALSE.
      ELSE.
        B_RESULT = B_TRUE.
      ENDIF.
      BSEG = OUT_RESULT.
    ENDFORM.                               " EXP_TAB_009_BSEG
    I need the value of BSEG-HKONT should be passed to OUT_RESULT-HKONT.
    I am not able to find any userexit or BADI for this.
    Please guide me on this.
    Thanks,
    Chandravadan
    Edited by: Chandravadan Jaiswal on May 8, 2009 2:18 PM
    Edited by: Chandravadan Jaiswal on May 8, 2009 3:45 PM

    Hi
    I also need to change hkont while posting MIGO and MIRO transaction..
    Any suggestion for this?
    Here's my problem.. Substitution of account(HKONT) when posting in MIGO/MIRO

Maybe you are looking for

  • Structure of SOAP PerformanceHeader

    Hello. I am analyzing the PerformanceHeader of a SOAP header of a given XI message. There are several steps listed (i.e. ADAPTER_IN->INTEGRATION_ENGINE_HTTP_ENTRY, CORE->INTEGRATION_ENGINE) with a timestamp for beginning and end. What happens within

  • Authentication Error when I execute JOBS in OEM registered by OWB !!

    Hi ! As I saw in the last question JOBS with authentication error it's a commum problem .... So follow I will detail what's happening with me: I4m using the OWB and I did a map to extract data from two tables on my source database and populate a dest

  • Urgent - Rendering cells in a JTable

    Hi, I am working with a JTable which contains large volumes of data. I need to be able to set different colors depending on the value in a cell and depending on which row that cell appears. I have created my own renderer and have set it. But it is in

  • SOAP Adapter Question

    My scenario is PI receives an xml file from ECC and sends it out in a SOAP call to a third party. I have added the WSDL as an external definition and performed all the setup to call the webservice and pass data.  That all works fine.  My issue is I n

  • Where can I find a replacement motherboard for MB 2.16 intel core 2 duo?

    Hi, One of my bosses has a macbook 2.16 GHz that's been diagnosed with a fried motherboard. He'll have to get a new one. And he asked me to shop around for a replacement. I don't see anything out there other than one on ifixit.com site. How can this