Limits on Mulitiple Selections

Hello,
I have a bex report of an infoset that uses "multiple selections" for 0CUSTOMER. I have discovered that if I run the report with between 0 and 100 Customers, the report runs in just a few seconds. However, with 101 Customers it runs for approx 30 minutes.
Note that the infoproviders referenced by the infoset do not have aggregates.  In fact, the join in the infoset is simply between two ODS objects.
Is there a limit to how many single selections can be in a multiple selection? What is the best way to troubleshoot this type of issue. ?
We are running 3.0B with Oracle database.
Thanks in advance.

Sudheer, Thanks for that info.
I ran a SQL trace for both cases ( 100 verses 101 customers).
I found that in the case of the 100 customers the sql trace contained a "SELECT FROM CUSTOMER" just like you said...there were 100 of these statements...one for each of the customer numbers entered.
In the case of the 101 customers, the SQL Trace had approx 64,000 of these select statements which matches the total number of customers in the ODS ( for the date range). So this might be some kind of query optimizer issue.
Any known hints on tricking the optimizer ?

Similar Messages

  • Is there any limitation of nested select.

    Is there any limitation of nested select.If yes please let me know.

    Hi,
    There are no practical limits to nested SELECTs, but as other repliers have already pointed out they quickly become a performance hog. I have stopped using them for years, and when I teach ABAP performance classes I also quote them as one of the top "don'ts". With nested selects, the number of calls to the DBMS can easily become enormous, putting the database server under stress.
    A good alternative - the one I favour most myself - is to use SELECT INTO TABLE for the"outer" select, followed by appropriate SELECT FOR ALL ENTRIES statements to handle the inner levels.
    ABAP joins are another alternative. When properly written, a join will be faster than a nested select. The problem is however that very often joins are not properly written. SELECT statements should always respect the KISS principle (keep it simple, stupid) and with a join it is very easy to violate that rule. A join over 2 tables should probably be OK, but with 3 or more tables you want to be very careful. If you really want to code a complex join, I recommend that you also code the same logic with different means (INTO TABLE/FOR ALL ENTRIES or even nested selects) and then compare that with the join. By the way: don't just compare the performance, also make sure that the two return the same data. You wouldn't be the first to code a really fast join which unfortunately returns incorrect results.

  • Lookout limitation​s and selection of the computer system for lookout

    This is regarding the limitation of the lookout i.e. upto how much IO lookout is reccomended to use.
    or it is on the basis of the l4p or lks file size basis.
    Do you have some criteria for the selection of the computer system for lookout on the basis of the IO's.
    is there any criteria by which we can check the execution cycle time for the lookout process.
    Is there any NI controller also avaiable for lookout applications?

    From what I have observed, there is no standard.  The best thing to do is to create test setups.
    Its entirely possible that a system with 100 IO may require more processing/memory than a 5000 IO system.  Database, archiving, reporting, analytics, etc.
    It is variable.
    Just for reference on our systems, we dont use the IO count for performance curves, we go based on the site configurations for the system.
    A site could be 1 pump, 6 pumps and a tank, 1 pump and a tank, 4 tanks, etc.  Consider than a tank may only take 5 IO and a well upwards of 50 IO each, we could hit 150-200 IO per site.
    Smaller systems (<10 sites) we have run very successfully on Atom based servers (not netbooks...).
    10-40 sites run well on basic dual-core workstations with 2GB or more of RAM
    40-100 we recommend quad-core servers with 4GB or more of RAM.
    (100+ gets a little more intricate)
    We try to make sure that the system is not more than 15% loaded (memory and/or CPU) by services at normal work.  Lots of room left over for future growth or unexpected workloads and backup routines.
    Forshock - Consult.Develop.Solve.

  • Doing a Trace on the ARXADLMT Approval Limits form No Select statement i

    Hi I want to see the all the SQL statements executed when I open the AR Approval Limits form(ARXADLMT). So I enabled the TRACE from the Menu(supplying password) , then opened then form and did a Query-> Execute. (The base table for the block is AR_APPROVAL_USER_LIMITS.Then I turned off the trace exited applications and went to the USER_DUMP_DEST directory of the database. From here tkprofed the latest trace file .When I look at the output file I cant see any Select statements at all. At least I should be seeing a select on the base table AR_APPROVAL_USER_LIMITS. Maybe I havent understood this process well enough- what am I doing wrong.Why is the trace not containing the select statement?
    Edited by: [email protected] on 13/06/2010 03:18

    >
    ... From here tkprofed the latest trace file ...
    >
    Pl post details of your OS and EBS versions. The latest trace file may not be the correct one. Pl search the trace files for "AR_APPROVAL_USER_LIMITS" to find the right trace file.
    How To Trace From Form, Report, Program And Others In Oracle Applications (Doc ID 130182.1)
    https://supporthtml.oracle.com/ep/faces/secure/km/DocumentDisplay.jspx?id=130182.1&h=Y
    HTH
    Srini

  • Limitation of using select-options or ranges

    Hi
    I have the following code to fill the select-option AUFNR with the orders from SEL_TAB table, which I have to submit to another report to get a result set.
    LOOP AT SEL_TAB.
       MOVE: 'I'   TO AUFNR-SIGN,
             'EQ'  TO AUFNR-OPTION,
             SEL_TAB-AUFNR TO AUFNR-LOW.
      APPEND AUFNR.
    ENDLOOP.
    I know that we can use the RANGES option also for the above scenario since I don't display the select-option AUFNR in my selection screen.
    My question is, is there any limitation to how many number of values the RANGES or SELECT-OPTIONS can hold? Is it 200 or 256? I am not sure of this figure, can anyone give the exact number?
    Thanks,
    Bala.

    Hi Bala,
      there's not SAP limitations for range dimension but there is a limitation about native SQL statement size.
    In fact an open SQL statement (in ABAP language) will be translated in native SQL .
    For example:
    select * from mara where matnr in r_mara
    will be translated in
    SELECT ... FROM MARA WHERE MATNR = value1 OR MATNR = value2 etc...
    So if your range is too large, the native SQL will exceed the maximum length (and short dump will occur).
    with the following simple trick you can bypass the problem:
    describe table rng_ebeln_marc lines i.
    if i > 0.
      if i <= max_rng_rows.   "MAX NUMBER OF RANGE LINES
        select *
          from ekbe
          into table tekbe
         where ebeln in rng_ebeln_marc.
      else.
        from_i = 1.
        to_i = max_rng_rows.
        clear new_ebeln_marc.
        do.
          if i < from_i.
            exit.
          endif.
          append lines of rng_matnr_mara from from_i to to_i to new_ebeln_marc.
          select *
            from ekbe
       appending table tekbe
           where ebeln in new_ebeln_marc.
           clear: new_ebeln_marc, new_ebeln_marc[].
           from_i = from_i + max_rng_rows.
          to_i = to_i + max_rng_rows.
        enddo.
      endif.
      sort tekbe by ebeln ebelp zekkn vgabe gjahr belnr buzei.
    endif.
    This will split the sql statement into more (and shorter) statements. The result will be joined.
    Let me know if you need further infos.
    Kind Regards, Manuel

  • Limiting users to select articles from movement type 309- SAP retail

    Hi experts,
    My client wants to restriction on limiting users selecting articles from movement type 309 in SAP retail. They need an option to predefine article list which can allows users to transfer articles using movement type 309. Is any standard way to accomplish this requirement or whether it s need ABAP development.
    Thank You & Best Regards
    Sameera

    this BAPI just creates movements, you access your Z-tables from the ABAP that calls this BAPI, isn't it?
    But in the exit EXIT_SAPMM07M_001  you can program to read the Z-tables and do the necessary steps to restrict the usage, hence you can use the standard transactions for the movements without needing an extra program that calls a BAPI.

  • Number of Lines limited in InfoPackage Selection?

    Hello Experts!
    I have 2 InfoPackage in order to load Data from ODS1 into ODS2. Selection is made for customer number - exact criteria is made via Abap Routine in InfoPackage. (InfoPackage 1 has all customers meeting a certain criteria - InfoPackage 2 has all the ranges in between the customer Numvers of InfoPackage 1).
    Therefore the load of both InfoPackages should load all data - but the problem is, I only get a small part of the Data. In ODS 1 there are some 2.800.000 entries and in ODS2 the load of the 2 InfoPackages only select about 30.000 entries.
    Since the selection criteria in monitoring seem fine - do you have any idea where the problem comes from? Is there a max. number of lines for selection to be made in infoPackage?
    Thanks for your help!
    Angelika

    Hi Angelika,
    check out the monitor --> in the request tree check the numbers coming into the update rules an coming out of the update rules, may be you are loosing some records there. The only thing that I know about the size of selections is that you will get a dump if you have to many entries in a select-option table (and having those lines in a infopackage is nothing else).
    Another reason might be a missing alpha conversion of the entries in the infopackage.
    kind regards
    Siggi

  • Limiting results for select statement against view in "apps"

    Hello (again),
    Our application queries the 'apps.fnd_concurrent_programs_vl' view in order to retrieve concurrent program names (long names). We also query 'apps.fnd_application' in order to retrieve application names.
    I'm wondering, is there a way to limit the results of these based on security? Maybe, based on responsibility or user...?
    I would think if I had added a new EBS user, it would also add a corresponding DB user, which would only have access to those items that its responsibility allowed it to access, however I suppose this isn't really the case.
    Is there some way?
    EDIT: I would also like to know if there's a similar thing for log files (well, their locations at least), but I suppose if you can answer my previous question, it might also answer this one.
    Edited by: asci on Sep 20, 2012 1:01 PM

    asci wrote:
    Hello (again),
    Our application queries the 'apps.fnd_concurrent_programs_vl' view in order to retrieve concurrent program names (long names). We also query 'apps.fnd_application' in order to retrieve application names.
    I'm wondering, is there a way to limit the results of these based on security? Maybe, based on responsibility or user...?
    I would think if I had added a new EBS user, it would also add a corresponding DB user, which would only have access to those items that its responsibility allowed it to access, however I suppose this isn't really the case.
    Is there some way?
    EDIT: I would also like to know if there's a similar thing for log files (well, their locations at least), but I suppose if you can answer my previous question, it might also answer this one.
    Edited by: asci on Sep 20, 2012 1:01 PMHere is the query you need:
    SQL> SELECT *
    FROM FND_CONCURRENT_PROGRAMS_VL P,
    FND_CONCURRENT_REQUESTS R,
    FND_USER U
    WHERE P.CONCURRENT_PROGRAM_ID = R.CONCURRENT_PROGRAM_ID
    AND P.CREATED_BY = U.USER_ID;Thanks,
    Hussein

  • Limiting Query View selections for Web reports

    In web reports, users currently have Query View Selection but they want to be  able to just see views that they have created and not all others. 
    How can this be done?
    Does creating views in web and in BEX pull different auth objects or is it same? - Which objects are check in WEB views? Bex views use s_rs_comp with the QVW componenet.. but the trace does not show any log like this.

    Hi,
    User specific protection of queries are controlled by authorization object S_RS_COMP1.
    Authorization RSZOWNER = "$USER" allows the user access to activities in all the components he is an owner of.
    Check out this link, the analyst 3 scenario is what you are looking for:
    http://help.sap.com/saphelp_nw04/helpdata/EN/41/05453caff4f703e10000000a114084/content.htm
    Regards,
    Zaheer

  • Show Mulitiple selection drop down from record set highlighted.

    Anyone know how I can show the multiple selection from my record set on my drop down list?
    What I've done is allowed users to select multiple items on from the dropdown list but now want to be able to display it from the record set back into the drop down list.
    Any help would be great!!
    thanks
    [Moved to the Dreamweaver Application Development forum by moderator]

    Check this:
    Filtering using the current() function
    This post is my own opinion and does not necessarily reflect the opinion or view of Slalom.

  • Limiting dashboard prompt selection to max two selections at a time

    Hello Experts
    Is there a way that i can limit my state dashboard prompt to max two selections at a time. As you know i have the option to choose multi selection which doesn't limit my selection. Any advise.
    Thanks
    Ravi

    user1146711 wrote:
    Hello Experts
    Is there a way that i can limit my state dashboard prompt to max two selections at a time. As you know i have the option to choose multi selection which doesn't limit my selection. Any advise.
    Thanks
    RaviHey, Ravi. I see that you responded to the unanswered questions. Thanks. Since you did, there is no need to point out which ones. My point is simply that we all use this forum with the attitude of gratefulness, meaning, when we receive help, it is someone taking time out to do it... for free. Thank you for your prompt response! Here's my solution for what you are trying to achieve:
    1) Keep your multi-select prompt for your States and the one for your "National" prompt.
    2) Now build a small report on your using the States column and a dummy column set to RCOUNT(1).
    3) Put a filter on the RCOUNT column "greater than" 2 and an "Is Prompted" filter on the states column.
    What this report will do is return rows when the number of selections from the multi-select prompt is 2 or less. It will return no rows if more than two states are selected. (If you insist on 2 states for comparions, set the filter operand to "equal to/is in.")
    4) In your Dashboard, put a section in it along with the main report.
    5) Click on Section Properties>Guided Navigation and point to the small report, to display the section when "the request returns rows."
    6) Put another Section in the Dashboard and add a Text Object.
    7) Again, click on Section Properties>Guided Navigation and point to the small report, but this time, "when the request returns no rows."
    8) In the Text object, enter something like, "To properly view this report, you must select only two(2) states in the multi-select prompt. Please try again."
    There you go. If the user selects more than two states, the report section will be hidden and the text will appear instructing the user to "try again." When the user selects only two states, the report will display properly.

  • Limiting number of selectable multi-checkbox items

    I have a report with a multi-select dropdown parameter returning ~100 projects. Is there a way to allow a given number of items to be selected out of an entire list? i.e. Only 10 out of 100?
    Thanks

    Use a custom code as specified in the below link,
    http://karlberan.wordpress.com/2010/03/19/limit-number-of-multi-select-parameters-in-ssrs-%e2%80%93-custom-code/
    Regards, RSingh

  • Mulitiple select list  filter

    I am trying to create a search on a report that needs to have several list of values on several tables some of which are lookup tables that do not directly reference the main tables on which the report is built upon. Also need to have at least 3 text box search areas. Also I would like to be able to do a full search on the report that brings back everything in the report and be able to search on one or any combination of search criterias. I have looked at Sergio's example but there are only three tables being used there. As stated before I will need to get information from several tables. Can anyone help?

    Thank you so much for the quick response saved my life!.
    For future reference let examples of the use of APEX_UTIL.SAVEKEY_VC2 and APEX_UTIL.KEYVAL_VC2
    This is the query of the Tabular Form
    SELECT   den.cod_encuesta,
             den.cod_det_encuesta,
             den.cod_pregunta,
             pre.nombre_pregunta,
             den.respuesta,
             den.observaciones,
             APEX_UTIL.SAVEKEY_VC2(den.cod_pregunta) codpreg
      FROM   enc_det_encuesta den, enc_pregunta pre
    WHERE   den.cod_pregunta = pre.cod_pregunta  
       AND   den.cod_encuesta = :P6_COD_ENCUESTAThis is the query "Select list"
    SELECT   nombre_respuesta, cod_respuesta
      FROM   enc_respuesta
    WHERE   cod_pregunta =  APEX_UTIL.KEYVAL_VC2regards
    Gerard

  • JDBC Sender Selects Queries

    I know that the JDBC sender adapter can handle joins, but can it handle more sophisticated SELECT queries such as subselects, group by, rownum, etc.  In other words, are there any limitations in the SELECT query?
    Thanks in advance.

    Hi Bevan,
    The only limitation with XI30-JDBC Sender Adapter is with Oracle Stored Procedure/Functions, as Oracle SP Query returns a cursor, and not a resultset.
    Thanks
    Prasad

  • Export Limits for Multiple Sequences in the Same Sequence File for TS3.0

    Hi,
    I am using TestStand 3.0 to a test application. Because we want to have our limits in a csv-file I have tried to use the Import/Export tools in TS. But this application only supports to export limits for the selected sequence (e.g. main, or subseq1) at a time. This makes it a pretty hard job to export limits from 30 test sequences. What I need is a possibility to export my limits from �all sequences� in my seq-file.
    I have found an article on NI Dev. Zone about �Export Limits for Multiple Sequences in the Same Sequence File (TestStand 1.0.x)�.
    http://sine.ni.com/apps/we/niepd_web_display.DISPLAY_EPD4?p_guid=B45EACE3D9CB56A4E034080020E74861&p_node=DZ52236&p_submitted=N&p_rank=&p_answer=&p_sourc
    e=External
    I have tried to use this code but because it�s for TS 1.0.2 the limits from my multi num test step and my custom steptypes isn�t exported. So that doesn�t fulfill my needs.
    Is there an updated version with �all sequences� added to TS 3.0? Is there other good solutions to my problem out there?
    Best Regards,
    Morten Pedersen
    CIM Industrial Systems A/S
    Denmark

    Hi David Mc,
    Thanks for your reply. I have already considered this solution because the source code is added in the folder described in your reply. But that is not a good solution. It will cost me a lot of time to establish the toolchain, reverse engineer the source code, make the implementations and build a new dll (most off these is already knowledge by NI). And when NI make future releases of TestStand I have some merge work to do every time NI have made some changes in the files I have changed.
    But as I write above: I have hoped that NI already has/or could made a solution like the one to 1.0.2 (see link in root) to me. And then they could include it in the next version.
    I don't think I am the only one in the TestStand world that ne
    ed this feature.
    Best regards,
    Morten Pedersen
    CIM Industrial Systems A/S
    Denmark

Maybe you are looking for

  • Is there a possibility to know mobile device from which the request comes?

    Hi Experts, Iam developing mobile UI and I have the following requirement. Mobile user launches my application with the help of a URL. I need to know what is the name of the mobile device from which user is launching the application. For eg. i need t

  • Including External Image in JSP

    Hi all, I need to be able to load a external image (image in a specific loaction on the server but not in the webapp location). Unfortunealty I cannot use servlets and have to code it in the JSP directly. So far I have this code : <%@ page import="ja

  • What's going on with VPN?

    I am having problems setting up VPN for Windows 8.1 Pro 64-bit, home workstation computer, not networked. I am also having general non-specific problems with Internet connectivity, according to network engineers.  I having a WiFi Mac and a hard-wired

  • Rub time error  7 in business explorer

    Hi, I am trying to create or change the query in BEX Analyzer poppin up with the error Rub time error  7 Out of memory An unexpected 'out of memory' error occured in wdbrlog. 1 error(s) are logged. What could be the problem Thanks Priya

  • Need Ideas for Minimalist Website and Image Gallery

    I am looking for ideas for creating a minimalist online image gallery/portfolio? I want to either use html for the site and then flash for the portfolio images or some other method. I want to click on the thumbnails and then a large image will open.