Looking UserExit or BADI for Material Group Description

Hi,
I am looking for BADI or User Exit for Material Group Description.
My Scenariio is Whenever the user Enter in to MM01or MM02 in Basic Data 1 view Materail Group Field ,the user press F4 It is displaying material group number and corresponding Description.Those Description are in English because that materail group are created in English Longon Language,but the other language User Enter in to MM01 or MM02 Transaction in the basic data 1 view Press the F4 key for Materail Group it showing only material group number no description is displaying,but my requirement it should translate and show it to the corresponding longon language description when Press F4.Regarding this i maintaining other language description for the existing material group in a ZTable.
The table for Material Grop Description in all the language  is T023T table.
Get back to me your valuable suggestion for the above requirement.
Thanks & Regards,
sanjeevkumar

Hi Sanjeev,
If you wanna search for BADIs, you can follow this method:
go to SE80 transaction and select the class/interface CL_EXITHANDLER, then you have to select the Get_Instance method and put a break-point in the following call:
call method cl_exithandler=>get_class_name_by_interface
exporting
instance = instance
importing
class_name = class_name
changing
exit_name = <b>exit_name </b>
exceptions
no_reference = 1
no_interface_reference = 2
no_exit_interface = 3
data_incons_in_exit_managem = 4
class_not_implement_interface = 5
others = 6.
the value of exit_name will give you the name of the BADI that is been call from the transaction. Then you have to execute the transaction MM01 or MM02 and it will stop on each Badi's call.
Regards,
Eric
Reward any helpful answer

Similar Messages

  • Exit/badi for Material group validation on service POs

    Hi Gurus,
    The requirement is to put validation on 'MATERIAL GROUP' at item level as well as service sub line item level.I have used EXIT_SAPMM06E_017 for line level validation.
    For service sub line level 'MATERIAL GROUP' i tried using EXIT_SAPLMLSP_030 but validation is not working properly as
    EXIT_SAPLMLSP_030 is triggered before EXIT_SAPMM06E_017.
    Kindly suggest any alternatives.
    Thanks in advance
    Deepika

    Hi,
    I had finally used BADI ME_PROCESS_PO_CUST method CHECK and PROCESS_ITEM for enjoy transactions i.e ME21N ME22N ME23N and written code in EXIT EXIT_SAPLMLSP_030 for service item validations.
    IF sy-tcode = 'ME21N' OR sy-tcode = 'ME22N' OR sy-tcode = 'ME23N' OR sy-tcode = 'MASS' OR sy-tcode = 'ME29N'.
        DATA: wa_zmm_mat_grp TYPE zmm_mat_grp.
        EXPORT header_data-aedat FROM header_data-aedat TO MEMORY ID 'ZDAT24933'.
        EXPORT header_data-bsart FROM header_data-bsart TO MEMORY ID 'ZBRT24933'.
        IF header_data-aedat GE '20090810'.         " Material group mandatory appplicable date.
          IF ( header_data-bsart = 'SRV' OR header_data-bsart = 'SRVF' OR header_data-bsart = 'SRVI') AND ( header_data-bsart NE ' ')  AND
             ( re_data-loekz EQ 'S' OR re_data-loekz EQ ' ' ).
            SELECT SINGLE  *  FROM zmm_mat_grp INTO wa_zmm_mat_grp WHERE matkl = re_data-matkl AND
                                                                         bsart = header_data-bsart.
            IF sy-subrc NE 0.
              MESSAGE e005(ze1).
            ENDIF.
          ENDIF.
          IF header_data-bsart IS NOT INITIAL.
            IF ( header_data-bsart NE 'SRV') AND ( header_data-bsart NE 'SRVF') AND ( header_data-bsart NE 'SRVI') AND
               ( re_data-loekz EQ 'S' OR re_data-loekz EQ ' ' ).
              SELECT SINGLE  *  FROM zmm_mat_grp INTO wa_zmm_mat_grp WHERE matkl = re_data-matkl.
              IF sy-subrc EQ 0.
                MESSAGE e006(ze1).
              ENDIF.
            ENDIF.
          ENDIF.
        ENDIF.
      ENDIF.
    For service subline item following code:
    DATA: wa_zmm_mat_grp TYPE zmm_mat_grp,
          v_bsart TYPE ekko-bsart,
          v_packno TYPE esll-packno,
          v_ebeln TYPE ekpo-ebeln,
          v_aedat TYPE ekko-aedat.
    IF sy-tcode = 'ME21N' OR sy-tcode = 'ME22N' OR sy-tcode = 'ME23N' OR sy-tcode = 'MASS' OR sy-tcode = 'ME29N'.
      IF srv_esll-matkl IS NOT INITIAL.
        IMPORT header_data-bsart TO v_bsart FROM MEMORY ID 'ZBRT24933'.
        IMPORT header_data-aedat TO v_aedat FROM MEMORY ID 'ZDAT24933'.
        IMPORT re_data-bsart TO v_bsart FROM MEMORY ID 'ZBRT24933'.
        IMPORT re_data-aedat TO v_aedat FROM MEMORY ID 'ZDAT24933'.
        IF v_bsart IS INITIAL OR v_aedat IS INITIAL.
          SELECT SINGLE packno FROM esll INTO v_packno WHERE sub_packno = srv_esll-packno.
          IF sy-subrc EQ 0.
            SELECT SINGLE ebeln FROM ekpo INTO v_ebeln WHERE packno = v_packno.
            IF sy-subrc EQ 0.
              SELECT SINGLE bsart aedat FROM ekko INTO (v_bsart, v_aedat) WHERE ebeln = v_ebeln.
            ENDIF.
          ENDIF.
        ENDIF.
        IF v_aedat GE '20090810'.         " Material group mandatory appplicable date.
          IF ( v_bsart EQ 'SRV' ) OR ( v_bsart EQ 'SRVI' ) OR ( v_bsart EQ 'SRVF' ) AND ( v_bsart NE ' ' )
          AND srv_esll-del = ' '.
            SELECT SINGLE  *  FROM zmm_mat_grp INTO wa_zmm_mat_grp WHERE matkl = srv_esll-matkl AND
                                                                         bsart = v_bsart.
            IF sy-subrc NE 0.
              MESSAGE e005(ze1).
            ENDIF.
          ENDIF.
          IF ( v_bsart NE 'SRV' ) AND ( v_bsart NE 'SRVI' ) AND ( v_bsart NE 'SRVF' ) AND ( v_bsart NE ' ' )
          AND ( srv_esll-del = ' ').
            SELECT SINGLE  *  FROM zmm_mat_grp INTO wa_zmm_mat_grp WHERE matkl = srv_esll-matkl .
            IF sy-subrc EQ 0.
              MESSAGE e006(ze1).
            ENDIF.
          ENDIF.
        ENDIF.
      ENDIF.
    ELSEIF sy-tcode = 'ME21' OR sy-tcode = 'ME22' OR sy-tcode = 'ME23'.
      IF srv_esll-matkl IS NOT INITIAL.
        IMPORT i_ekko-bsart TO v_bsart FROM MEMORY ID 'ZPOT24933'.
        IMPORT i_ekko-aedat TO v_aedat FROM MEMORY ID 'ZDTA24933'.
        IF v_bsart IS INITIAL OR v_aedat IS INITIAL.
          SELECT SINGLE packno FROM esll INTO v_packno WHERE sub_packno = srv_esll-packno.
          IF sy-subrc EQ 0.
            SELECT SINGLE ebeln FROM ekpo INTO v_ebeln WHERE packno = v_packno.
            IF sy-subrc EQ 0.
              SELECT SINGLE bsart aedat FROM ekko INTO (v_bsart, v_aedat) WHERE ebeln = v_ebeln.
            ENDIF.
          ENDIF.
        ENDIF.
        IF v_aedat GE '20090810'.         " Material group mandatory appplicable date.
          IF ( v_bsart EQ 'SRV' ) OR ( v_bsart EQ 'SRVI' ) OR ( v_bsart EQ 'SRVF' ) AND ( v_bsart NE ' ' )
          AND srv_esll-del = ' '.
            SELECT SINGLE  *  FROM zmm_mat_grp INTO wa_zmm_mat_grp WHERE matkl = srv_esll-matkl AND
                                                                         bsart = v_bsart.
            IF sy-subrc NE 0.
              MESSAGE e005(ze1).
            ENDIF.
          ENDIF.
          IF ( v_bsart NE 'SRV' ) AND ( v_bsart NE 'SRVI' ) AND ( v_bsart NE 'SRVF' ) AND ( v_bsart NE ' ' )
          AND ( srv_esll-del = ' ').
            SELECT SINGLE  *  FROM zmm_mat_grp INTO wa_zmm_mat_grp WHERE matkl = srv_esll-matkl .
            IF sy-subrc EQ 0.
              MESSAGE e006(ze1).
            ENDIF.
          ENDIF.
        ENDIF.
      ENDIF.
    ENDIF.
    hope this will help u.

  • Issue Search Help Exit for Material Group

    Dear Expertsl,
    I developed a search help exit for material group for the search helps both H_T023 and H_2023_MEPO to restrict certain material groups from the actual display as follows
    1)  I developed custom table to hold the Invalid material groups
    2) Developed search help as same as in the bellow link
    link:[https://wiki.sdn.sap.com/wiki/display/Snippets/CaseInsensitiveSearchHelpExitforMaterial+Group]
    3) Before the statement
        SELECT matkl wgbez wgbez60 FROM t023t INTO s_t023t
          WHERE matkl IN t_matkl
    i selected the Invalid materials from the custom table into an internal table
    4)    i am restricting the entries with the following code.
    LOOP AT a_tab.
    only move values that meet the requirements
    after you convert to upper case.
         MOVE a_tab-wgbez60 TO a_tab-wgbez60_test.
         TRANSLATE a_tab-wgbez60_test TO UPPER CASE.
            MOVE      a_tab-wgbez        TO a_tab-wgbez_test.
            TRANSLATE a_tab-WGBEZ_test   TO UPPER CASE.
            MOVE      a_tab-wgbez60      TO a_tab-wgbez60_test.
            TRANSLATE a_tab-wgbez60_test TO UPPER CASE.
          IF a_tab-wgbez60_test IN i_wgbez60 AND
             a_tab-wgbez_test   IN i_wgbez   AND   
             a_tab-matkl        IN i_matkl.
            ADD 1 TO findex.
            MOVE a_tab-matkl   TO temp_tab-matkl.
            MOVE a_tab-WGBEZ   TO temp_tab-WGBEZ.   
            MOVE a_tab-wgbez60 TO temp_tab-wgbez60.
            IF findex > callcontrol-maxrecords.
              MOVE 'X' TO callcontrol-maxexceed.
              EXIT.
            ENDIF.
            READ TABLE i_invalid INTO w_invalid
            WITH KEY matkl = a_tab-matkl.
            IF sy-subrc NE 0.
              APPEND temp_tab.
            ENDIF.
            CLEAR temp_tab.
          ENDIF.
        ENDLOOP.
    This is working fine when we press F4 in ME21N Transaction and give some description and then press enter the popup screen.
    But my requirement is user will enter some description in ME21N material group field and press enter ( Not pressing the F4 here) at this moment this is not going through the search help exit and displaying all the entries including the Invalid materials.
    Note: We can delete the Invalid material groups but the documents which are having the invalid material already will have an issue and need to be corrected all the documents. But our requirement is only to use the correct materials  groups from now onwards.
    I would appropriate if any one can helping this regard.
    Thanks in advance.,
    Regards,
    Venkat

    Hi Venkat,
    You can call your ZSEARCH_HELP from the PAI , on the event SY-UCOMM = Enter using the function module F4IF_FIELD_VALUE_REQUEST.
    For example, your screen field is MARA-ZXXXX, screen 0100 and search help :  ZSEARCH_HELP
      CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
        EXPORTING
          tabname                   = 'MARA'
          fieldname                  = 'ZXXXX'
          searchhelp               = 'ZSEARCH_HELP '
          dynpnr                      = '0100'
          dynprofield                =  'MARA-ZXXXX'
    TABLES
       return_tab                = lt_returntab.
    This F4IF_FIELD_VALUE_REQUEST will call your custom search help exit.
    Regards
    Deepa.

  • Language specific replication of material group description not working SRM

    Hi All,
    We have backend R/3 MM system from which we replicate our materials,material groups. For Italian language the replication of the material groups description is not working. Though the description is available in backend R/3 system when i run the DNL_CUST_PROD1object in R3AS tcode, there is no replication log in SMQ2 but still the Italian language is not replicated into SRM.
    There are no logs in SMW01 tcode also.
    Please suggest.
    Best regards,
    Sam

    Hi,
    As david explained,you need to set the filter for the LANGUAGE field  in trascn R3AC3 before replicating the product categories.
    In R3AC3 select DNL_CUST_PROD1. Go to table structures tab . Click on the filter next to T023T table. This will take you to the filter tab. Select source site name and filter options. In the field put "SPRAS", in op put "EQ" and in low value the value 'IT"(for italian) . You can also describe a range here instead of individual material group numbers.
    BR,
    Disha.
    Do reward points for  useful answers.

  • User Exit or BADI for Material master

    When save in MM1 or MM02,  we need a user exit or Badi to <u><b>get ECM data</b></u> (which is saved in AENR or AEOI table). Please help for this.

    Hi Krishna,
    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
    These ar ethe avilable exits and badis.
    Rgds,
    P.Naganjana Reddy

  • R3AS Load Objects - Changing Material Group Descriptions

    Hello,
    We use SAP ECC6 and SRM 5.
    We currently have some R/3 Material Groups descriptions that need changing in our ERP system.
    I am concerned with doing this as it appears that the material groups are replicated in SRM in the COMM_HEIRARCHY, albeit that they are not actually used in SRM.
    The issue I have, is when using R3AS to load the material groups, which load object should I use to just amend descriptions?
    It states in our documentation:
    DNL_CUST_BASIS3 - BASIS CRM Online. We use this for the initital load, i.e. a new build
    DNL_CUST_PROD1 - Product: Categories. We used this one for new product categories
    DNL_CUST_PROD0 - Material Number Coversions. I don't know what this is used for
    MATERIAL is for R/3 Material Master. I don't know what this is for
    Can someone please advise which load object would be relevant to use, and also clarify what DNL_CUST_PROD0 and MATERIAL is used for.
    Many Thanks
    Lisa Pallas

    Hello Lisa,
    Customizing object DNL_CUST_BASIS3: for data as Units of Measurement, currency, etc.
    Customizing object DNL_CUST_PROD1: to replicate R/3 product categories
    Customizing object DNL_CUST_PROD0: linked to customizing ( IMG: SAP Implementation Guide > SAP Supplier Relationship Management > SRM Server > Master Data > Products > Define Output Format and Storage Format of Product IDs
    Business object MATERIAL: to replicate R/3 materials
    According to your need, you have only to reload customizing object DNL_CUST_PROD1.
    Regards.
    Laurent.

  • Function modules for material and description

    Hi,
    Pls let me know the function module for material and description.
    Regards,
    Bala

    Hi,
    Please use FM: MD_MATERIAL_GET_TEXT
    Reagrds
    Raju

  • G/L Accounts for Material Group

    I have been serching over the forum but couldn't find Table that will Relate to  G/L Accounts for Material Group.
    Actually we would need to know which (service) material group brings GL account 53**** when creating purchase request.
    Is anyone aware of the Tables regarding this??
    <<Text removed>>
    Regards
    Edited by: Matt on Oct 12, 2011 6:43 AM

    Ajit,
    Thanks for reply. My requirement is not to maintain GL which will decault in PR or PO but I just want to know which (service) material group brings GL account 530000 when creating purchase request.
    Regards

  • Purchase info record for material groups

    Hi all,
    We have purchase info records for material groups, not material specific. When I create and activate integration model for these info records, no info record is sent to APO. Is there a way to create Transportaiton Lanes automatically in APO?
    Regards,
    Jenny

    Hi,
    In APOPurchase info record is transfered as external procurement relationship.
    Generally Transportation lanes are created automatically for plant to plant transfer when you define special procurement key in MRP view of material master accordingly.
    In case of T. lane for vendor, automatic generation may not work. Still you may try using correct special procurement key + material specific vendor info record..
    Thanks,
    Mangesh A. Kulkarni

  • Source List for Material Group

    Hi All,
    How do I maintain a source list for a material group.? Since ME01 requires a material, I cannot create source list in this tranasction.
    The client want a the Source (for material Group) to be assigned automatically in PR assignment step.
    Again, within a material group there can be several infor records, For example:
    Mater Group: Office Supp.....I can have two infor rec for the same vendor....one with "Short Text" Notepad and another info rec with "Short Text": Paperclips. Or the second info record could be a different vendor also.
    How could the system know which one to assign as a source since it's the same material group (one for Notepads and the other for paperclips)??
    Thanks in advance

    Hi duke,
    In SAP we have a choice of creating source list for a "Material Group ". Following is the method.
    You may have the outline agreements related to material group rather than a single specific material - For ex. outline agreement with a item category M( Material unknown) or      W ( material group).In doing so you can decide whether to exclude or include certain materials of the relevant material group by means of the source list.
    To create the source list for a material group proceed as follows.
    1) On the outline agreement overview screen, select the items for which you wish to enter the source list record & choose Item --> Maintain source list
    2) To exclude the particular material keep the "Exclusion" indicator set against a material with a validity period.
    I hope this will be useful to you.
    Vivek

  • Restrict Vendor for material group

    Hello Friends,
    My client has a new requirement as below:-
    I have material groups : 0001, 0002 and 0003
    For Material Group 0001 : Only Vendors A, B & C are allowed.
    For Material Group 0002 : Only Vendors  B, C & D are allowed.
    For Material Group 0003 : Only Vendors  A, C & D are allowed.
    Is this possible any ways. Please help.. If it is not possible in standard, please help with some user exit if any..
    Thanks & have a great week end...

    Friends,
    I am closing this thread since I could find an answer myself the same is shared below hoping that the same will be useful for atleast few..
    1) Create the Info record with material group without price (Make price non-    mandatory in the config.)
    2) Control creation of Info records and price update for Info records thru    EVO Parameter and assign the same with user.
    3) Make Info record mandatory for the PO
    4) Make sure that Info records are maintained for the material vendor combination only where the vendor is a selected (If you dont any one of them control them thru sourcelist or block the vendor)
    If this is done if you have not maintained atleast one PIR for material group vendor combination, you can not create a PO.
    Guys, Pls let me know if this makes sense..
    Regards

  • Get material group description

    I use V023 to get the material description, in se11, i can check those data dictionary, but i can't join V023 in ABAP, it shown the error message ""V023" is not defined in the ABAP Dictionary as a table, projection view, or database view.". How can i retrieve the material group description. Thanks!

    Table name is T023T.
    Fields are
    SPRAS
    MATKL
    WGBEZ
    WGBEZ60
    you need to pass language key too.

  • Userexit or BADI for program *RMMRP000* for background job

    Hi,
    We are scheduling background job for MRP through SM36 using program  RMMRP000 or Through Transaction MDBT (MDBT is calling program RMMRP000) which creates PR (through background job).
    I want to default one field in PR (PO Price field in valuation tab in PR default to gross) using any userexit or BADI.
    Can any body suggest me userexit or BADI for program RMMRP000 for background job
    Regards.

    Hi,
    1. The below are the List of  Userexit for this MDBT t.CODE.
    2. But i dont see any one helping to resolve your issue.
    3. May be you should lookg at the Userexit for me21n or relevant Purhcase requisition creation transaction.
    reg
    dsk

  • Userexit or Badi for vl01n date check

    Hi experts,
                     While preparing VL01N, BLDATE, WADAT,WADAT_IST  date should be a current date,
    if else i won t allow that delivery to PGI. kindly give userexit or badi  for this issue.
    Thanks and Regards
    G.Vendhan

    Hi,
    Use these steps to find Badi easily.
    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.
    Hope this helps u.
    thanks.

  • User exit/BADI for material Po text

    HI,
    can any one suggest me User Exit/BAdi for material PO text in item level in PO
    Regards

    USE ME_PROCESS_PO_CUST
    METHOD : PROCESS_ITEM
    REGARDS
    KANISHAK

Maybe you are looking for

  • Error with BPM

    I am working on a Scenario in which XI is receving a soap message using soap adapter and passing it to BPM Engine but i get following error in message monitoring. I have a abstract inteface by name MI_FileIn which is used in the BPM. in the Receive s

  • GLSL support for intel x3100 video cards?

    I recently purchased a Lenova Thinkpad T61. I opted for an Intel integrated graphics card (X3100) since I had heard Intel had good open source drivers. Recently, I tried to play with some GLSL (OpenGL Shading Language) programming, but was greeted wi

  • New ledger and migration

    Dear all, We'll upgrade system from 4.7 to ECC6.0, after upgrade, we would like to activate new ledger, my questions are: 1.Can we see the account balance correctly using FAGLB03? or just can see the balance which occurred in new ledger, this means e

  • Java is disabled on my iMac.

    I've followed instructions to enable java 6 and upgraded to 7 and nothing works.  I've enabled JAVA on my web browsers, but when i go to the JAVA site to test if it's been installed, I get an error message telling me it has not been.  I need JAVA to

  • Why is time capsule not doing a full system backup?

    It's only backing my users folder and nothing more. Their is nothing excluded from time machine in the options. Also I have my time capsule set up the right way.