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

Similar Messages

  • 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

  • Table for characteristics of a material

    hi all,
            i have a requirement where in i need to add a customized field for characteristics of a material. where can i find the table for charactersitics of a material? i found the structure RCTAV but i could not find the table refering to this structure.
    Thanks in advance....
    Anil Kumar

    chk these FMs
    BAPI_OBJCL_GETDETAIL
    MATERIAL_READ_CLASSIFIC_RT
    also chk this
    You can also query tables AUSP and CABN for the data.
    AUSP-OBJEK = Matnr
    Get the value of ATINN and ADZHL from AUSP for the above value and you should be able to query CABN using these

  • Query for classfication for material number

    Hi,
    I would like to create a query that links the material number (MARA) with its assigned classes (in classification in material master) and characteristics for each class. So I want to be able to key in a material number and receive the class and all charateristics and values for that.
    Do you know which tables I should join?
    Thanks,
    Ola

    For query you use table AUSP only where Object field is your mateiral number and this will return the value of Char
    if you need class also than link the KLAH table
    MARA you don't need here and wont link

  • Enhance product search in ICSS.

    Hi Expert,
    In ICSS I want to enhance the product search in create service ticket. As a standard functionality you can search product by entering product id or description. I want to enhance that search by catalor id. Means by putting catalog id it should give the corresponding material. We have created ZCATALOG1 and ZCATALOG2 attributes in an index of trexadmin and customized the ICSS UI in such a way that catalog id will come below product id . There you can put the catalog id. Now question is how to assign the search text in ZCATALOG1. Any body has any clue how to it?. It will be really helpfull to me.

    Hi Tuhin,
        PFB the link this might help you.
    Re: Product custom search logic in Web UI
    Regards,
    Lakshmi.Y

  • Enhance Product Search PRD01QR by Division

    Hi,
    I need to enhance the product search ( Component PRD01QR) with a new search criteria Division. Could you please advise me on how to achieve the functionality.
    Regards,
    Kamesh Bathla

    Hi Kamesh,
    For achieving the above functionality, there are two steps:
    1. Enhance the search structure which you have already completed successfully. Add the additional attributes in BOL structue and make them available in UI.
    2. Enhance the standard search.
    For this, there is a standard BADI definition in CRM: CRM_BADI_RF_Q1O_SEARCH. You need to create a filter dependent implementation for this. In the filter value, specify the name of your search object. In your case, its 'ProdAdvSearchRgProducts'. In the search method of this implemented class, you'll receive your search attributes value in the importing parameters. Write your own dynamic query here based upon your selection criteria and send result list in ET_GUIDLIST structure as returning parameter.
    The same result list will be populated in the result list of UI.
    The same concept can be adopted for enhancing any search in UI.
    I hope my answer helps.
    Thanks
    Vishal

  • How to enhance the search functionality of the Locator Bar in SAP CRM Order

    Hello All,
    I have one following requirement in SAP CRM 4.0 :
    it is necessarry to search for Orders according to one of the Z-fields(under Z-tab) in SAP CRM.
    Therefore i need to  enhance the search functionality of the Locator Bar with this option.
    Can anyone help me how to achieve this .
    Cheers
    Sreedhar

    HI, Sreedhar
    Check this thread:
    Re: New search help on CRMD_ORDER locator
    Denis.

  • Inspection characteristics based on material and goup counter

    Hi,
        Do we have some function module which would give us inspection characteristics based on material and group counter. I have gone through many posts in this regard but find answers to get inspection characteristics based on inspection lot number.
    I do not want to get into quality at all. Is there a FM to get the inspection characteristics based on material and group counter or any related tables would be of gr8 help. T-code QP03 takes material and group counter as input and displays the inspection characteristics. Any input in this regard would be of great help.

    Hi,
    Use tables MMAPL , MAPL and PLMK as per your requirement.
    Thanks,
    Vijay

  • Characteristics in the material master (SAP Retail)

    Hi everybody,
    Iu2019m using SAP Retail and I need to maintain characteristics in the material master. These characteristics are used to maintain additional information like u201Caccessoriesu201D and u201Cguaranteeu201D (Iu2019m not working with generic articles and variants).
    Each characteristic need to be maintained in different languages:
    Example: Guarantee u2013 In Portuguese the value should be u201C2 anosu201D and in English the value should be u201C2 yearsu201D. 
    There are no predefined values for these characteristics. We use additional values and the user can maintain a free text, but it should be different in Portuguese and in English.
    One solution I can use is to create each Characteristic in English and in Portuguese, and then maintain different values for each one. Iu2019m trying to find a better solution because I have numerous Characteristics.
    Does anyone know another way to solve this issue?
    Thanks in advance,
    SN

    Hi SN,
    this requirement sounds a little bit strange.
    Question 1: This field 'Guarantee' is  valid for all articles or for some articles only ( e.g merchandise categroy electronics)
    Question 2: How do you name the Characteristic? is it Years or Ano or guarantee?
    Question 3: using additional vlaues will kick out the value check. So it is like a free text entry. Of course this makes no sense, because you can also add 'g hello' als a valid value.
    Why you choose this way ?
    Question 4: What is the issue using fixed values? I guess the guarantee values are limited at all.
    Question 5: Why you don't use a MARA append field and hide it on unwished mechandise categories. Thats easier to handle and a value check can be implemented.  So you are able to create a field with a unit in different languages
    e.g.    Guarantee          Years
    if you logon in english.
    regards
    Björn
    PS: Did you tried the new characteristic strorage?

  • 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.

  • Query rewrites with Nested materialized views with different aggregations

    Platform used : Oracle 11g.
    Here is a simple fact table (with measures m1,m2) and dimensions (a) Location (b) Calendar and (c) Product. The business problem is that aggregation operator for measure m1,m2 are different along location dimension and Calendar dimension. The intention is to preaggregate the measures for a product along the calendar dimension and Location dimension and store it as materialized views.
    The direct option is to define a materialized view with Inline queries (Because of the different aggrergation operator, it is not possible to write a query without Inline query). http://download-uk.oracle.com/docs/cd/B28359_01/server.111/b28313/qradv.htm#BABEAJBF documents the limitations that it works only for 'Text match' and 'Equivalent queries' and that is too limiting.
    So decided to have nested materialized view, with first view having just joins(my_dim_mvw_joins), the second view having aggregations along Calendar dimension (my_dim_mvw_calendar) and third view having aggregations along the Location dimension(my_dim_mvw_location). Obviously I do not want the query I fire to know about materialized views and I fire it against the fact table. I see that for the fired query (Which needs aggregations along both Calendar and Location), is rewritten with just second materialized view but not the third. (Had set QUERY_REWRITE_INTEGRITY as TRUSTED) .
    Wanted to know whether there are limitations on Query Writes with nested materialized views? Thanks
    (Have given a simple testable example below. Pls ignore the values given in 'CALENDAR_IDs', 'PRODUCT_IDs' etc as they are the same for all the queries)
    -- Calendar hierarchy table
    CREATE TABLE CALENDAR_HIERARCHY_TREE
    (     "CALENDAR_ID" NUMBER(5,0) NOT NULL ENABLE,
    "HIERARCHY1_ID" NUMBER(5,0),
    "HIERARCHY2_ID" NUMBER(5,0),
    "HIERARCHY3_ID" NUMBER(5,0),
    "HIERARCHY4_ID" NUMBER(5,0),
    CONSTRAINT "CALENDAR_HIERARCHY_TREE_PK" PRIMARY KEY ("CALENDAR_ID")
    -- Location hierarchy table
    CREATE TABLE LOCATION_HIERARCHY_TREE
    (     "LOCATION_ID" NUMBER(3,0) NOT NULL ENABLE,
    "HIERARCHY1_ID" NUMBER(3,0),
    "HIERARCHY2_ID" NUMBER(3,0),
    "HIERARCHY3_ID" NUMBER(3,0),
    "HIERARCHY4_ID" NUMBER(3,0),
    CONSTRAINT "LOCATION_HIERARCHY_TREE_PK" PRIMARY KEY ("LOCATION_ID")
    -- Product hierarchy table
    CREATE TABLE PRODUCT_HIERARCHY_TREE
    (     "PRODUCT_ID" NUMBER(3,0) NOT NULL ENABLE,
         "HIERARCHY1_ID" NUMBER(3,0),
         "HIERARCHY2_ID" NUMBER(3,0),
         "HIERARCHY3_ID" NUMBER(3,0),
         "HIERARCHY4_ID" NUMBER(3,0),
         "HIERARCHY5_ID" NUMBER(3,0),
         "HIERARCHY6_ID" NUMBER(3,0),
         CONSTRAINT "PRODUCT_HIERARCHY_TREE_PK" PRIMARY KEY ("PRODUCT_ID")
    -- Fact table
    CREATE TABLE RETAILER_SALES_TBL
    (     "PRODUCT_ID" NUMBER,
    "PRODUCT_KEY" VARCHAR2(50 BYTE),
    "PLAN_ID" NUMBER,
    "PLAN_PERIOD_ID" NUMBER,
    "PERIOD_ID" NUMBER(5,0),
    "M1" NUMBER,
    "M2" NUMBER,
    "M3" NUMBER,
    "M4" NUMBER,
    "M5" NUMBER,
    "M6" NUMBER,
    "M7" NUMBER,
    "M8" NUMBER,
    "LOCATION_ID" NUMBER(3,0),
    "M9" NUMBER,
    CONSTRAINT "RETAILER_SALES_TBL_LOCATI_FK1" FOREIGN KEY ("LOCATION_ID")
    REFERENCES LOCATION_HIERARCHY_TREE ("LOCATION_ID") ENABLE,
    CONSTRAINT "RETAILER_SALES_TBL_PRODUC_FK1" FOREIGN KEY ("PRODUCT_ID")
    REFERENCES PRODUCT_HIERARCHY_TREE ("PRODUCT_ID") ENABLE,
    CONSTRAINT "RETAILER_SALES_TBL_CALEND_FK1" FOREIGN KEY ("PERIOD_ID")
    REFERENCES CALENDAR_HIERARCHY_TREE ("CALENDAR_ID") ENABLE
    -- Location dimension definition to promote query rewrite
    create DIMENSION LOCATION_DIM
    LEVEL CHAIN IS LOCATION_HIERARCHY_TREE.HIERARCHY1_ID
    LEVEL CONSUMER_SEGMENT IS LOCATION_HIERARCHY_TREE.HIERARCHY3_ID
    LEVEL STORE IS LOCATION_HIERARCHY_TREE.LOCATION_ID
    LEVEL TRADING_AREA IS LOCATION_HIERARCHY_TREE.HIERARCHY2_ID
    HIERARCHY PROD_ROLLUP (
    STORE CHILD OF
    CONSUMER_SEGMENT CHILD OF
    TRADING_AREA CHILD OF
    CHAIN
    -- Calendar dimension definition
    create DIMENSION CALENDAR_DIM
    LEVEL MONTH IS CALENDAR_HIERARCHY_TREE.HIERARCHY3_ID
    LEVEL QUARTER IS CALENDAR_HIERARCHY_TREE.HIERARCHY2_ID
    LEVEL WEEK IS CALENDAR_HIERARCHY_TREE.CALENDAR_ID
    LEVEL YEAR IS CALENDAR_HIERARCHY_TREE.HIERARCHY1_ID
    HIERARCHY CALENDAR_ROLLUP (
    WEEK CHILD OF
    MONTH CHILD OF
    QUARTER CHILD OF
    YEAR
    -- Materialized view with just joins needed for other views
    CREATE MATERIALIZED VIEW my_dim_mvw_joins build immediate refresh complete enable query rewrite as
    select product_id, lht.HIERARCHY1_ID, lht.HIERARCHY2_ID, lht.HIERARCHY3_ID, lht.location_id, cht.HIERARCHY1_ID year,
    cht.HIERARCHY2_ID quarter, cht.HIERARCHY3_ID month, cht.calendar_id week, m1, m3, m7, m9
    from retailer_sales_tbl RS, calendar_hierarchy_tree cht, location_hierarchy_tree lht
    WHERE RS.period_id = cht.CALENDAR_ID
    and RS.location_id = lht.location_id
    and cht.CALENDAR_ID in (10,236,237,238,239,608,609,610,611,612,613,614,615,616,617,618,619,1426,1427,1428,1429,1430,1431,1432,1433,1434,1435,1436,1437,1438,1439,1440,1441,1442,1443,1444,1445,1446,1447,1448,1449,1450,1451,1452,1453,1454,1455,1456,1457,1458,1459,1460,1461,1462,1463,1464,1465,1466,1467,1468,1469,1470,1471,1472,1473,1474,1475,1476,1477)
    AND product_id IN (5, 6, 7, 8, 11, 12, 13, 14, 17, 18, 19, 20)
    AND lht.location_id IN (2, 3, 11, 12, 13, 14, 15, 4, 16, 17, 18, 19, 20)
    -- Materialized view which aggregate along calendar dimension
    CREATE MATERIALIZED VIEW my_dim_mvw_calendar build immediate refresh complete enable query rewrite as
    select product_id, HIERARCHY1_ID , HIERARCHY2_ID , HIERARCHY3_ID ,location_id, year, quarter, month, week,
    sum(m1) m1_total, sum(m3) m3_total, sum(m7) m7_total, sum(m9) m9_total,
    GROUPING_ID(product_id, location_id, year, quarter, month, week) dim_mvw_gid
    from my_dim_mvw_joins
    GROUP BY product_id, HIERARCHY1_ID , HIERARCHY2_ID , HIERARCHY3_ID , location_id,
    rollup (year, quarter, month, week);
    -- Materialized view which aggregate along Location dimension
    CREATE MATERIALIZED VIEW my_dim_mvw_location build immediate refresh complete enable query rewrite as
    select product_id, year, quarter, month, week, HIERARCHY1_ID, HIERARCHY2_ID, HIERARCHY3_ID, location_id,
    sum(m1_total) m1_total_1, sum(m3_total) m3_total_1, sum(m7_total) m7_total_1, sum(m9_total) m9_total_1,
    GROUPING_ID(product_id, HIERARCHY1_ID, HIERARCHY2_ID, HIERARCHY3_ID, location_id, year, quarter, month, week) dim_mvw_gid
    from my_dim_mvw_calendar
    GROUP BY product_id, year, quarter, month, week,
    rollup (HIERARCHY1_ID, HIERARCHY2_ID, HIERARCHY3_ID, location_id)
    -- SQL Query Fired (for simplicity have used SUM as aggregation operator for both, but they will be different)
    select product_id, year, HIERARCHY1_ID, HIERARCHY2_ID,
    sum(m1_total) m1_total_1, sum(m3_total) m3_total_1, sum(m7_total) m7_total_1, sum(m9_total) m9_total_1
    from
    select product_id, HIERARCHY1_ID , HIERARCHY2_ID , year,
    sum(m1) m1_total, sum(m3) m3_total, sum(m7) m7_total, sum(m9) m9_total
    from
    select product_id, lht.HIERARCHY1_ID , lht.HIERARCHY2_ID , lht.HIERARCHY3_ID ,lht.location_id, cht.HIERARCHY1_ID year, cht.HIERARCHY2_ID quarter, cht.HIERARCHY3_ID month, cht.calendar_id week,m1,m3,m7,m9
    from
    retailer_sales_tbl RS, calendar_hierarchy_tree cht, location_hierarchy_tree lht
    WHERE RS.period_id = cht.CALENDAR_ID
    and RS.location_id = lht.location_id
    and cht.CALENDAR_ID in (10,236,237,238,239,608,609,610,611,612,613,614,615,616,617,618,619,1426,1427,1428,1429,1430,1431,1432,1433,1434,1435,1436,1437,1438,1439,1440,1441,1442,1443,1444,1445,1446,1447,1448,1449,1450,1451,1452,1453,1454,1455,1456,1457,1458,1459,1460,1461,1462,1463,1464,1465,1466,1467,1468,1469,1470,1471,1472,1473,1474,1475,1476,1477)
    AND product_id IN (5, 6, 7, 8, 11, 12, 13, 14, 17, 18, 19, 20)
    AND lht.location_id IN (2, 3, 11, 12, 13, 14, 15, 4, 16, 17, 18, 19, 20)
    GROUP BY product_id, HIERARCHY1_ID , HIERARCHY2_ID , HIERARCHY3_ID , location_id, year
    ) sales_time
    GROUP BY product_id, year,HIERARCHY1_ID, HIERARCHY2_ID
    This Query rewrites only with my_dim_mvw_calendar. (as saw in Query Plan and EXPLAIN_MVIEW). But we would like it to use my_dim_mvw_location as that has aggregations for both dimensions.

    blackhole001 wrote:
    Hi all,
    I'm trying to make my programmer's life easier by creating a database view for them to query the data, so they don't have to worry about joining tables. This sounds like a pretty horrible idea. I say this because you will eventually end up with programmers that know nothing about your data model and how to properly interact with it.
    Additionally, what you will get is a developer that takes one of your views and see's that of the 20 columns in it, it has 4 that he needs. If all those 4 columns comes from a simple 2 table join, but the view has 8 tables, you're wasting a tonne of resources by using the view (and heaven forbid they have to join that view to another view to get 4 of the 20 columns from that other view as well).
    Ideally you'd write stored routines that satisfy exactly what is required (if you are the database resource and these other programmers are java, .net, etc... based) and the front end developers would call those routines customized for an exact purpose.
    Creating views is not bad, but it's by no means a proper solution to having developers not learn or understand SQL and/or the data model.

  • Query on Implicit Enhancement

    Hello experts,
    I have a query related to enhancing a function module. I am doing phase confirmation of process orders using the BAPI 'BAPI_PROCORDCONF_CREATE_TT' in a module pool program(Z program). I have added few z fields to AFRU. Now i need to enhance the bapi 'BAPI_PROCORDCONF_CREATE_TT' so that the z fields are updated in AFRU. In this bapi i see a function module MAP2I_PI_TIMETICKET_TO_AFRUD in which the z fields can be moved to afrud using an implicit enhancement. But the problem is that the function module MAP2I_PI_TIMETICKET_TO_AFRUD is auto generated and there is a comment in the fm saying 'Dont Change it Manually!!'. Now i need to know how is this function module generated or is there any other way to do phase confirmation of process orders. Pls Help.
    Regards,
    Ramanan R.S.

    Hi Ramanan R.S.,
    Function modules MAP2I* and MAP2E* are generated via BDBS transaction.
    As your function module is named MAP2I_PI_TIMETICKET_TO_AFRUD, it means that there's a transfer from external to internal (because of MAP2I), and from PI_TIMETICKET structure to AFRUD structure.
    But I don't recommend that you work with this one. Create your own MAP2I function module. From BAPIRET2 to BAPIRETURN for instance if you're lazy like me. Store it in your own Z function group, local package.
    Before regenerating, you have to look at what was the initial mapping, as it is not stored in a database table, only in the source code. Moreover, it's possible that there were some manual changes before, so they have to be applied manually, so that means a modification of standard if you had worked on a standard one. Copying the MAP2I function module to a Z one before deleting is a very good idea!
    - Create your implicit enhancement. Test it.
    - In BDBS, you enter transfer from external to internal, plus these 2 names in BDBS, click Generate button.
    - It says "already exists", so you have to click the Delete button
    - There could be a popup "is still used", click Delete to confirm
    - It proposes a default mapping between fields, that can be different from what was previously done.
    - That will regenerate the function module (you can make sure by looking at its timestamp).
    - Test it again, you'll see that your implicit enhancement is still there.
    I admit it doesn't test the situation of a true upgrade, and I don't know any documentation that confirms that the deletion of generated repository object doesn't impact its implicit enhancement. Feedbacks welcome...
    BR
    Sandra

  • 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

Maybe you are looking for

  • How to Trim Rectangle with text to create reflection?

    Hello Everyone, I am realtively new to Illustrator and I am facing a problem that I am hoping some expert here can resolve. I have some text and I have converted it to outlines. Now I want to create shine on it. I want to fill a rectangle with white

  • Hyper-V convert to direct disk

    My 2012 R2 Server is running on 5 RAID6 HDDs + 1 spare (WD REDs). It's used as a storage server, with two Windows 8.1 Pro Hyper-V clients. The problem is that the disk access in general is kind of slow. So my idea is to move the windows to RAID1 SSD,

  • Collections.shuffle(list) without repetition.

    Hello every one, I am new to Collections. I have an String ArrayList having 3 strings in it. [A, B, C]. Now all i want is 6 permutations. [A, B, C] [A, C, B] [B, A, C] [B, C, A] [C, A, B] [C, B, A] Here is the simple code i have written. I hard coded

  • JTree Nimbus selection treeNode

    I made a jtree with a custom TreeCellRenderer. The leaf nodes are a jpanel with a checkbox in and JPanel. The problem now is that when you select a tree node, there is a selection color box beside the jpanel. Here is a sscce: import java.awt.BorderLa

  • How to hide/suppress empty columns in pivot tables

    In a pivot table, is there any way to do something like "suppress missing data" to make an entire column hidden only if it is empty? I have a situation where I can't hide an entire measure because the measure has values for another dimension, but I w