Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

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!

replied

Hi Marc,

Could you please test the issue by keeping the MAX_INLIST_VALUES

To -1?

Regards,

Sarbhjeet Kaur

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question