Material Search FM

Hi Gurus,
              I am working in a portal related project, Where i need to material master search.
Any suggestions on what would be Important Search parameters i can use in searching for material master Numbers?
Thank you
ANil

Hi Anil,
Look, Every material has one division, and is assigned to sales area, so i will suggest,
Go for
Mat Description,
Sales Org,
Division,
Distribution channel ( SODCDiv= Sales Area)
Plant
Storage Location
Reward Point if helpful.
Thanks,
raja

Similar Messages

  • Custom FM for material search

    Hi expert,
    I am trying to make custom FM for material search based on certain search criteria.
    It give me error like" In unicode programs, the " " character can not appears in names, as it does here in names "LT_MATNRSEL   TYPE TABLE OF BAPIMATRAM".
    Also it giving option for  me as use " type range of" instead of "type table of"
    also when i am making changes saying it is not expected. I am pasting the sample code below.
    ""Local Interface:
    *"  IMPORTING
    *"     VALUE(IV_MAXROWS) TYPE  BAPIMAXROW DEFAULT 100
    *"     VALUE(IV_MATERIAL_NBR) TYPE  MATNR OPTIONAL
    *"     VALUE(IV_PLANT) TYPE  WERKS_D
    *"     VALUE(IV_MATERIAL_DESC) TYPE  TEXT40 OPTIONAL
    *"  EXPORTING
    *"     VALUE(EV_PLANT) TYPE  WERKS
    *"  TABLES
    *"      RETURN STRUCTURE  BAPIRET2
    *"      RT_MATNRLIST STRUCTURE  BAPIMATLST
       DATA:   lt_matnrsel   TYPE TABLE OF bapimatram,
              ls_matnrsel   TYPE bapimatram,
              lt_matdescsel TYPE TABLE OF  bapimatras,
              ls_matdescsel TYPE bapimatras,
              lt_plantsel   TYPE TABLE OF   bapimatraw,
              ls_plantsel   TYPE bapimatraw,
              lt_return     TYPE TABLE OF bapiret2,
              ls_return     TYPE bapiret2,
              ls_matnrlist  TYPE bapimatlst,
              lt_generaldata TYPE TABLE OF bapimatdoa,
              ls_generaldata TYPE bapimatdoa,
              lt_materialvaluationdata TYPE TABLE OF bapimatdobew,
              ls_materialvaluationdata TYPE bapimatdobew.
    *---  Returning the plant so it can be used as a MBO attribute
            ev_plant = iv_plant.
    *--- fill search ranges value
    *--- Material Description
      IF iv_material_desc IS NOT INITIAL.
        ls_matdescsel-sign        = 'I'.
        ls_matdescsel-option      = 'CP'.
        ls_matdescsel-descr_low   = iv_material_desc.
        APPEND ls_matdescsel TO lt_matdescsel.
      ENDIF.
      IF iv_material_nbr IS NOT INITIAL.
        ls_matnrsel-sign        = 'I'.
        ls_matnrsel-option      = 'EQ'.
        ls_matnrsel-matnr_low   = iv_material_nbr.
        APPEND ls_matnrsel TO lt_matnrsel.
      ENDIF.
    *--- Material Description
      ls_plantsel-sign        = 'I'.
      ls_plantsel-option      = 'EQ'.
      ls_plantsel-plant_low  = iv_plant.
      APPEND ls_plantsel TO lt_plantsel.
    *--- call BAPI
      CALL FUNCTION 'BAPI_MATERIAL_GETLIST'
        EXPORTING
          maxrows              = iv_maxrows
        TABLES
          matnrselection       = lt_matnrsel
          materialshortdescsel = lt_matdescsel
          plantselection       = lt_plantsel
          matnrlist            = lt_matnrlist
          return               = lt_return.
    Thanks And Regards
    Ranjeet Singh

    This post is successful. Only error was in formatting. In my screen there are some dots which was creating problems.
    Thanks for Reply.
    Ranjeet Singh.

  • Material search by description

    Hi,
    we want to use TREX for material search from MM03  F4 search .
    we are able to search based on material no , EAN no  , but not with material description.
    I dont want to use full text search field because it do the search on other fields as well.
    Let me know what could be the cause that material is not getting searched by description.
    Regards
    Yashpal Gupta
    Please see the attached screen shot.

    Hi Gupta
    Just refer the SCN link
    TREX_Search Not working
    BR
    SS

  • CRM 7.0 Material Search and MDM

    How could MDM be used in CRM 70 , in order to have a better/quicker material search functionality ? can the same be done for ECC ( pre-requisite, having all the characteristic defined in MDM) . Any presentation on the topic will help . Thank you.

    Hi Christophe
    this can be done. You can call MDM web services for either doing a Free form search or even run a MDM matching strategy to find potential duplicates defined based on rules in MDM.
    In one of our projects we have used Web services call from CRM ecommerce portal to MDM for doing a Customer search.
    Thanks-Ravi

  • Querying characteristics in Enhanced Material Search

    Hi Glen,
    I'm glad you are interested in the Enhanced Material Search. I am the solution manager responsible for this function. Your requirement is well known, but so far I don't see a simple, standard worthy solution to allow a search for (hundreds or even thousants of) characteristic values while keeping the user interface simple when selecting or displaying the desired value(s).
    Maybe you have an idea for an appropriate customer specific solution that fits your own requirements. Therefore you can use some Business Add-Ins to create customer specific search criteria (see my blog /people/ingo.woesner/blog/2009/03/05/enhanced-material-search-with-creation--part-4-how-to-create-new-search-criteria-wo-modification). Using the badi described therein you could create a new search criteria "Classicification Characteristics " and select specific characteristics. Of course you have to add all characteristics to the SES business object BUS1001006 before, as you have mentioned.
    More Business Add-ins for various topics are mentioned in my other blog http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/12999. [original link is broken] [original link is broken] [original link is broken]
    I hope this brings you a step further. In case you need more guidance, you can give me a call on +49 6227 771737, and we will then find a time for a webinar/conference call. I will try to get a developer invited as well.
    Best regards,
    Ingo
    Dr. Ingo Woesner
    Solution Manager
    IS Trading Industries
    Wholesale Distribution
    SAP AG
    Neue Bahnhostrasse 21
    66386 St. Ingbert, Germany
    T +49 6227 7-71737
    F +49 6227 78-28405
    M +49 173 309 0119
    P +49 6227 7-66261

    Thanks for your response, Ingo.
    Whilst I really like the current design for simple requirements (extend a structure, change some config and, voila!, you have new search criteria), when the requirements become more complicated, it would be nice to have more flexibility to dynamically influence which index is used to do the search. The results of the search could then just feed into the results view as per normal.
    Here are a few ideas which are based on my own situation but might be suitable and/or scalable to other situations. I haven't put too much thought into them so they may or may not be feasible.
    As mentioned in my original post, we only have a small number of variant classes for which our material variants are created. My thought it that we could create a separate index and business object class for each variant class (all the indexes would be very similar to BUS1001006 but have their own extra attributes for their own characteristics) and a dropdown field on the search view that allows you to choose the variant class via which you want to search. Changing the selection in the dropdown field would change the available search fields in the view and when the search is executed the index that corresponds to the chosen variant class would used for the search.
    I'm happy to discuss this further to refine the requirements and/or design.
    Regards
    Glen

  • Configuring the Enhanced material search in sales order

    I am trying to add our own fields to the extended material search help scren in VA02.
    - From the config, logistics-generail/material master/enhanced material search/define search parameters - and in here added the custom fields, whihc happend to be 'Z' fields that we have added to the material characteristics.
    - the new fields then appear on the extended material seach screen in VA02, but they don;t retain the data inputtted, or work in the actual search
    - AS part of this work we have also configured SES Material Master Business Object BUS1001006 - and setup our own 'Z@ class, whihc adds these 'Z' attributes to the material search help. 
    - THis all works on the materials search help, but not on the extended material help screen
    I have also looked at the BADIs part of the enhanced search help, but these only appear to be called once the results have been extracted.  So can anyone give any gudience on how we get the new fields in this screen actually working..

    The problem was simple.  The table include used field names ZZ, where as all the other besoke fields and data elements were just Z, so once we sync'd everything it magically worked

  • Enhanced material search with creation

    hi guys,
    i need your support to start using the enhanced material search in SD environment.
    I´ve done the settings in theconfiguration guide mention based on ECC 6.0 EHP2,
    but i didnt get the button to start the search in VA01 / VA21 etc !? don´t know why.
    Is there anyone having the same problem ?
    Isn´t it possible to run this funktion without TREX Search Engine, do i really need
    to setup a new server ?!
    Looking forward for your help.
    Thanks
    Carsten

    Have you gone through this blog
    Enhanced Material Search - Part 5: Major improvements in Enhancement Package 5
    posted by  Ingo Woesner                   
    G. Lakshmipathi

  • Enhanced Material search - more than 100 results?

    Is there any way to return more than 100 results in the enhanced material search?
    Thanks!

    Yes this possible - th'o config.
    When you do your initial set-up for Configure & Activate Enhanced Search with creation -
    > (SPRO>SD>Basis Func-->Add. Func. for Mat) you can specify the search max entries. In your current system, looks like it is defaulted as 100 for that Sales Order Type. You can try changing this & it should work.
    Regards,
    Andy

  • Material Search based on field - Document in ECC 6.0

    Hi All,
    Need one help –
    In Material Master Basic Data – 2, we have one field : Document under Drawing details.
    In 4.6C, there was option to find list of materials based on field Document : inside Tab – “Material by Old Material Number”
    But on ECC – 6.0 this field Document is not available in any of the search options.
    I want to find all the materials against Document in ECC – 6.0.
    Please help me out on this.
    Thanks in advance,
    Regards,
    Ravi Davda

    HI Ravi,
    May be some note to be updated , Check in OSS
    Thanks
    bala

  • MM03 material search by manufacturer part number

    Dear Experts,
    is it possible to search a material by manufacturer part number (field MFRPN in MARA, appears in Purchasing view)?
    If not, how difficult is it to adapt the search function to include this field?
    Thanks in advance.
    Regards,
    Sergei

    Hi Sergei,
    Have you read the IMG notes for the node Logistics - General -> Material Master -> Tools -> Maintain Search Helps? They explain how to add search helps to material master. The search helps by MPN available in SAP standard are included in the collective search help MAT1_MPN that you can append to MAT1.
    BR
    Raf

  • Material Search by charactrisctis value

    Hi Gurus,
    I wantto search materials using charctrisics values.
    Ex. while creating material codes i enter charactristics values. such as for material 1000- green color, 1001- yellow, 1002- red,1003-green. and saved.
    While searching i want to search value wise. when i enetr green color then system should show material 1000 & 1003.
    Is it possible?
    Regards,
    Mayur

    hi
    1.goto MM02 press F4 and select seelction by material for class.
    2.or try from CL30N - Find Objects in Classes , CL31 - Find Object In Class Type
    -ashok

  • Material search by List Price

    Dear SAP Guru's
    I have a Client requirement. When creating a sales order we can go for list of materials by pressing F4, client requirement is to display List price also along with the other information
    ex:
    Material Desc        Language       Material No.     List Price
    Can anybody through light on this.
    Thanks
    Rajam

    Hi Rajam,
    In your case the display would not be easy.
    You will have to go for ABAP customization of the serach screen Material by Sales area. This is the only place where you can get the sales area combination and hence relevant price could be picked.
    The seach screen change is not big thing, ask your ABAP folks they would know that. Now you would need to tell them that in the result screen of the serach, they would need to add one more column, which would display the price depending upon the sales area and the material. The data would need to be picked for the specific pricing condtion from the pricing condition table AXXX(  you need to prvide him the table name which carries the combination of sales area and material number).
    The ABAP changes would not be diffcult to do, but you will have to test it throughly for all combination of parameters present in the search parameters.
    Ask me if you need more clarifications.
    Abhishek

  • Customisation of F4 for material search

    dear all,
    while creating a sales order, when i enter material in line item, i want to customise search i.e. F4
    i want to search material on two criteria at a time
    1) material type
    2) material group.
    please give solution

    If You are in ECC 6 the option in the search crieteria is Advanced search for material using search engine.
    Here you need to fill both Material type and Material Group manually.

  • Material search help in MM03, "=" or "MAT1"

    Hi Expert,
    I'm doing upgrade now from 4.7 to ECC 6.0 and have SAP ECC DIMP implemented in our system automatically because the same add-ons also implemented in 4.7 system.
    I noticed that in technical information for Material number field in MM03 or MM02, search help for material number is '=' while in 4.7 the search help for material number is "MAT1". Anyone know why such things happen since in other ECC 6.0 system that I know, search help defined in material number field is still "MAT1". Thank you.

    Hi,
    I have 4.7 implemented.
    For MM03 the search help i have is S_Mat1 ---> which is under Data element -->Futher Charateristics of technical info.
    For MM02 the search help under technical info is '='.
    Data Element is MATNR ---> under that Futher Characteristics i have search help name S_Mat1.
    I think the name given to the search helps are different but has no affect on its properties.
    I dont think that upgrading to ECC 6.0 has anything to do with the search help.
    Hope this helps.
    Regards,
    Darpana.

  • Material Search Help for VA01 - Material by Plant

    Hi Experts,
    I want to know how to find out the search help for that material in that tcode. Please tell me   in detail how to proceed with this and where to go with the modifications or enhancement.
    I am not familiar with user exits, so please help me.
    Regards,
    Bhaskar.

    Hi,
    you don't need any exit / badi.
    Go in VA02, in material number go in technical information : F1 ; F9
    You will show there is no search-help link to the field. So the search-help is taken from the data element.
    Go in SE11 and show the data element MATNR.
    In the thirth tab you will find the search-help link : S_MAT1.
    Go in SE11 and show the search help S_MAT1 (each time you could double click instead of reopen SE11).
    This is a group search, that means, it contains many search help.
    Copy a simple search help, modify as you would like.
    Add your own search help in the S_MAT1, and don't forget to link fields (parameters).
    You don't need any object key or user-exit.
    You will affect all the screen of SAP using this search-help S_MAT1.
    Regards
    Frédéric

Maybe you are looking for