Have you ever encountered errors when trying to develop and test a logical SQL statement issued directly to the Oracle BI Server? One common root cause is the use of SQL constructs not supported by the OBI Server; sub-queries are particularly sensitive. According to the Oracle documentation, only the following sub-query predicates are supported (in addition to UNION and UNION ALL):
IN, NOT IN
Any, >=Any, =Any, <Any, <=Any, <>Any
All, >=All, =All, <All,<=All, <>All
EXISTS, NOT EXISTS
For example, try using <Any instead of <. If this does not fix your problem, see if a physical SQL statement is being generated when you run the logical SQL statement. If so, try running the physical SQL directly against a database, and the database error description may provide the information you need for debugging.