Description:
When creating a custom WEBI report and using a derived Universe, there are issues with reports that contains objects from the OOTB TICKET UNIVERSE CLASS
For example, a simple report that contains the following fields:
TICKET-> Open Date
TICKET-> Close Date
TICKET-> Ref Num
TICKET-> Assignee Combo Name
TICKET-> Type
TICKET-> Group Name
Add the GROUP NAME as a filter to the report with IN LIST and PROMPT attributes
When you attempt to run the report and do a REFRESH VALUES on the GROUP NAME filter, an error is received
A database error occurred. The database error text is: [DataDirect][ODBC OpenAccess SDK Driver] [OpenAccess SDK SQL Engine] AHD12002: Error in QueryHandler in method fetch_response: AHD04199: An unexpected error occurred. Contact your administrator [Microsoft OLE DB Provider for SQL Server] {SQL Code =156 SQL State=42000] Incorrect syntax near keyword 'UNION'.: [Microsoft OLE DB Provider for SQL Server] [SQL Code=156 SQL State=42000] Incorrect syntax near the keyword 'UNION'.. (WIS10901)
Solution:
An ORDER BY clause is being added to the WEBI report query.
This can be resolved by changing the parameter 'FORCE_SORT_LOV' within the Derived Universe
This can be accomplished by: