Report BS AttachEntity() Method Fails With SBL-BPR-00162 (Doc ID 1568752.1)

Last updated on DECEMBER 01, 2016

Applies to:

Siebel Reports - Version 8.1.1.7 SIA [21238] and later
Information in this document applies to any platform.

Symptoms

When attempting to run BIP report using AttachEntity() method of Reports BS and passing input parameter Other_Attachment_BC Required = True to create an attachment in the BC, the following errors can be found in the log file:

 

(stepexec.cpp (1572)) SBL-BPR-00162: Error invoking service 'XMLP Driver Service', method 'GenerateBIPReport' at step 'GenerateBIPReport'.
Setting runtime value of property 'Namespace: 'USER' Name: 'Error Code' Datatype: 'String'' to:
(SBL-BPR-00162)--(SBL-DAT-00215)
Setting runtime value of property 'Namespace: 'USER' Name: 'Error Message' Datatype: 'String'' to:
Error invoking service 'XMLP Driver Service', method 'GenerateBIPReport' at step 'GenerateBIPReport'.(SBL-BPR-00162)
--
This operation is not allowed when there are no records displayed.
Please execute a query that returns at least one record or add a new record.(SBL-DAT-00215)


STEPS TO REPRODUCE
----------------------------
The issue can be reproduced at will with the following steps:
1. Download SIF files from Doc ID 1425724.1: "Siebel BI Publisher Reports Business Service (8.1.1.7+)"
2) Create TEST1 user with Position A
3) Create a new Account where Team has only TEST1
4) Start a new session with SADMIN user with Position System Administrator
5) Using Simulator, run 'Attach Report Optional Inputs.xml' example from Reports BS document. Define Other_Attachment_BC Required = True to add generated report as Attachment of Account
6) Run the report and receive the error below:
SBL-BPR-00162: Error invoking service 'XMLP Driver Service', method 'GenerateBIPReport' at step 'GenerateBIPReport'.
Please execute a query that returns at least one record or add a new record.(SBL-DAT-00215)
When this input parameter is set, SQL against in Account BC with WHERE condition using Account Position fetches no data.
7) When the user's position is added to the Parent Account, the report runs successfully.
8) Testing with the same method with input parameter Other_Attachment_BC Required = False, the report is added to XMLP_REPOUTPT table so user can see it successfully generated under My BIP Reports view.


Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms