BADI or userexit for MM01 and MM02

Hi All,
My requirment is that when the user create a new material, the profit center field should be auto populated from the input Plant. For example, if the plant for this new material is A, then profit center PCA will be populate. The mapping between plant and profit center is very simple.
Furthermore, when the user try to save the material with invalid profit center, the system should create a warning message and automatically change the profit center to the valid one as well.
Right now, i'm looking for either BADI or userexit that would be suitable for my requirement. Does anyone know which BADI or userexit, I should use. Thanks in advance

Hi
Check the following
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
CDT_CHECK_MATERIAL                      Checks for Existence of a Material in a CDT
BADI_MM_MATNR                           Modification-Free Archiving Enhancement of MM_MATNR
BADI_MAT_F_SPEC_SEL                     BAdI for Material Special Field Selection
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
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
Reward points if useful
Regards
Anji

Similar Messages

  • Finding Userexit in MM01 and MM02

    Hi,
    I have to find the code given below to fit in which user exit and whether it can be added in exit or not
    When executing MM01 and MM02  and entering the units of measure(via basicdata->Additionaldata->units of measure, a check needs to be implemented.when the unit measure(MARA-MEINH) entered is either ZPE,GPE or PAL)
    1.Conversion factor (marm-umrez) must not be 1.
    2.marm-umrez of GPE must be bigger than ZPE
    3.marm-umrez of PAL must be bigger than GPE and bigger than ZPE.
    4.marm-umrez of GPE must be a multiple of  ZPE
    5.marm-umrez of pal must be a  multiple of  GPE and ZPE.
    Please reply to this question urgent.
    Thanks & Regards,
    suresh

    hi
    you can copy below code into one program. it will find all user exists for all transactions.
    tables : tstc, tadir, modsapt, modact, trdir, tfdir, enlfdir.
             tables : tstct.
    data : jtab like tadir occurs 0 with header line.
    data : field1(30).
    data : v_devclass like tadir-devclass.
    parameters : p_tcode like tstc-tcode obligatory.
    select single * from tstc where tcode eq p_tcode.
    if sy-subrc eq 0.
       select single * from tadir where pgmid = 'R3TR'
                        and object = 'PROG'
                        and obj_name = tstc-pgmna.
       move : tadir-devclass to v_devclass.
          if sy-subrc ne 0.
             select single * from trdir where name = tstc-pgmna.
             if trdir-subc eq 'F'.
                select single * from tfdir where pname = tstc-pgmna.
                select single * from enlfdir where funcname =
                tfdir-funcname.
                select single * from tadir where pgmid = 'R3TR'
                                   and object = 'FUGR'
                                   and obj_name eq enlfdir-area.
                move : tadir-devclass to v_devclass.
              endif.
           endif.
           select * from tadir into table jtab
                         where pgmid = 'R3TR'
                           and object = 'SMOD'
                           and devclass = v_devclass.
            select single * from tstct where sprsl eq sy-langu and
                                             tcode eq p_tcode.
            format color col_positive intensified off.
            write:/(19) 'Transaction Code - ',
                 20(20) p_tcode,
                 45(50) tstct-ttext.
                        skip.
            if not jtab[] is initial.
               write:/(95) sy-uline.
               format color col_heading intensified on.
               write:/1 sy-vline,
                      2 'Exit Name',
                     21 sy-vline ,
                     22 'Description',
                     95 sy-vline.
               write:/(95) sy-uline.
               loop at jtab.
                  select single * from modsapt
                         where sprsl = sy-langu and
                                name = jtab-obj_name.
                       format color col_normal intensified off.
                       write:/1 sy-vline,
                              2 jtab-obj_name hotspot on,
                             21 sy-vline ,
                             22 modsapt-modtext,
                             95 sy-vline.
               endloop.
               write:/(95) sy-uline.
               describe table jtab.
               skip.
               format color col_total intensified on.
               write:/ 'No of Exits:' , sy-tfill.
            else.
               format color col_negative intensified on.
               write:/(95) 'No User Exit exists'.
            endif.
          else.
              format color col_negative intensified on.
              write:/(95) 'Transaction Code Does Not Exist'.
          endif.
    at line-selection.
       get cursor field field1.
       check field1(4) eq 'JTAB'.
       set parameter id 'MON' field sy-lisel+1(10).
       call transaction 'SMOD' and skip first   screen.
    *---End of Program
    Reward if it is ok
    Siva Kumar.

  • Any Exit for MM01 and MM02 view change?

    Dear All,
    My requirement is I want to check profit center for particuler plant.
    I have maintain a table of Plant , Busiiness area and Profit center. And I want to check profit center in that plant when user enterd after filling profit center.
    I dont want on save material. Plz suggest me exit or Badi or enhancement at the time of Enter in Plant data view?
    I searched and I got many exit at the time of saving but not for Plant data view Tab.
    Thanks in Advance.
    Thanks and Regards
    Steve

    solved

  • BADI or Userexit for MIRO and FB60 for displaying an error message

    Hello,
    Could you please let me know the BADI or User Exit validation Bank House field and displaying an error message in MIRO and FB60?
    Thanks,
    Md

    Hi,
    you can try with badi MRM_HEADER_CHECK.
    in method HEADERDATA_CHECK you can do something like:
    IF sy-tcode = 'FB60' OR sy-tcode = 'MIRO'.
      IF I_RBKPV-HBKID = 'WHATEVER'.
    * for the message in MIRO you can use this fm
        DATA: gt_errtab0    TYPE TABLE OF mrm_errprot,
              gs_errtab0    TYPE mrm_errprot.
                CLEAR gs_errtab0.
                gs_errtab0-msgty = 'E'.
                gs_errtab0-msgid = 'ZXX'.
                gs_errtab0-msgno = '030'.
                gs_errtab0-source = 'Q'.
                APPEND gs_errtab0 TO gt_errtab0.
                CALL FUNCTION 'MRM_PROT_FILL'
                  TABLES
                    t_errprot = gt_errtab0.
      ENDIF.
    ENDIF.
    Best regards.

  • BADI or Userexit for ME2Xn for VERSION

    Hello,
    I want to know which is the BADI or USerexit for which in ME22n what ever the changes made in PO,Netprice or Delivery date it should create a NEW VERSION number,only if the Netprice is changed,new version is getting genarated....can any one help me regarding this please?
    Moderator message: please work yourself first on your requirement, search for available information.
    Edited by: Thomas Zloch on Dec 1, 2010 11:43 AM

    List of all U-Exists for ME22N:
    AMPL0001            User subscreen for additional data on AMPL
    LMEDR001            Enhancements to print program
    LMELA002            Adopt batch no. from shipping notification when posting a GR
    LMELA010            Inbound shipping notification: Transfer item data from IDOC
    LMEQR001            User exit for source determination
    LMEXF001            Conditions in Purchasing Documents Without Invoice Receipt
    LWSUS001            Customer-Specific Source Determination in Retail
    M06B0001            Role determination for purchase requisition release
    M06B0002            Changes to comm. structure for purchase requisition release
    M06B0003            Number range and document number
    M06B0004            Number range and document number
    M06B0005            Changes to comm. structure for overall release of requisn.
    M06E0004            Changes to communication structure for release purch. doc.
    M06E0005            Role determination for release of purchasing documents
    ME590001            Grouping of requsitions for PO split in ME59
    MEETA001            Define schedule line type (backlog, immed. req., preview)
    MEFLD004            Determine earliest delivery date f. check w. GR (only PO)
    MELAB001            Gen. forecast delivery schedules: Transfer schedule implem.
    MEQUERY1            Enhancement to Document Overview ME21N/ME51N
    MEVME001            WE default quantity calc. and over/ underdelivery tolerance
    MM06E001            User exits for EDI inbound and outbound purchasing documents
    MM06E003            Number range and document number
    MM06E004            Control import data screens in purchase order
    MM06E005            Customer fields in purchasing document
    MM06E007            Change document for requisitions upon conversion into PO
    MM06E008            Monitoring of contr. target value in case of release orders
    MM06E009            Relevant texts for "Texts exist" indicator
    MM06E010            Field selection for vendor address
    MMAL0001            ALE source list distribution: Outbound processing
    MMAL0002            ALE source list distribution: Inbound processing
    MMAL0003            ALE purcasing info record distribution: Outbound processing
    MMAL0004            ALE purchasing info record distribution: Inbound processing
    MMDA0001            Default delivery addresses
    MMFAB001            User exit for generation of release order
    MRFLB001            Control Items for Contract Release Order
    best regards.

  • Update access to MM01 and MM02

    Hi,
    Please check and advice on how to find the list of users that have change access to the particular Company code and Plant by using the transactions-MM01 and MM02.
    Thanks & Regards,
    KKRao.

    Hi Alex,
    Thanks for the reply.
    I m trying with the below mentioned possibility.
    SUIM-->Roles-->Roles by Complex Selection Criteria. In this selection, I have given Tcode as MM02 and I have given two objects.
    One is M_MATE_WRK for plant and M_MATE_BUK for company code with activity-02 and required Plant and CC.
    Later I m getting the roles with those roles I m find the users who got assigned to those roles.
    Are those objects are correct for getting list of users who has changes access with specific plant and CC.
    Please check and advice in this.
    Thanks & Regards,
    KKRao.

  • Is there any userexit for MIR7 and   MIRO transaction?

    Hai friends,
           Is there any userexit for MIR7 and MIRO transaction at the time of pressing "save as completed" or "save" button. I want to check the sales certificate and invoice verification for the document number entered in MIR7 and MIRO.
    Regards,
    safiq
    NOTE:useful points will be rewarded.

    hi,
    these r the exits related to mir7.
    Transaction Code - MIR7                     Park Invoice
    Enhancement/ Business Add-in            Description
    Enhancement
    LMR1M001                                User exits in Logistics Invoice Verification
    LMR1M002                                Account grouping for GR/IR account maintenance
    LMR1M003                                Number assignment in Logistics Invoice Verification
    LMR1M004                                Logistics Invoice Verification: item text for follow-on docs
    LMR1M005                                Logistics Inv. Verification: Release Parked Doc. for Posting
    LMR1M006                                Logistics Invoice Verification: Process XML Invoice
    MRMH0001                                Logistics Invoice Verification: ERS procedure
    MRMH0002                                Logistics Invoice Verification: EDI inbound
    MRMH0003                                Logistics Invoice Verification: Revaluation/RAP
    MRMN0001                                Message output and creation: Logistics Invoice Verification
      Business Add-in
    INVOICE_UPDATE                          Business Add-In: Logistics Invoice Verification
    put a break point in each exit,like break username and test the transaction .

  • BADI or USEREXIT For VL31N

    Hai everyone,
    Could Anyone Pls Tel me the BADI or USEREXIT  for VL31N while Saving the inbound Delivery .
    REgards,
    EKadevi.S

    HI Ekadevi ,
    following are the Badi's
    DLV_CHECK_APO_UPD
    DELIVERY_PUBLISH
    Following are the user Exits :
    V50PSTAT
    V02V0004
    V02V0003
    V02V0002
    V02V0001
    VMDE0004
    VMDE0003
    VMDE0002
    VMDE0001
    V53W0001
    V53C0002
    V53C0001
    V50S0001
    V50R0004
    V50R0002
    V50R0001
    V50Q0001
    Hope this will help to you.
    Regards,
    Nikhil

  • BADI or userexit for QP01

    Hi
    After creation or change of Inspection plan (QP01 and QP02) i need to start some additional process. Is there any BADI or userexit?
    Thanks all,
    Branko

    HI,
    Check the below enhancements.
    QPAA0001  Enhancements: Formula checking / editing
    QPAA0002  Customer exit - info fields
    QPAA0004  Enhancement for transferring mstr insp. char. to task lists
    QPAA0005  Deactivation of functions for insp. char. maintenance
    QPAA0006  Additional consistency checks - inspection characteristics
    QPAP0002  Enhancement for material/plan assignment, plan selection
    QPAP0003  Conversion of sample unit of measure to material unit
    CNEX0026  Customer enhancement for general inspection of material
    QAPP0001  User exit QAPP 1 (create inspection point)
    QAPP0002  User exit QAPP 2 (create inspection point & other data)
    QAPP0003  User exit QAPP 3 (IDI: inspection point and other data)
    QEEM0002  User exit add. functions after reading inspection features
    QEEM0006  User exit: add. functions after closing inspection characs
    QEVA0002  Calculation of share of scrap in inspection lot
    QEVA0003  Calculate "Next inspection date" for batch
    QMSB0001  User exit after reading in inspection catalog data
    QMSC0001  User exit after reading in inspection method data
    QMSC0002  User exit for search field entry in the inspection method
    QMSC0003  User exit after saving inspection method data
    QMSD0001  User exit after importing master inspection charac. data
    QMSD0003  User exit after saving master inspection charac. data
    QPAA0003  Additional (auth.) check in plan (inspection chars.)
    QPAA0006  Additional consistency checks - inspection characteristics
    QPL10003  Sample calculation for inspection lot without plan
    QVDM0003  Determ. of deliv. type for inspection lots from deliv. note
    Thanks,
    Ramakrishna
    Message was edited by: Ramakrishna Prasad

  • BADI or Userexit For QM01(Quality Notification)

    Dear Experts,
    I want to add some extra fields in QM01 .
    Is there is any BADI or userexit available for QM01(Quality Notification).
    Please give me some solution.
    Regards,
    Sanket.

    Hi,
    SPRO-->Quality management >Notification> Overview of notification types-->Select the notification & 90 give the customer specific screen area
    this is the process where we will add the screen...
    Go to Function group is XQQM  in SE80....create the screen which you have added in config...example 0090 ....
    No wgo to includes tab you will see one z*TOP include there you declare the fields you want on this custom screen ....
    example : dist type char3.
    In the PBO and PAI validations you can make for the added fields as we do in normal Module pool.
    In the PAI event create a module and pass the values to the structure VIQMEL.
    for example if your added field is dist.
    Pass as
    VIQMEL-dist  = dist.
    Go to cmod create a project ,give the enhacement QQMA0001.
    In the exit   EXIT_SAPMIWO0_009
    Pass those values to the req structure which needs to be populated.
    example :
    i_viqmel-dist = dist.
    move-corresponding i_viqmel to e_viqmel.
    -->  Go to standard table where the values need to be updated(qmel) add one append structure with the req fields
    Thanks,
    Shailaja Ainala.

  • Badi/user exit for sales and purchase order

    HI folks,
    I have to export the value of order type to a memory id for create and change transaction of sales order and the purchase order, I serached a lot for badis in purchase order and created implementation for that, but it didnt work. Please help me out....
    thanks in advance

    Hi,
    As written I need to export the value of order type into a memory id at the moment below transactions are hit:
    va01,va02, me21n, me22n.
    for va01 first u need to enter the order type and then press enter...at this event I need to export its value,
    for va02 the value of order is entered and then press enter,
    similarly I have to export the purchase order type during execution of ME21n and ME22n.
    I hope u will understand the problem better....If not please tell me

  • BAdI/User Exit for MM01

    Hi All,
    I am looking for a User Exit for MM01
    I need to catpure the Document data in MM01>Additional data>Document data tab
    I checked with the following enchancements but no use
    MGA00001
    MGA00002
    MGA00003
    BADI_Material_Check.
    Can any one help me in finding the suitable enhancemet?
    Thanks
    Bhasker

    Hi Bhasker
    Go to Se18 Tcode
    and give the definition name is "DOCUMENT_MAIN01"
    check the definition in display mode because it is Sap Standard Definition.
    there you will find a "TYPE" Tab
    under this you have two check boxes 
    <b>1) Multiple Use</b>
    2) Filter-Depend
    if you want multiple implementations  check this Check box
    after this you need to create a request and the system asks  Access Key for Changes
    for that you will catch that Key from your Basis Team.
    Regards
    Sreeni

  • 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/User Exit for IE02 and IP02 after status changed to deleted/deactivate

    Hi all,
    I need to change the status of the Plan Maintenance(IP42) when the Functional Location(IP02) or the Equipment(IE02) status is change to deactivated/deleted.
    I cant find any related badi or userexit that can be used to achieve the above purpose.
    Is there any suggestion available to achieve that? Please advise. Thanks.
    Regards,
    lsemun

    Hi,
      You will either have to use the user exit on save or use the change documents functionality through transaction SWEC to trigger a  custom process to accomplish your needs.
    Regards
    Narasimhan

  • BADI of USEREXIT for MIRO

    I need to automaticaly change Payment conditions depending on some conditions on item level. There is algorithm which we got from our customer for this calculation. So, i need userexit or badi where I can implement enhancement.

    Hello,
    Following user exits are present in MIRO
    LMR1M001            User exits in Logistics Invoice Verification
    LMR1M002            Account grouping for GR/IR account maintenance
    LMR1M003            Number assignment in Logistics Invoice Verification
    LMR1M004            Logistics Invoice Verification: item text for follow-on docs
    LMR1M005            Logistics Inv. Verification: Release Parked Doc. for Posting
    LMR1M006            Logistics Invoice Verification: Process XML Invoice
    MRMH0001            Logistics Invoice Verification: ERS procedure
    MRMH0002            Logistics Invoice Verification: EDI inbound
    MRMH0003            Logistics Invoice Verification: Revaluation/RAP
    MRMN0001            Message output and creation: Logistics Invoice Verification
    No of Exits:         10
    Saurabh

Maybe you are looking for