BADI for MM01/MM02 to be called after save

Hi all,
I am searching for a BADI/user exit which should be called in transaction MM01/02 after user svaes the material data. The requirement is to send material data as an Idoc to an external system based on the material status MARA-VPSTA & MARA-PSTAT = 'Q'.
So the idoc needs to be generated selectively.
Can anyone help me out with this or suggest any better method ?
Thanks in advance.
Shoma

Hi
Try this
MGA00001
MGA00002
Also, check these BADIs
BADI_MATERIAL_CHECK
BADI_MATERIAL_OD
BADI_MATERIAL_REF
DOCUMENT_MAIN01
<b>Reward points</b>
Regarda
Message was edited by:
        skk

Similar Messages

  • User Exit or BAdI for MM01/MM02

    Hi all,
    i need an user exit or badi for material master after data are saved.
    any suggestioon?
    thanks
    enzo

    Here are some exits
    MGA00001            Material Master (Industry): Checks and Enhancements 
    MGA00002            Material Master (Industry): Number Assignment       
    MGA00003            Material Master (Industry and Retail): Number Display
    Thanks

  • What are the badis for mm01

    Hi,
    Can i know what are badis exits for MM01/MM02/MM03.Can i know the procedure how to search badis.

    This are the available badis and exits for this t.code:
    Enhancement/ Business Add-in Description
    Enhancement
    MGA00001 Material Master (Industry): Checks and Enhancements
    MGA00002 Material Master (Industry): Number Assignment
    MGA00003 Material Master (Industry and Retail): Number Display
    Business Add-in
    MG_MASS_NEWSEG User-Specific Fields & Segments in Mass Maintenance
    MATGRP_SKU_UPD
    CDT_CHECK_MATERIAL Checks for Existence of a Material in a CDT
    BADI_MM_MATNR
    BADI_MAT_F_SPEC_SEL BAdI for Material Special Field Selection
    BADI_MATNR_CHECK_PVS
    BADI_MATERIAL_REF Addition of customer-defined default data for material
    BADI_MATERIAL_OD
    BADI_MATERIAL_CHECK Enhanced checks for material master table
    BADI_GTIN_VARIANT
    BADI_EAN_SYSTEMATIC
    o.of Exits: 3
    o.of BADis: 11
    Find the Exact exits and badis for ur requirement.
    How to fine the exact badi:
    1) Goto se24 (Display class cl_exithandler)
    2) Double click on the method GET_INSTANCE.
    3) Put a break point at Line no.25 (CASE sy-subrc).
    Now
    4) Execute SAP standard transaction
    5) Press the required button for which you need to write an exit logic, the execution will stop at the break point.
    6) Check the values of variable 'exit_name', it will give you the BADI name called at that time.
    7) This way you will find all the BADIs called on click of any button in any
    transaction
    Regards

  • U-Exit, BADi for MM01/MM03

    Hi,
    I was thinking if there is any enhacement for my scenario :
    Thing is quiet simple, user wants to change some data of the material index in MM02, but because there are some limitations f.e werks, lgort, etc. user must to click appropriate tabstrips after which the data should be loaded for the specific structures f.e:
    If we want  WMARC-WERKS to be filled (in mm02, exit ZXMG0U02->EXIT_SAPLMGMU_001) user must to click on the "Purchasing TabStrip"...
    Question is how to avoid case like that ...
    Thanks in advance,
    Daniel.

    Solved
    IF_EX_BADI_MATERIAL_OD~READ_OTHER_MATERIAL_DATA

  • BADI for MM01,02 and 03 when Materials are

    Hi Experts,
    I have a requirement of tracking any changes in the material master data i.e. whenever a material is changed, deleted or created i want to update a custom Z table .
    I am very new to Material Management.
    I believe that these 3 operations viz change, delete or create materials is done through MM01,02 and 03 transactions.
    The Z  table will be used to update data in customers legacy sys via XI/PI middleware.
    I just wanted to know if any Badi / User Exit exists to track these 3 operations (change, delete or create ) related to Materials.
    Thanks

    hi
    please check user exit CIFMAT01 function module EXIT_SAPLCMAT_001
    and also this EXIT_SAPLMV01_002
    for this purpose
    cheers
    s.janagar

  • Badi for mm01

    Hi Experts,
    In MM01, I need to disable the check box field  of Traceability checked/filled in General Data tab based on the value selection in Lab/office field in Basic Data 1 Tab.
    Once the user start creating the material, he first enter few data in Basic Data 1 Tab with Lab/Office field. Once he select any value for this field i need to disable the check box field of Traceability checked/filled in General Data tab based on the value selection in Lab/office field in Basic Data 1 Tab.
    I check 2 BADI's available  (BADI_GTIN_VARIANT, BADI_MATERIAL_REF)
    For BADI_GTIN_VARIANT, i didnt find the Traceability checked/filled field (MARA-ZZTRCCODE) in changing parameters.
    I also tried to put the break point for BADI_MATERIAL_REF implementation, but it is not gettign stopped anywhere.
    Please suggest.
    Khan

    Hi Experts,
    In MM01, I need to disable the check box field  of Traceability checked/filled in General Data tab based on the value selection in Lab/office field in Basic Data 1 Tab.
    Once the user start creating the material, he first enter few data in Basic Data 1 Tab with Lab/Office field. Once he select any value for this field i need to disable the check box field of Traceability checked/filled in General Data tab based on the value selection in Lab/office field in Basic Data 1 Tab.
    I check 2 BADI's available  (BADI_GTIN_VARIANT, BADI_MATERIAL_REF)
    For BADI_GTIN_VARIANT, i didnt find the Traceability checked/filled field (MARA-ZZTRCCODE) in changing parameters.
    I also tried to put the break point for BADI_MATERIAL_REF implementation, but it is not gettign stopped anywhere.
    Please suggest.
    Khan

  • User Exits for MM01 & MM02 transaction

    Hi SDN,
    Is there any user exit available for Change, create Material so that i can update some materail related data.
    Regards,
    Rahul

    Hi
    MGA00001- Material Master (Industry): Checks and Enhancements
                                                                                    Func.   EXIT_SAPLMGMU_001                                                                               
    MGA00002- Material Master (Industry): Number Assignment
                                                                                    Func.   EXIT_SAPLMG02_001
                                                                                    Func.   EXIT_SAPLMG02_002
    MGA00003- Material Master (Industry and Retail): Number Display
                                                                                    Func.   EXIT_SAPLOMCV_001
                                                                                    Func.   EXIT_SAPLOMCV_002
                                                                                    Func.   EXIT_SAPLOMCV_901
                                                                                    Func.   EXIT_SAPLOMCV_902
    Regds
    Seema

  • What is the EXIT names for MM01, MM02, MM03 in Screen-exits?

    Please
    Moderator message : Read forum rules before posting. Thread locked.
    Edited by: Vinod Kumar on Aug 5, 2011 10:28 AM

    Hi,
    Check this tutorial:
    <link to blocked site removed by moderator>
    Cheers
    Edited by: Thomas Zloch on Sep 21, 2011 1:43 PM

  • Badi or user-exit for QA32 after save

    I need a badi or user exit to execute exactly after save in QA32 ..I tried belows but they are not that i want
    QPL1_SUBSCREEN_ADDON
    INSPECTIONLOT_UPDATE
    Check these Exits:
    QEVA0004 Exit for changing information line in usage decision he
    QEVA0005 User subscreen for displaying add. data for usage decis
    QEVA0006 Entry to usage decision transactions
    QEVA0007 UD: Control of compulsory comment or long text presetti
    QEVA0008 Usage decision: Customer function key (e.g. to cancel U
    QEVA0009 UD: Predefinition of quantity to be posted to sample st
    QEVA0010 UD: Usage decision check
    QLCO0001 QM: Call alternative costs report from UD
    QSS10001 Possibility of calling a different print report

    Hello Tuncer,
    have you checked the BADI QE_SAVE? This is the last possible chance of changing data on saving a QM transaction and should be active in QA32.
    The only other solution I can come up with is a follow-up action i.e. for the UD-code
    Hope this information proves usefull.
    Regards
    Isabelle

  • How to activate the new fields on material master(MM01/MM02/MM03) for existing Materials

    Hi,
    We have a requirement to add  some custom fields as a new tab in additional data option(Descriptions, Unit of measure, etc.) in Basic data of Material master (MM01/MM02/MM03). I have successfully added and these custom fields and they are not part of standard(MARA, MARC) but a custom table and the updates are also done in custom table.
    For new materials, I can see the new tab in additional data screens of basic data view and I could successfully create/change/display using MM01/MM02/MM03. However I cannot see the new tab/fields for existing materials in the system in all 3 tcodes (MM01/MM02/MM03). This is not a main view in material master so that I can extend it by MM01.
    Is there any setting or mass generation program I have top perform so that I can see and maintain these new fields for existing materials. Appreciate any leads or help on this.
    Thanks,
    Harry

    Hello Harry,
    Goto t.code SPRO ---> Display IMG --->  Logistics - General --> Material master --> Configuring the material master --> Create program for customized screens
    Use the above path and create the screen and assign it to the sequence using the below link as reference.
    **************** - Tips - Implementing screen exits for MM01/MM02/MM03
    Regards,
    Thanga

  • Userexit or BADI for MIRO

    Hello,
    I use MIRO to create an invoice.
    I fill manually the invoice date, the reference and the purchase order number. Most of the fields are automaticaly filled thanks to the purchase order number.
    My need is to fill the field "Payment Block Key" in tab "Tax" with a certain value and i want this value to be displayed before save.
    The BADI INVOICE_UPDATE can't be use because it's called after "save".
    I have tried the userexit EXIT_RMMR1MRB_001 but i never stop in this include.
    Have you an other idea for my problem ?
    Thanks.

    Hi,
    try this then:
    maybe with badi MRM_HEADER_CHECK via field-symbols.
    Have a look at example implementation class CL_EXM_IM_MRM_HEADER_CHECK
    e.g.
      IF sy-tcode = 'MIRO'.
        IF i_rbkpv-ZLSPR EQ 'WHATEVER'. "YOUR CONDITION
          DATA: c_rbkpv(15)   TYPE c VALUE '(SAPLMR1M)RBKPV',
          FIELD-SYMBOLS: <fs_rbkpv> TYPE mrm_rbkpv.
          ASSIGN (c_rbkpv) TO <fs_rbkpv>.
          <fs_rbkpv>-ZLSPR = 'NEWVALUE'. "YOURNEWVALUE
        ENDIF.
      ENDIF.
    Best regards.

  • Set control in MM01/MM02

    Hi experts,
    Any user exit we can use on Classification tab for MM01/MM02. I would like to set some restriction on user input.
    Thanks so much.
    Cheers,
    Isaac.

    For example,
    I would like to stop user from entering Model (this is one of the customized classification field) starting from U* (protected field). If the user did select the classification, I will prompt an error message and restrict them from saving the material records.
    Thanks.

  • Exit in MM01/MM02

    Hello experts,
    I need a exit in the Tcode MM0x to check the number range of the material.
    ie) when the user enters a material number in MM02 and press the button Select
    views I need to  check the material number range is available in a customised table.
    Any ideas.
    Thanks in Advance.
    Vasanth

    Hi vasanth,
    There are three exits available for MM01 & MM02.
    Exit Name           Description
    MGA00001            Material Master (Industry): Checks and Enhancements
    MGA00002            Material Master (Industry): Number Assignment
    MGA00003            Material Master (Industry and Retail): Number Display
    Probably, the first exit may be of use to you. Beacuse, The customer exit is in function module MATERIAL_UPDATE_ALL. The function
    module checks the data for errors (logical relationships, foreign keys,
    fixed domain values, and so on) when the material master is updated.
    Use
        o   New fields
            You can make checks possible for new fields of your own. These checks
            must be identical to the checks that you carry out for your new
            fields in online maintenance.
        o   Existing fields
            For existing fields, you can extend and intensify the checks.
        You can also change data for descriptions and general material data
        (MARA). For example, the descriptions can be generated from attributes of
        the material.
    Regards,
    JLN
    P.S. mark points for all helpful answers

  • Menu exit or BAdi for IW28 and IW65

    Dear Experts,
    Please provde Menu exit or BAdi for IW28 or IW65, to calling customized program.
    i.e.  have one 'Z' Program, i want to cali that from IW28 and IW68 using menu option.
    Regards,
    venkey

    Venkey,
    Here are some options...
    IW28: If you are in ECC 6.0 with enhancement pack 3 then you could enhance the report using BADI BADI_EAM_RIQMEL20_FCODE_CUS1 To create a custom function code. You could also consider copying the report and creating a  new report. You could also use the GuiXT tool to create a push button on the output screen and call the Z report.
    IW42 and IW65 : There are no standard user exits to do this, You will have to copy and change the program. You could also use GuiXT tool to create a Push button for this transaction.
    Regards
    Narasimhan

  • Upload for MM01

    Hi
    I am trying to create Recording for MM01 through SHDB Tcode  but after selecting views , i m fail to select Plant through search help on next screen. system get stuck and i need to restart the SAP.
    Regards
    Ammad

    thanks for your reply i have to upload material master data ...
    i have 59 fields in MS Excel file, i ill get into an internal table through Function module now tell me how  can i pass that data to the BAPI
    Data is like that E.g
    Field Name      Data
    Industry Sector B
    Mat type           Fert
    Plant                1000
    sales Org        PBLS
    Dist Channel    02
    Regards
    Ammad

Maybe you are looking for

  • Micro dvi port, sound or not

    can anyone tell me if the micro dvi port on my new macbook pro supports audio. I was hoping that I could plug into my hi def tv with a micro dvi to dvi adaptor, then to a dvi to hdmi lead and watch movies. Any ideas? Thanks in advance.

  • Email links in Notebook after rebuild

    I have been using Circus Ponies' Notebook for a while and have numerous links to emails scattered throughout the notebooks. I create them by dragging the header line from mail.app to the insertion point on the notebook page. This creates a link which

  • Help!!!! key nt wrking

    Help! My iBk G4 is wrking perfectly, except the " " key is nt wrking. I've lked at a previus thread [http://discussions.apple.com/click.jspa?searchID=-1&messageID=4263850 with a similar issue, and tried ut the suggestins: 1. Created a new user didn't

  • ITunes Playlist/Songs/Genres/Artists/Etc Won't Work in Front Row, HELP!!!

    I have previously owned a Powermac G4 and just recently bought an iMac Intel Duo Core, had all my files transferred from my old Mac, however all my MP3 and MP4 videos wont play when I access the iTunes By Front Row, The computer says please add songs

  • Need explanation about DefaultFramework Layout

    hai friends, i downloaded the PAR file of the default frame work layout provided by SAP in EP7.the coding is given below <%@ taglib uri="prt:taglib:com.sap.portal.reserved.layout.TagLibHtmlb" prefix="hbj" %> <%@ taglib uri="prt:taglib:com.sap.portal.