Is a subquery in a BO report limited to a max number of records???

Here's my problem:
I recieved an excel sheet with 700 records of customers from a client who wants me to to create a report with specific data for these customers in my Business Objects universe (BO6.5 on SQL Server).
So I created a dataprovider with query 1, i.e. the requested data of customers. Then I created a second dataprovider, query 2, based on 'personal files', i.e. the excel sheet. In query 1 I added to the conditions that each customer should be in (sub)query 2 (CustomerId In list of the query result ('query2.CustomerId').
the syntax I have used for this seems OK.
However, I recieve the following error: "Too many selected values (LOV0001)". I know this error has to do with parameter MAX_INLIST_VALUES, which is limited by default to 99 and can be extended to 256 max. But I thought it refers to the max number of items in lists of values.
When I limit the number of records in the excel sheet to 99 the result is perfect (proof that I got the syntax right!). I can upgrade the parameter to 256, and can split the excel sheet into three, but that will not be useful when next time my client sends me 10.000 customer records.
Can I make reports in BO which use subqueries that result in more than 256 records at all? (hardly imaginable).
What is the best way to do this?
Thanks in advance!

Hi Lucas,
Following is the information regarding the issue you are getting and might help you to resolve the issue.
ADAPT00519195- Too many selected values (LOV0001) - Select Query Result operand
For XIR2 Fixed Details-Rejected as this is by design
I have found that this is a limitation by design and when the values exceed 18000 we get this error in BO.
There is no fix for this issue, as itu2019s by design. The product always behaved in this manner.
Also an ER (ADAPT00754295) for this issue has already been raised.
Unfortunately, we cannot confirm if and when this Enhancement Request will be taken on by the developers.
A dedicated team reviews all ERs on a regular basis for technical and commercial feasibility and whether or not the functionality is consistent with our product direction. Unfortunately we cannot presently advise on a timeframe for the inclusion of any ER to our product suite.
The product group will then review the request and determine whether or not the functionality/feature will be included in a future release.
Currently I can only suggest that you check the release notes in the ReadMe documents of future service packs, as it will be listed there once the ER has been included
The only workaround which I can suggest for now is:
Workaround 1:
Test the issue by keep the value of MAX_Inlist_values parameter to 256 on designer level.
Workaround 2:
The best solution is to combine 'n' queries via a UNION. You should first highlight the first 99 or so entries from the LOV list box and then combine this query with a second one that selects the remaining LOV choices.
Using UNION between queries; which is the only possible workaround
Please do let me know if you have any queries related to the same.
Regards,
Sarbhjeet Kaur

Similar Messages

  • How to limit the number of records in WebI Report

    Hi,
    I have a requirement where I need to display the WebI Report data only if the number if record is less than 65k.
    Incase if the records are more than 65k then the report should be blank and a text message needs to be displayed.
    The client dont want to set the number of records either in universe or at the edit query at the report. They want to limit once the report is executed.
    Please let me know if its possible to do it at the report level.
    Thanks in advance!!
    Best Regards
    SAP BO

    Optional prompts are not a problem.
    Assuming you first query uses the following SQL statement
    select a,b,c from t where x=y and z=@prompt(...)
    The query for checking the number of rows should use the following SQL code
    select count(*) from t where x=y and z=@prompt(...)
    The original query should be modified as follows
    select a,b,c from t where x=y and z=@prompt(...) AND (select count(*) from t where x=y and z=@prompt(...)) < 65000
    Regards,
    Stratos

  • How to print new main report page based on number of records in subreport?

    Hi,
    I've a main report which prints on a pre-printed stationary with 2 subreports in the detail section.  The subreport prints multiple records.  If there are more than 6 records in the subreports, a new page should be printed with all the contents of the main report and the subreports should continue with the remaining records.  How can I do this?  I've tried incrementing a shared variable counter in the subreport and accessed that variable in the detail section of the main report to check the counter and reset the counter to 0 if it exceeds 6.  But this does not work.  All the lines till it can hit page footer are printing on first page and the second page prints only the remaining subreport lines without the other details of the main report page. 
    The main report page uses a view which returns only 1 record. The subreport returns multiple records. 
    I would certainly appreciate if any one can provide a solution for this problem. 
    Thanks,
    Ram

    hi Ram,
    sorry, i misunderstood exactly what you wanted.
    let me get this straight...
    1) if there's more than 6 records in the subreport then show only the first 6 records
    2) then (if there's more than 6 records) do a new page after the subreport
    3) then (if there's more than 6 records) show the subreport's remaining records and the rest of the report
    let know if i've got it straight.
    if that is correct, you will have received another sample report that does this. in total 3 subreports are used...one is a dummy report that adds up the number of records which is used later. there's more info on the report's design mode.
    cheers,
    jamie

  • Desktop Publisher Scheduled Report Limits

    Post Author: bicknell
    CA Forum: crystalreports.com
    Using the crystalreports.com desktop publisher, a customer scheduled the upload of 80+ reports to crystalreports.com on a dailybasis.  Some of the jobs were failing and others seemed like they were being run continuously.    There are two significant points to know about the desktop publisher:When the desktop publisher uploads a file to crystalreports.com, the program needs to logon to crystalreports.com using your crystalreports.com user account.  The site only allows 10 concurrent logons for the same account at any one time.  This effectively limits you to scheduling 10 documents at any one time.If you are refreshing these reports before they are uploaded, the number of concurrent refreshes will be limited by the resources of your computer.  It is a fairly expensive process in terms of memory and CPU time, especially if you have a large number of records in each report.  We've had another customer report that they could only actually refresh about 10 reports at a time before they started getting failures. This could be a combination of report size/complexity and the processing power of your computer. Note: The ODC and SFDC connector are designed to handle much bigger tasks than the desktop publisher. The desktop publisher is designed for lightweight loads not exceeding 10 connections.

    Post Author: norton
    CA Forum: crystalreports.com
    Hi JD,
    I'm not sure about the "unable to connect to the file" error you are seeing.  Can you post the exact wording of the error and where you are seeing it?  If you can post a screen shot of the error, that would be great.  If you change the file name of the rpt on your hard drive, the task won't be able to find it the next time it runs.  Could that be the problem?
    You should be able to create a task in the desktop publisher, point it to a report and schedule it - at that time, it will prompt you for the db logon and parameter values.  Once you have supplied that info, the task will run according to whatever recurrence pattern you have set - daily, weekly, whatever.  Each time the task runs, it will try to refresh the rpt file with the db logon and parameter values you specified and upload the rpt file to crystalreports.com. 
    You should always be able to open the rpt file in Crystal Reports, however I have seen a problem where the rpt file gets corrupted if you run out of disk space when the report is being saved after the refresh.  The error we got from this though was that the rpt file had been corrupted.  I don't think it complained about not being an rpt file.
    Yes, you should be able to use a salesforce.com db connection and you should be able to configure the desktop publisher task to run every 30 minutes.
    Yes, if you do edit the rpt file  you should see the changes the next time the task runs.  We have found problems where you will get an error on uploading to cr.com using the overwrite option if the rpt file has been changed "too much".  Most often this only applies to the db connection changing too much.  If you are just editing the report layout, that should be fine.
    Steve

  • FSRM report limits using PowerShell

    I am following this article:
    http://blogs.technet.com/b/filecab/archive/2014/05/20/set-fsrm-storage-report-limits-using-powershell.aspx
    I did have this working just fine, but after installing Windows Updates today on a 2012 R2 box this functionality breaks the GUI. Now, any time you try to edit a report you are hit with Event ID 0, 'file server resource manager value is not valid' and a
    GUI error of 'Unexpected Error. Value of 1000 is not valid for 'Value'. 'Value' should be between 'Minimum' and 'Maximum'.
    The report still runs, but you cannot view in the GUI until you again use PowerShell to decrease the limits back to default.
    Any ideas on how to fix? (Other than removing the updates) Seems a recent Windows Update has broken this.

    The Windows Update version is the latest available. So if you have a 2012 R2 server and install every available update, that's the level I'm at. It was a recent update that seems to have broken this, I just don't know which one.
    The parameter was already set to 1,000 and was working fine. The default is 100, and any value greater than 100 now produces the GUI error.
    Newly created reports also produce the same error. I stress that the reports do still run with the value of 1,000 set by PowerShell, it's just the GUI that does not recognise the values set by PowerShell.
    Looks like a bug in a recent Windows Update.

  • Limit the number of record to download to excel from a report

    I am just wondering if there is a way to limit the number of rows that I want to download to excel from a report in apex, right now when I click download to excel it downloads all records. If I am displaying 15 records on report page I want the ability to download only those records.
    Any help with that would be appreciated.
    Kind Regards,
    Sofia.

    Sofia,
    The same report query runs for downloading the data into excel, I don't think you can limit the number of records in download.
    You can achieve it using custom code, like on click of download excel redirect to another page and then restrict the data as per your need, or you can use the custom procedure to download the limited data.
    Denes' utility to download into excel.
    http://htmldb.oracle.com/pls/otn/f?p=31517:108:1476564836494581:::RP,::
    Regards,
    Manish

  • Max number of columns in a Webi report

    In a worst-case scenario test, I requested about 1700 columns in a Webi report, but only a little more than 300 appeared in the SQL; a TOAD request for the same 1700 columns was successful. Is there an upper limit for the number of objects that can appear in a Webi report? Is there a parameter that could increase the limit?

    My eyes read the first half and my brian assumed the second half.
    I dont think there is a limitaion on the number of objects that a WebI report can pull.
    The only limitation I know of is the maximum number of column that you can display in the report panel; the max number is 100,000.
    With the limit on the max number of column diplay in a WebI report can be translated into the max number of columns in the query panel.
    This setting is in CMC> Applications>Web Intelligence-->Quick Display mode

  • PO reporting that can capture PO number, PO value and cost center

    Dear SAP expert and gurus,
    Would like to seek for your professional advise and consult on which report in MM that can capture the PO number, PO value and cost center.
    Kindly advise.
    Thank you
    Regards
    Leonard Tan

    ME80FN is a good report that captured the PO number and amount. However, the cost center is not being captured here. is there any suggestion?
    ME2K is not an ideal report to user cause, user requires the data to be shown in one line instead of 2 to 3 line.
    Is there any report like ME80FN can be captured PO number, PO value and Cost Center.
    Thank you
    Regards
    Leonard Tan

  • Number of records in Report and Cube don't match

    Hello,
    I have a small query. In the cube, thru the 'Manage' context menu option I find in the ' Request' tabstrip the number of records loaded =  23767.
    In the report on this cube I see the number of records = 23369.
    I have not put any restriction or condition in the report. It is a si,ple report that is created to see all the records loaded.
    May you please help me in understanding the reason for the same.
    Thanks for you help.
    Regards,
    Sumita

    To compare the reocrds in Cube against BW Query
    try to display records for small range (monthly) / by Cost Center / any similar key field and then compare the Cube totals with Report totals.
    Hope this helps
    Praveen

  • Number of records in Cube and in report

    Hi,
    Is it possible to have less number of records visible in InfoCube and in reporting report has to show all the records?i.e., if cube contains 100000 records while using InfoCube--->manage and checking the data it has to show only 90000 records,while reporting it has to show all the records.If it is possible how?

    If you want all the records to be displayed on the report as in the cube create a report having all chars & keyfigures with no filters.
    Sry, I dont get the 90000 part..."checking the data it has to show only 90000 records" -- checking where & how ?
    <b>**Added</b> will be the num of records in the cube.

  • Query  for getting records  max  reported  timestamp and 2nd max report

    query for getting records in between
    max reported timestamp and 2nd max reported timestamp
    HERE IS ALL RESULT SET
    TIME DOMAIN
    30:jun:2006:20:08:45 TOMCAT
    30:jun:2006:20:08:45 TOMCAT
    30:jun:2006:20:07:04 TOMCAT
    30:jun:2006:20:07:04 TOMCAT
    30:jun:2006:20:07:24 TOMCAT
    30:jun:2006:20:07:24 TOMCAT
    30:jun:2006:20:07:45 TOMCAT
    30:jun:2006:20:07:45 TOMCAT
    30:jun:2006:20:08:05 TOMCAT
    30:jun:2006:20:07:04 TOMCAT
    30:jun:2006:20:08:05 TOMCAT
    PD_REPORTED_TIMESTAM PD_USER
    30:jun:2006:20:08:25 TOMCAT
    30:jun:2006:20:08:25 TOMCAT
    30:jun:2006:20:08:45 TOMCAT
    30:jun:2006:20:08:45 TOMCAT
    30:jun:2006:20:07:24 TOMCAT
    30:jun:2006:20:07:04 TOMCAT
    30:jun:2006:20:07:24 TOMCAT
    30:jun:2006:20:07:45 TOMCAT
    30:jun:2006:20:07:45 TOMCAT
    30:jun:2006:20:08:05 TOMCAT
    30:jun:2006:20:08:05 TOMCAT
    PD_REPORTED_TIMESTAM PD_USER
    30:jun:2006:20:08:25 TOMCAT
    30:jun:2006:20:08:25 TOMCAT
    QUERY RESULT TO COME
    TIME DOMAIN
    TOMCAT 30:jun:2006:20:08:45
    TOMCAT 30:jun:2006:20:08:45
    TOMCAT 30:jun:2006:20:08:45
    TOMCAT 30:jun:2006:20:08:45
    Message was edited by:
    user517983

    Hi,
    can we write query like this.
    1 select pd_user,PD_REPORTED_TIMESTAMP
    2 from sp_process_detail_current spdc
    3 where host_id='DSCP02469'and pd_user='TOMCAT'
    4 and exists(
    5 select PD_REPORTED_TIMESTAMP from sp_process_detail_current
    6* having max(PD_REPORTED_TIMESTAMP)-spdc.PD_REPORTED_TIMESTAMP=0)
    SQL> /
    PD_USER PD_REPORTED_TIMESTAM
    TOMCAT 30:jun:2006:20:08:45
    TOMCAT 30:jun:2006:20:08:45
    TOMCAT 30:jun:2006:20:08:45
    TOMCAT 30:jun:2006:20:08:45

  • How to set default number of records shown in report table?

    How can I set the default number of records shown in a table report?

    This is how report attributes page should look like and there is the number of rows where you enter whatever you need:
    http://i44.tinypic.com/es95bn.gif
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • Is there any limitations to the maximum number of dimensions in MP?

    hi all
    Is there any limitations to the maximum number of dimensions can be created in Multi provider. If so how what is the maximum number of dimensions that can be created in a multi provider?
    regds
    haritha

    Hi,
    Maximum number of dimensions 16. Out of 16, 3 are system defined
    1.Datapacket
    2.Time
    3.Unit
    It is restricted to 16 because the maximum no of dimensions in any database is 16.
    Reward points if helpful
    Cheers
    Raj

  • Report that displays Costcenter , Document Number and Document type

    Hi All,
    Can anyone suggest Report that displays Costcenter for a Document Number of certain Document type - Like G/L accounts .
    Thanks in advance ,
    Regards,
    Ry

    Good afternoon.
    If you are trying to run a report for a particular cost center (or range of cost centers) and have the report show the GL document number and document type, try transaction KSB1.  You can update the line layout to show these fields.
    If you are trying to run a report for a GL account and have the report show the cost center, run FAGLL03. You can update the line layout to include cost center.
    Apologies if I have mis-understood your question.
    Barb

  • Access 2010 Chart - Report returns an identical chart for every record in the underyling query

    Hi there, I hope someone can help me with this. I've created a stacked column chart in a Report. The chart seems to be working fine but my report is returning a chart for every record in the source query.  The chart adds up the days each vehicle in
    a fleet was used in a given time frame.  I'm not a code writer so wizarded my way to the following:
    TRANSFORM Sum(QVehicleDaysUsed.[DaysOfUseThisMonth]) AS SumOfDaysOfUseThisMonth SELECT QVehicleDaysUsed.[YearMakeModelPlate] FROM QVehicleDaysUsed GROUP BY QVehicleDaysUsed.[YearMakeModelPlate] PIVOT QVehicleDaysUsed.VehicleUseForMonthStarting;
    The chart seems to be producing exactly what I want but it's repeated once for every record in the source query. I don't know if this is the issue but I don't have a Master/Child field linking the chart to the report it's in - chart is unbound and therefore
    won't allow me to link fields. I'd sure appreciate any help you can offer! Thanks!
    (Incidentally VehicleUseForMonthStarting is a date field - ideally it should be shown as a DatePart MMMM but for whatever reason Access is balking at the Format expression.)
    Thanks!

    GOT IT! Hurray.  Obvious after giving it more thought... I had to make the report the chart was in Unbound. :) Leaving post up in case it helps someone else out.

Maybe you are looking for

  • Error while Upgrading Grid EM to 10.2.0.5

    I have 10.2.0.4 OMS/DB/Agent running on Windows 32 bit. I am trying to upgrade OMS to 10.2.0.5. I am getting following error. I get same error if I try to upgrade directly from 10.2.0.2 Output generated from configuration assistant "OC4J Instance Con

  • Mac Mini sound goes to zero on its own.

    I have had my mini since 2009. This issue has happened intermittantly since I got it but has happened several times in the last while. The sound output goes to zero. On it's own. I go into system preferences to sound and slide the bar back to my desi

  • C 6180 printing problem

    Hey you printing experts. Please help me solve this problem. No matter what I print. Web page or anything produced in microsoft office, whatever. I set the printing preferences to Portrait, check the preview. Everything looks great. Then I press prin

  • Extracting data from Variable using embedded Java

    I am reading a file from a File Adapter and using a variable to get the File Name. This file is being copied to another folder using File Adapter with the same name. Now I want to use this File Name in Embeded Java code to encrypt the file. But I am

  • Display T CODE IN PFCG

    dear guru, please let me know how to display tcode when we add Transactions Codes manually in PFCG MENU tab... it the tree its only showing the description of transaction not T-CODE.. please advise it will help me..