Product Search TIME lag

Hi All,
    I have created a Z-search for Products based on the Plant to which the requisitioner belongs to.Now the number of Products is arnd 1000 due to which when I click on the START  button,the time taken to display the List of  Products is  very high.
  For this ,programmatically i have tried all the options to improve the data retrieval time from the DB,but is there any other way wherein this search time can be reduced?enhance the system performance???
  Also,currently we  are using the  Integrated ITS and sooner will be switching to External ITS where this time lag will increase further....Can anyone help us on this???
Thanks & Regards,
Disha.

Hi Disha,
I had a quick look at your Search help ABAP code.
Here is a resume of your custom logic:
1- read user attribute to get the PLANT
2- call BAPI_MATERIAL_GETLIST and BAPI_SERVICE_GET_LIST with user's search criteria and PLANT
3- get product for needed category from view bbpv_f4pr_gen
4- filter items out of category criteria
You should run an analysis in SE30 to see what is the most consumming step (2 or 3).
You can also simulate a run of BAPI_MATERIAL_GETLIST in R/3 with the same data to get the raw response time, and to deducte the time spent in establishing the RFC connection + network transfer time.
I think the step 3 with a select in bbpv_f4pr_gen for all entries in it_matnrlist1 can be really time consumming if you have many products. How many products do you have in SRM ?
This view is based on 8 tables !!!!!
You should replace it because you just need the product category (join on 2 tables only).
I think a Z function in R/3 doing all those steps more directly is more performant.
But first, as proposed from the beginning, run an SE30 analysis to detect the bottleneck of your custom ABAP, because it depends on your configuration (nb of SRM products, nb of R/3 materials, R/3 performance...).
Otherwise, we are talking for nothing.
Rgds
Christophe

Similar Messages

  • Product Delivered Status Date should be there in Standard Search and Result screen of Service Order. Product Delivered Time should be Available in Result screen and In Result screen there should be facility to filter on basis of Time

    Hi team,
    Product Delivered Status Date should be there in Standard Search and Result screen of Service Order. Product Delivered Time should be Available in Result screen and In Result screen there should be facility to filter on basis of Time.
    How to add this in search result screen.configuration is it possible? or any changes in development.
    Compnent - BT116S_SRVO
    Thanks
    Kalpana

    Hi Kalpana
    Please reread my comment. I said to try and populate "Requested End" Date.
    Make sure the date profile assigned to the transaction includes this Date Type.
    If you can populate this either manually or programmatically the solution should be quite forward.
    If you cannot do this, only then should you look at making any significant sort of enhancement.
    Regards
    Arden

  • Product Search Using Oracle Text or By Any Other Methods using PL/SQL

    Hi All,
    I have requirement for product search using the product table which has around 5 million products. I Need to show top 100 disitnct products searched  in the following order
    1. = ProductDescription
    2. ProductDescription_%
    3. %_ProductDescription_%
    4. %_ProductDescription
    5. ProductDescription%
    6. %ProductDescription
    Where '_' is space.  If first two/three/or any criteria itslef gives me 100 records then i need not search for another patterns
    Table Structure Is as follows
    Create Table Tbl_Product_Lookup
        Barcode_number                Varchar2(9),
        Product_Description Varchar2(200),
        Product_Start_Date Date,
        Product_End_Date Date,
        Product_Price Number(12,4)
    Could you please help me implementing this one ? SLA for the search result is 2 seconds
    Thanks,
    Varun

    You could use an Oracle Text context index with a wordlist to speed up substring searches and return all rows that match any of your criteria, combined with a case statement to provide a ranking that can be ordered by within an inner query, then use rownum to limit the rows in an outer query.  You could also use the first_rows(n) hint to speed up the return of limited rows.  Please see the demonstration below.  If you decide to use Oracle Text, you may want to ask further questions in the Oracle Text sub-forum on this forum or space or whatever they call it now.
    SCOTT@orcl_11gR2> -- table:
    SCOTT@orcl_11gR2> Create Table Tbl_Product_Lookup
      2    (
      3       Barcode_number       Varchar2(9),
      4       Product_Description  Varchar2(200),
      5       Product_Start_Date   Date,
      6       Product_End_Date     Date,
      7       Product_Price          Number(12,4)
      8    )
      9  /
    Table created.
    SCOTT@orcl_11gR2> -- sample data:
    SCOTT@orcl_11gR2> insert all
      2  into tbl_product_lookup (product_description) values ('test product')
      3  into tbl_product_lookup (product_description) values ('test product and more')
      4  into tbl_product_lookup (product_description) values ('another test product and more')
      5  into tbl_product_lookup (product_description) values ('another test product')
      6  into tbl_product_lookup (product_description) values ('test products')
      7  into tbl_product_lookup (product_description) values ('selftest product')
      8  select * from dual
      9  /
    6 rows created.
    SCOTT@orcl_11gR2> insert into tbl_product_lookup (product_description) select object_name from all_objects
      2  /
    75046 rows created.
    SCOTT@orcl_11gR2> -- wordlist:
    SCOTT@orcl_11gR2> begin
      2    ctx_ddl.create_preference('mywordlist', 'BASIC_WORDLIST');
      3    ctx_ddl.set_attribute('mywordlist','PREFIX_INDEX','TRUE');
      4    ctx_ddl.set_attribute('mywordlist','PREFIX_MIN_LENGTH', '3');
      5    ctx_ddl.set_attribute('mywordlist','PREFIX_MAX_LENGTH', '4');
      6    ctx_ddl.set_attribute('mywordlist','SUBSTRING_INDEX', 'YES');
      7    ctx_ddl.set_attribute('mywordlist', 'wildcard_maxterms', 0) ;
      8  end;
      9  /
    PL/SQL procedure successfully completed.
    SCOTT@orcl_11gR2> -- context index that uses wordlist:
    SCOTT@orcl_11gR2> create index prod_desc_text_idx
      2  on tbl_product_lookup (product_description)
      3  indextype is ctxsys.context
      4  parameters ('wordlist mywordlist')
      5  /
    Index created.
    SCOTT@orcl_11gR2> -- gather statistics:
    SCOTT@orcl_11gR2> exec dbms_stats.gather_table_stats (user, 'TBL_PRODUCT_LOOKUP')
    PL/SQL procedure successfully completed.
    SCOTT@orcl_11gR2> -- query:
    SCOTT@orcl_11gR2> variable productdescription varchar2(100)
    SCOTT@orcl_11gR2> exec :productdescription := 'test product'
    PL/SQL procedure successfully completed.
    SCOTT@orcl_11gR2> column product_description format a45
    SCOTT@orcl_11gR2> set autotrace on explain
    SCOTT@orcl_11gR2> set timing on
    SCOTT@orcl_11gR2> select /*+ FIRST_ROWS(100) */ *
      2  from   (select /*+ FIRST_ROWS(100) */ distinct
      3              case when product_description = :productdescription            then 1
      4               when product_description like :productdescription || ' %'       then 2
      5               when product_description like '% ' || :productdescription || ' %' then 3
      6               when product_description like '% ' || :productdescription       then 4
      7               when product_description like :productdescription || '%'       then 5
      8               when product_description like '%' || :productdescription       then 6
      9              end as ranking,
    10              product_description
    11           from   tbl_product_lookup
    12           where  contains (product_description, '%' || :productdescription || '%') > 0
    13           order  by ranking)
    14  where  rownum <= 100
    15  /
       RANKING PRODUCT_DESCRIPTION
             1 test product
             2 test product and more
             3 another test product and more
             4 another test product
             5 test products
             6 selftest product
    6 rows selected.
    Elapsed: 00:00:00.10
    Execution Plan
    Plan hash value: 459057338
    | Id  | Operation                      | Name               | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT               |                    |    38 |  3990 |    13  (16)| 00:00:01 |
    |*  1 |  COUNT STOPKEY                 |                    |       |       |            |          |
    |   2 |   VIEW                         |                    |    38 |  3990 |    13  (16)| 00:00:01 |
    |*  3 |    SORT UNIQUE STOPKEY         |                    |    38 |   988 |    12   (9)| 00:00:01 |
    |   4 |     TABLE ACCESS BY INDEX ROWID| TBL_PRODUCT_LOOKUP |    38 |   988 |    11   (0)| 00:00:01 |
    |*  5 |      DOMAIN INDEX              | PROD_DESC_TEXT_IDX |       |       |     4   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       1 - filter(ROWNUM<=100)
       3 - filter(ROWNUM<=100)
       5 - access("CTXSYS"."CONTAINS"("PRODUCT_DESCRIPTION",'%'||:PRODUCTDESCRIPTION||'%')>0)
    SCOTT@orcl_11gR2>

  • Adding  extra  fields to the Product search display

    Hi all,
        I have a  requirement where the std Product search needs to be modified wherein i need to add a price field for some materials whcih i will maintain in a  Z table(custom table for the materials and its price).
        Now my problem is that the o/p structure is taking the fields from the view BBPV_F4PR_GEN (where i dont have nay price field!)...When i pass my structure to the Dispaly FM "F4UT_RESULTS_MAP" it doesnt consider my custom structure for display....
      is it possible to change the o/p structure for the Product search display???Has anybody tried thsi before???
      Any help is  appreciated.
    Thanks & regards,
    Disha.

    AFAIK, the only way to do this is to write a system modifcation.
    The BADI is executed only once at startup of the session, so that makes it merely static. (A strange point in time, I discussed it with SAP and they just shook their heads)
    I had the same problem with some other F4-Helps and it was a big hazzle. From my experience, no straight answer.

  • "Product Search" capability in "Sample Application"

    i have just started reviewing the HTML DB product and its rad capabilities.
    the "Customer Search" capability is were my interest lies at this time and i am really confused...
    as to how it works and how i could go into the "Sample Application" and modify it for a similar...
    "Product Search" capability.
    can you provide any assistance to me on this matter ?
    i had thought that it could be in the user guide somewhere...
    but i am only up to page 75 or so and getting impatient/excited.
    Thanks in advance.

    Note: raj gave me the following info:
    hey robert--
    if you look at the definition for the two pages you've asked about, 1 and 400, you'll see that page 1 just branches to page 400 after the user submits the page. while the page is being submitted, though, page 1 sets the value of G_CUSTOMER_NAME to whatever was entered for P1_SEARCH. the query region on page 400 simply includes that G_CUSTOMER_NAME predicated in its where clause. there's a simpler but similar example of this in our how-to docs...
    http://www.oracle.com/technology/products/database/htmldb/howtos/index.html
    ...specifically at...
    http://www.oracle.com/technology/products/database/htmldb/howtos/dynamic_report.html
    ...and, you can even simplify that example a little more by using sql instead of a pl/sql function returning that sql. so the sql version could look like...
    select p.category,
    p.product_name,
    i.quantity,
    i.unit_price
    from demo_product_info p,
    demo_order_items i
    where p.product_id = i.product_id
    and p.category = :p600_show or :p600_show = 'ALL'
    ...hope this helps,
    raj

  • Verizon, 700P and email time lag

    can anyone tell me what the time lag is, if any, between the time an email is sent to a .mac mail account and the time it'll show up on a Verizon Moto 700P? Thanks for any info!
    PowerBook G4   Mac OS X (10.4.6)   need a haircut

    Assuming that the original message is addressed to a [email protected] and you have chosen to forward mail to an account at [email protected], the delivery time may vary widely, as .Mac mail forwards do not seem to what I would term 'instantaneous.' You should not count on any single or multi-link forwarding scheme to pick up mail, if those messages are time sensitive.
    You can configure your VersaMail client—or virtually any other Palm OS mail client, like SnapperMail, for example—to pick up mail from your Treo 700p. [Not a Motorola product, incidentally…]
    But you really need to design an overall mail scheme, considering IMAP and POP3, the relationship between your Treo smartphone, any desktop or portable computer you will be using, webmail technology, push-email technology like GoodLink, and Verizon Wireless Sync, in addition to the idea of forwarding mail from multiple accounts to a single account you frequently interact with. If you don't think this through adequately, you are likely to loose time-sensitive messages, experience unacceptable delays, be inundated with multiple messages on various clients, see unread messages disappear from others due to synchronization events, and so on.

  • Product search is not working in other JSP inj b2c application

    hi,
    I had one requirement that we have to bring product search from header jsp(b2c/navigationbar.inc.jsp) to CategoriesB2C.inc.jsp.
    i had copied all related code from last jsp.but search is not working.
    i had modified only jsp.just guide me do we have to modify any other file or .do class file.
    Thanks in advance.
    Jayesh Talreja

    Hi Jayesh,
    When you copy <td> element of product search from "navigationbar.inc.jsp" to "categoriesB2C.inc.jsp" you also have to copy
    <form> tag and necessary java script function from "navigationbar.inc.jsp" file.
    Read carefully "navigationbar.jsp.inc" file and understand how it is working in it and then copy necessary code from this file to "categoriesB2C.inc.jsp" file
    I tried to post code here but some how it is throwing an error while replying you. Sorry.
    I hope this will help you to resolve your issue.
    Regards.
    eCommerce Developer

  • Searching time machine backup on different computer

    I have 3 computers backed up by time machine onto one hard drive. How do I search time machine for a backup of a computer I am not currently using? I did use the control key and was prompted for which disk to search,and clicked on that, but then it just switches me back and only shows the backups of the same computer I am using at the moment. I want to search a time machine backup of a computer that is no longer functional.

    This was actually solved in the 10.7.1 or 10.7.2 update.

  • Product Search in IC WebClient

    Hi,
    I am new to WebClient and now my client has an enhancement for Product Search in WebClient. Any help in this is greatly appreciated.
    Backend system: SAP ECC
    CRM System: SAP CRM 4.0
    Sales Order Creation: in SAP CRM Web Client
    1). Client products come in many different versions (ECC has products globally).
    2). Client need a functionality in such a way that, during sales order entry the interaction center agent should search the product based on the country and product description(sometimes customer group).
    Example: A typical distinction between the different products is the language on the packaging. Products sold to customers in Canada can have multiple language versions: an English only variant, and an English/French variant. Some of the client products can have up to 8, 9 different language versions.
    Therefore an enhancement is needed to select the appropriate version of a product depending on the county of the ordering customer (in some situations also the customer group of the customer is taken into account).
    How we handle this enhancement in Web Client?? Please reply to this as quickly as possible.
    Thanks a bunch!
    -Supraja

    Hi,
    A better solution is to edit your own copy of the navigational XML as per the <a href="http://service.sap.com/~form/sapnet?_SHORTKEY=01100035870000647973&_SCENARIO=01100035870000000112&_OBJECT=011000358700003057372006E">Web IC Cookbook.</a> The section you want is around page 60.
    Regards,
    Patrick.

  • How do I create a delay or time-lag for my data in LABVIEW

    In my data acquisition system I am using acquired data to create an digital output. I want to delay this output or create a sort of time lag for it. Is there any easy way to incorporate this?

    What you might consider doing is using a sequence. Run the data through this sequence and inside of the sequence, put a delay equal to the time you wish to delay the signal. Then, the output will not be available until the delay has completed.
    If you need continuous streaming data, this might not work too well. Then, you will need some sort of a data buffer - perhaps using a queue might be one possible solution. I have not used it, but I think that queues can have a time stamp. You could possibly artifically alter the time stamp.
    Hope this helps,
    Jason

  • Time lag

    something terrible is the i OS 7, all interface such as big time lag and it is on iPad with retina!! It’s really sad that Apple started to do such mistakes…
    iMessage is individually part, there is no iMassage on iOS 7 it's simply to say))) we have a lot of apple devices in our family and each of them have a problem with iMessage.
    Safari crash , another problem... My iPad decided to reboot today himself))) ITS TERRIBLE!!!!!!!!!!!! PLEASE STOP IT!!! i os 7 such as android with samsung good hardware and awful software...i disappointed

    Mine does the same thing. It has to do with where it stores the music in memory I believe. It has to go to the location in memory and load all the screens and content. Same thing is true of any flash drive. In essence your iPod touch is just a big fancy flash drive.

  • Recording time lag

    my earlier problem (of audition recording the content of all tracks to the track i was trying to record only mic input to) seems to have more or less solved itself (but thanks anyway to ryclark). now i have another problem: when i record mic input it records with a time lag so it's out of synch with the music backing track.
    i've tried tweaking just about everything (buffer size, synch reference, offset) but nothing seems to cure this. it happened to me once before but i can't remember how i fixed it. anyone have any ideas?

    I'm having the exact same problem.  I'm using Audition 1.5 to record guitars for my band and when recording in multitrack there is a very short lag between what I'm playing and when it gets recorded.  So when I listen back to what I recorded, it's out of sync from the rest of the tracks.  I've tried everything the OP said as well and nothing seems to work.

  • Function modules for User check and Product search

    Hi,
    Please give me the names of function module which are used for user login check, and Product search.
    Thanks,
    Devender V

    Hi,
    For User login check belwo Function module,
    SUSR_LOGIN_CHECK_RFC for ECC/R3
    CRM_ISA_LOGIN_R3USER_CHECKS for CRM
    For product try below Function module.
    BAPI_MATERIAL_GET_DETAIL
    I hope this information will help you.
    Regards.
    eCommerce Developer

  • "MAXIMUM NO OF HITS" field in selection screen for Product Search

    Hi all,
       We are  running on SRM 4.0.I have a query regarding the Selection screen which appears for the Product Search when we click on the "inetrnal Goods/Servcies" link...
        I have developed a Z-serch help for the Product search wherein i have control of  all the other fields lik "Product ID"," Product description " etc..But not "Maximum no of hits" (since it is  a part of the std functionality)...In the selection sceen field " Maximum  no of hits" ,whatever value i enter  that value is not considered...So is there any way that this field is not diplayed on screen/can be disabled(made an O/p field)...
      All suggestions are  welcome....Please  help...
    Thanks & Regards,
    Disha.

    Well,
    You're talking about COLLECTIVE search help. You won't definie Max No of hit at this level.
    Define an elementary search help and assign to this one a dialog mode (retriction or set of values).
    Regards,
    Bertrand
    PS : Don't forget reward points

  • Oracle 9i dataguard time lag monitoring script

    In 10g we can run below script on Standby to find out time lag between Primary  and standby .
    select name, 'ALL', substr(value,1,12) from v$dataguard_stats where name = 'apply lag' ;
    select name, 'Seconds', to_number(substr(value,11,2)) from v$dataguard_stats where name = 'apply lag' ;
    select name, 'Minutes', to_number(substr(value,8,2)) from v$dataguard_stats where name = 'apply lag' ;
    select name, 'Hours', to_number(substr(value,5,2)) from v$dataguard_stats where name = 'apply lag' ;
    select name, 'Days', to_number(substr(value,2,2)) from v$dataguard_stats where name = 'apply lag' ;
    But while running same script in oracle 9i stanby database i am getting below error;
    ORA-01219: database not open: queries allowed on fixed tables/views only
    Can i know which command i should use to monitor time lag between priamry and standby in oracle 9i?

    Hi,
    You can Query from v$archive_gap :Dynamic Performance (V$) Views, 9 of 238
    select * from v$archive_gap;
    HTH

Maybe you are looking for

  • Missing ID3 tags in acc files

    Hi If I import music to aac files, I'm missing the the ID3 tags in the music file (in file property). It works with MP3 files. Why there are no ID3 tags in the aac files? Any solutions to have the ID3 in aac as well? Thanks! (iTunes Ver. 7.5) BR ibex

  • Is this a bug in LR2

    Is this a Bug? I was going to convert a sample bunch of files to DGN to see how it goes with LR2. I had a directory with about 35 files in it and I used the select all function to pick all the files in the film strip display. When I ran the conversio

  • JDeveloper extensions for 11.1.2.4.0 ?

    Greetings, i am using Jdeveloper v11.1.2.4.0 for a while now and i noticed Jdeveloper's extensions still are not updated for this latest updated version. I am trying to install SOA & BPM extensions. Is there any beta version atleast or any news for w

  • Mountain Lion--Can I delay use of content code/password?

    The school I'm attending this fall administers tests via a program that will not be supported on Mountain Lion until Spring 2013. I have already acquired a content code and password for my macbook pro, but thankfully did not download Mountain Lion ye

  • How to use Structure In TableView

    Helo BSP Gurus, In BAPI_PO_GETDETAIL, upon giving the PO number it outputs the Header and Item Data. Item data is a Table so I can display n BSP using tableview. But header falls under import parameter and being a Structure, How shld I display n BSP