I apologize if this question was asked before. I tried searching but the search wasn’t a friend this time
I have this unique requirement that the user wants to provide a list of id’s at run time. The list can be as long as couple of thousand id’s, hence can not be manually entered and needs to be imported from excel. BTW, the list is very dynamic.
Now, I know that there is (or at least was)a limitation of how many values can be provided in ‘in list’. In addition, I do not think of any other way possible to accomplish this out of the box.
The only thing that I can think of is to run another query based on the list the user has, and then combine the queries to filter the ones not in the list.
Can anyone throw some light on this and be the torch bearer for me
Moderators, I am posting this in General section because I am open to Deski or Webi solutions.
You can do that, in client or Webi (xi)… I have used this for client reports where the list of product ids is read into a query - that list is maintained in an XLS, and linked into the report as a dataprovider.
I think at that point you could use the “results of query” to get the data into your filter, where the query is against this spreadsheet.
You could also use a macro to read the values from that provider, stick them in a variable, and then plug that into the original query and refresh.
Thanks for your reply. The users are new to Business Objects and this solution requires multiple queries and merging queries. Needless to say that it is a bit advanced for new users.
But, thanks for the response. I’ll keep an eye on this thread to see if there are other ideas.
The low-budget solution is to cut and paste from Excel (or whatever) into an In-list prompt on a report… We do that, using a simple maco that concatenates all items in a column to a semicolon seperated list.
Not elegant, but the Finance users love it for their GL reporting.
Let me ask you this, to my understanding there is a limit of in list values you can provide as an input. Is that right? I have read that its more of a SQL length limit that BOBJ has…How many values have you tried in list?
Also, is there a way that you can share the macro?
I’m looking for that macro now… The limit to your SQL is probably going to be set by your database, in our case, the ODBC version. Teradata lets us do a meg of SQL, I think.
Also, the max number of items in list is set at the universe - but there were bugs in 6.5x that made this behavior inconsistent, so it was very confusing for our users (and front line support).
I did find that macro - it’s below (runs attached to a button on the input sheet).
Similar solution here … Create an InList from an Excel spreadsheet … my users LOVE IT! Because we are on Oracle, it is subject to the 1,000 value limit. The users add more conditions and OR them together in batches of 1,000 if needed.