SAP Knowledge Base Article - Preview

1274731 - Web Intelligence XI 3 dropping conditions from Universe joins in SQL WHERE clause

Symptom

  • Self joins or joins with special conditions are being dropped from the WHERE clause in the WebI SQL in XI 3.0 and XI 3.1.
  • Example of correct SQL Statement as it appears in Desktop Intelligence:

SELECT
R3_TEST.EMPNO,
R3_TEST.ENAME,
DEPT.DEPTNO
FROM
R3_TEST,
DEPT
WHERE
( R3_TEST.DEPTNO=DEPT.DEPTNO )
AND ( ( exists (Select ENAME from EMP where ENAME= @Variable('BOUSER') AND EMP.DEPTNO=DEPT.DEPTNO))
)

  • How it appears in Web Intelligence:

SELECT
R3_TEST.EMPNO,
R3_TEST.ENAME,
DEPT.DEPTNO
FROM
R3_TEST,
DEPT
WHERE
( R3_TEST.DEPTNO=DEPT.DEPTNO )

  • It is dropping the special condition added to the join in the Universe:

AND ( ( exists (Select ENAME from EMP where ENAME= @Variable('BOUSER') AND EMP.DEPTNO=DEPT.DEPTNO))


Read more...

Product

SAP BusinessObjects Enterprise XI 3.0 ; SAP BusinessObjects Enterprise XI 3.1

Keywords

KBA , BI-BIP-DEP , Webapp Deployment, Networking, Vulnerabilities, Webservices , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.