My Oracle Support Banner

Save BI Publisher Report Generated as PDF as Attachment Using eScript (Doc ID 1063303.1)

Last updated on JANUARY 31, 2022

Applies to:

Siebel Reports, SPE - Version SIA [19241] and later
Information in this document applies to any platform.


When creating a new attachment in Siebel using the url to the BI Publisher report by using a button with eScript the following error is shown:


[1] Siebel eScript runtime error occurred in procedure 'InvokeMethod' of BusComp [Opportunity Attachment]:

Error: SiebelError: Generic Error in Compression Routine(SBL-UIF-00227)

[2] Stack trace:
BusComp [Opportunity Attachment].InvokeMethod(), Built-in function
BusComp [Opportunity Attachment].BusComp_PreInvokeMethod(), Line: 8

The code is:

Using the same code but specify a file from the local pc (eg. RetValue = this.InvokeMethod("CreateFile", "c:\\report.pdf", "OpptyFileName", "Y"); instead of the url, the attachment is created correctly.

This works if using the 'new file' button and paste the url in the 'Filename' field to select the file. The output PDF report is correctly stored on the Siebel file system.


To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.