Siebel Reports Guide: Version 8.1, Rev. B April 2010
Siebel Reports Guide: Version 8.1, Rev. B April 2010
Siebel Reports Guide: Version 8.1, Rev. B April 2010
Copyright 2005, 2010 Oracle and/or its affiliates. All rights reserved. The Programs (which include both the software and documentation) contain proprietary information; they are provided under a license agreement containing restrictions on use and disclosure and are also protected by copyright, patent, and other intellectual and industrial property laws. Reverse engineering, disassembly, or decompilation of the Programs, except to the extent required to obtain interoperability with other independently created software or as specified by law, is prohibited. The information contained in this document is subject to change without notice. If you find any problems in the documentation, please report them to us in writing. This document is not warranted to be errorfree. Except as may be expressly permitted in your license agreement for these Programs, no part of these Programs may be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose. If the Programs are delivered to the United States Government or anyone licensing or using the Programs on behalf of the United States Government, the following notice is applicable: U.S. GOVERNMENT RIGHTS Programs, software, databases, and related documentation and technical data delivered to U.S. Government customers are "commercial computer software" or "commercial technical data" pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, use, duplication, disclosure, modification, and adaptation of the Programs, including documentation and technical data, shall be subject to the licensing restrictions set forth in the applicable Oracle license agreement, and, to the extent applicable, the additional rights set forth in FAR 52.227-19, Commercial Computer Software--Restricted Rights (June 1987). Oracle USA, Inc., 500 Oracle Parkway, Redwood City, CA 94065. The Programs are not intended for use in any nuclear, aviation, mass transit, medical, or other inherently dangerous applications. It shall be the licensee's responsibility to take all appropriate fail-safe, backup, redundancy and other measures to ensure the safe use of such applications if the Programs are used for such purposes, and we disclaim liability for any damages caused by such use of the Programs. The Programs may provide links to Web sites and access to content, products, and services from third parties. Oracle is not responsible for the availability of, or any content provided on, third-party Web sites. You bear all risks associated with the use of such content. If you choose to purchase any products or services from a third party, the relationship is directly between you and the third party. Oracle is not responsible for: (a) the quality of third-party products or services; or (b) fulfilling any of the terms of the agreement with the third party, including delivery of products or services and warranty obligations related to purchased products or services. Oracle is not responsible for any loss or damage of any sort that you may incur from dealing with any third party. Oracle, JD Edwards, and PeopleSoft are registered trademarks of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.
Contents
Chapter 1: Chapter 2:
About Using Oracle Business Intelligence Publisher Add-in for Microsoft Word with Siebel Reports 17
Chapter 3:
Workflow for Generating Reports in Connected Mode Siebel Reports Directory Structure Siebel Reports File Types 25 25
About the Oracle BI Publisher Server in Siebel Business Applications How Siebel Business Applications and Oracle BI Publisher Interact
26 27
Chapter 4:
Preparing for Integration of Oracle BI Publisher with Siebel Business Applications Roadmap for Integrating Oracle BI Publisher with Siebel Business Applications
33 35
Process of Installing and Configuring Oracle BI Publisher for Integration with Siebel Business Applications 35
Installing Oracle BI Publisher for Siebel Business Applications 36 Upgrading to Oracle BI Publisher Version 10.1.3.4.1 from Version 10.1.3.4.0 Copying JAR Files to the Oracle BI Publisher Server 39 37
Contents
Enabling External File References for the Oracle BI Publisher Server 39 Changing the Location of the Oracle BI Publisher Repository for Siebel Reports
40
Process of Configuring the Siebel Application for Integration with Oracle BI Publisher 42
Importing an Archive File to Apply the New Siebel Reports Features 43 Copying Fonts for Report Generation 44 Adding an Explicit Reference to JAR Files for the Oracle BI Publisher Server 44 Configuring the Outbound Web Service for the Oracle BI Publisher Server 46 Creating Report Responsibilities in the Siebel Application 48
49
53
Embedding the Oracle BI Publisher My Jobs View in the Siebel Application 55 Configuring the BIPDataService WSDL for the Oracle BI Publisher Server 56
Uploading Preconfigured Report Templates to the Oracle BI Publisher Server Testing Your Siebel Reports Integration Configurations 58
57
Chapter 5:
Deploying Reports to the Siebel Web Client from a Disconnected Client Purging Reports from the Siebel File System About Multilingual Reports 65 Purging Scheduled Reports from the Oracle BI Publisher Server
Designing Multilingual Reports 65 Adding a Language to a Report 66 Deleting a Language from a Report 66
Roadmap for Optimizing the Performance of Siebel Reports Setting the Report Execution Waiting Period for Reports 67
67
Setting the Server Request Processor Database Polling Interval for Siebel Reports 68 Setting Concurrency Parameters for Siebel Reports 69 Process of Optimizing the Generation Performance of Siebel Reports for Large Data Volumes 70
Enabling Scalable Mode for Siebel Reports 70 Configuring a Temporary Directory on the Oracle BI Publisher Server for Siebel Reports 72 Increasing EAI HTTP Transport Sleep Time for Siebel Reports 73
Contents
Chapter 6:
Generating Reports
75 76 78 80 81
Workflow for Generating Reports Scenario for Generating Reports Generating Reports 79
Example of Generating an Opportunity Report Viewing Previously Generated Reports Deleting Reports 83 82
Chapter 7:
Creating Reports
85 86 87 88 89
Should You Clone an Existing Report or Create Custom Reports? Scenario for Creating Reports Workflow for Creating Reports
Workflow for Uploading Oracle BI Publisher Layout Templates to a Siebel Application 90 Process of Creating Custom Reports 92
Extending Integration Objects to Add New Fields for Siebel Reports 92 Creating New Integration Objects for Siebel Reports 94 Generating Sample XML Data Files for Siebel Reports 95 Creating Layout Templates Using Oracle Business Intelligence Publisher Add-in for Microsoft Word 96 Previewing Layout Templates 97 Registering Layout Templates for Reports 98 Adding Multiple Integration Objects to a Report 100 Associating Registered Reports with Siebel Application Views 101
Chapter 8:
Scheduling Reports
103 105 104 106
Example of Scheduling an Opportunity Report Monitoring and Viewing Scheduled Reports Deleting Scheduled Reports 107
Contents
Chapter 9:
About Referencing Parameters in the Report Template Example of Generating a Parameterized Report
Packaging the Report Files in the Source Environment 122 Migrating the Report Files to the Target Environment 123 Packaging Report Database Records in the Source Environment 124 Migrating Report Database Records to the Target Environment 125 Migrating an Integration Object for a Report 126 Migrating a New Report after Creating New Integration Objects 127
Enabling and Disabling Debugging for Siebel Reports in Disconnected Mode Resolving Class Not Found Errors When Previewing Reports in Microsoft Word Troubleshooting Error Messages for Siebel Reports 134
Index
Table 1. Topic
New Product Features in Siebel Reports Guide, Version 8.1, Rev. B Description Added a caution about not modifying parameters for the XMLP Report Server component. New topic. It provides pointers to integration instructions for other releases of Siebel Reports. New topic. It provides prerequisites before deploying Siebel Reports. New title for topic. Modified topic to reflect high-level integration tasks. New topic. It consolidates several of the Oracle BI Publisher installation and configuration tasks previously located elsewhere in this guide.
Workflow for Generating Reports in Connected Mode on page 22 Where to Find Integration Instructions for Previous Versions of Siebel Reports on page 32 Preparing for Integration of Oracle BI Publisher with Siebel Business Applications on page 33 Roadmap for Integrating Oracle BI Publisher with Siebel Business Applications on page 35 Process of Installing and Configuring Oracle BI Publisher for Integration with Siebel Business Applications on page 35
Table 1. Topic
New Product Features in Siebel Reports Guide, Version 8.1, Rev. B Description Modified topic: Added a note to make it clear that the instructions are for a first-time installation rather than an upgrade from a previous version. Removed the optional step of downloading the Business Intelligence Suite Enterprise Edition Documentation Media Library. Added a step to have users download Oracle BI Publisher Desktop.
New topic. It describes how to upgrade Oracle BI Publisher to version 10.13.4.1 from 10.1.3.4.0. The content was relocated from Appendix C and rewritten to correct inaccuracies and to differentiate from a first-time installation. Modified topic to remove steps for enabling external file references because those steps belong to another task. New topic. It describes how to enable external file references on the Oracle BI Publisher Server. Modified topic: The tasks in this process were added, removed, and reorganized, as needed. Step 3 of the process was rewritten to make sure the XMLP Report Server component is enabled and a caution was added about not changing this components parameters.
Copying JAR Files to the Oracle BI Publisher Server on page 39 Enabling External File References for the Oracle BI Publisher Server on page 39 Process of Configuring the Siebel Application for Integration with Oracle BI Publisher on page 42
Importing the Siebel CRM 8.1.1.1 Fix Pack SIF File for Use with Siebel Reports Importing an Archive File to Apply the New Siebel Reports Features on page 43 Creating Report Responsibilities in the Siebel Application on page 48 Configuring the BIPDataService WSDL for the Oracle BI Publisher Server on page 56
New topic. It describes how to import a SIF file using Siebel Tools to apply the new report scheduling and parameterization features. New topic. It describes how to create new report responsibilities that are necessary for report scheduling. Modified topic for accuracy, ease of use, and completeness.
Table 1. Topic
New Product Features in Siebel Reports Guide, Version 8.1, Rev. B Description Tasks were added, removed, and reorganized as needed. Subtopics were also rewritten. Removed topics. Content relocated elsewhere in the guide.
Process of Securing Siebel User Access to the Oracle BI Publisher Server on page 49 Process of Enabling and Configuring Report Scheduling Setting Up the Database Schema for the Oracle BI Publisher Server Testing Your Siebel Reports Integration Configurations on page 58 Deploying Reports to the Siebel Web Client from a Disconnected Client on page 61 Purging Scheduled Reports from the Oracle BI Publisher Server on page 64 Setting the Report Execution Waiting Period for Reports on page 67 Enabling Scalable Mode for Siebel Reports on page 70 Configuring a Temporary Directory on the Oracle BI Publisher Server for Siebel Reports on page 72 Monitoring the Status of Currently Generating Reports on page 81 Extending Integration Objects to Add New Fields for Siebel Reports on page 92 Scheduling Reports on page 104
New topic. It provides instructions for testing your configurations. New topic. It provides instructions for moving reports from a disconnected client to a Siebel Web Client so that reports are available for generation in connected mode with the Oracle BI Publisher Server. Modified topic to make it clear that the purging instructions are for scheduled reports. Modified topic to reflect that this task is applicable to performance optimization of reports with more than 100 records rather than 2000 records. Corrected directory path in Step 1 of the procedure. Corrected directory path in Step 1 of the procedure.
Added a tip about the timestamp of a report. New topic. It describes how to extend an integration object to add a new field to a report. Added a note at the end of the procedure advising that the My Jobs view is an embedded Web page from the Oracle BI Publisher Enterprise application. Removed the last paragraph in the topic. No preconfigured parameterized reports ship with Siebel Business Applications. Corrected the procedure.
About Parameterized Reports on page 117 Enabling Debugging for Siebel Reports in Disconnected Mode on page 131
Table 1. Topic
New Product Features in Siebel Reports Guide, Version 8.1, Rev. B Description Modified topic to correct the command syntax.
Troubleshooting the CLASSPATH Settings Using Siebel Server Manager on page 139 Appendix C, Upgrading to Siebel Reports Version 8.1.1.1
Additional Changes
Replaced references to Oracle application servers with ORACLE_HOME. Replaced references to the Oracle BI Publisher installation directory with ORACLE_HOME/oc4j_bi. Replaced references to OracleMetaLink 3 with My Oracle Support. Retitled Chapter 4, Integrating Oracle BI Publisher with Siebel Business Applications to clarify that tasks are integration tasks rather than installation and configuration tasks. Also made structural changes to the content, including:
Topic additions, deletions, renaming, and reorganization Revisions to procedures New and revised index entries
Added new requirements for implementing Siebel Reports. Modified steps in roadmap for integrating Oracle BI Publisher with Siebel Business Applications. Provided a better example for the Configuring the Outbound Web Service for the Oracle BI Publisher Server topic. Reworded note at end of the Enabling Scalable Mode for Siebel Reports topic for clarity.
Table 2. Topic
New Product Features in Siebel Reports Guide, Version 8.1, Rev. A Description Modified chapter. It describes how to install and configure Siebel Reports version 8.1.1.1. Modified topic. It describes how to install Oracle Business Intelligence (BI) Publisher version 10.1.3.4.1. New topic. It describes how to purge reports permanently in the Oracle BI Publisher repository.
Chapter 4, Installing and Configuring Siebel Reports Installing Oracle BI Publisher for Siebel Business Applications on page 31 Purging Reports in the Oracle BI Publisher Server on page 51
10
Table 2. Topic
New Product Features in Siebel Reports Guide, Version 8.1, Rev. A Description Modified topic. Added a note about not executing reports with large data volumes as an immediate report request.
Process of Optimizing the Generation Performance of Siebel Reports for Large Data Volumes on page 57 Enabling Scalable Mode for Siebel Reports on page 58 Configuring a Temporary Directory on the Oracle BI Publisher Server for Siebel Reports on page 60 Increasing EAI HTTP Transport Sleep Time for Siebel Reports on page 60 Chapter 7, Scheduling Reports Chapter 9, Using Master-Detail Reports Chapter 10, Parameterized Reports Resolving Class Not Found Errors When Previewing Reports in Microsoft Word on page 118 Appendix B, Report Business Service Appendix C, Upgrading to Siebel Reports Version 8.1.1.1
Modified topic. Added a note advising when not to enable scalable mode. New topic. It describes how to configure a temporary directory on the Oracle BI Publisher Server for use with complex reports. New topic. It describes how to increase the default sleep time to improve performance when generating complex reports or against large data sets. New chapter. It describes how to schedule reports to run at a later date and with recurring frequency. New chapter. Content in this chapter was relocated from Chapter 5, Administering Siebel Reports. New chapter. It provides the additional tasks you must perform when creating parameterized reports. New topic. It describes how to resolve errors encountered when previewing reports in Microsoft Word. New appendix. It describes the Report Business Service and how it is used. New appendix. It describes how to upgrade to Siebel Reports version 8.1.1.1.
Additional Changes
This version of Siebel Reports Guide includes: Several new preconfigured reports are available in this release. For a comprehensive list of the preconfigured reports that ship with Siebel Business Applications, see 876284.1 (Doc ID) on My Oracle Support. Changes made throughout the guide to reflect the new features and functionality for the current release of Siebel Reports. Structural changes to the content, such as topic organization and heading arrangement, revisions to procedures, and an expanded index.
11
Table 3. Topic
New Product Features in Siebel Reports Administration Guide, Version 8.1 Description New chapter. It describes Siebel Reports. New chapter. It describes the Siebel Reports architecture and report generation, the Oracle BI Publisher Server, and how Oracle Business Intelligence Publisher (Oracle BI Publisher) interacts with Siebel Business Applications. New chapter. It describes the preinstallation, installation, and postinstallation tasks for Siebel Reports. New chapter. It describes how to purge reports and create multilingual reports. New chapter. It describes how to run Siebel Reports from a user perspective. New chapter. It describes the report layout templates, integration objects, and master-detail reports. New chapter. It describes how to migrate reports from one environment to another (applicable only to disconnected clients). New appendix. It describes how to enable logging for the various components of Siebel Reports, and how to respond to error messages.
Chapter 6, Administering Siebel Reports Chapter 8, Running Reports Chapter 9, Creating Reports
Additional Changes
Removed all Actuate-related chapters and content. For information about integrating Siebel reports with Actuate, see Siebel Reports Administration Guide version 8.0 on the Siebel Bookshelf. NOTE: The Siebel Bookshelf is available on Oracle Technology Network (OTN), Oracle E-Delivery, or it might be installed locally on your intranet, or on a network location. Reports and the Reports Menu are no longer available in Siebel Tools. Siebel Reports are now accessed using the application views in the Siebel clients. Several reports are no longer available. Of particular note, the following reports are no longer available:
Application Upgrade Object List. Provided object differences between repository versions.
12
Application Upgrade Attributes List. Provided attribute differences between repository versions.
NOTE: The data provided in these reports is still accessible using the Screens menu. For more information about using the Screens menu, see Using Siebel Tools. The following reports have been relocated to the application administration views in the Siebel clients instead of Siebel Tools:
Tables. Provides selected properties and lists the columns for each table. For more information about the Tables report, see Siebel Data Model Reference.
EIM Interface Tables. Provides various properties for each EIM interface table. For more information about the EIM Interface Tables report, see Siebel Enterprise Integration Manager Administration Guide.
Siebel System Requirements and Supported Platforms on Oracle Technology Network (OTN). Siebel Business Applications Third-Party Bookshelf is available on Oracle E-Delivery. Other Siebel CRM documentation (Release Notes, Maintenance Release Guides, Alerts, Technical Notes, Troubleshooting Steps, FAQs, Error Messages) is located on OracleMetaLink 3.
13
14
This chapter provides a brief introduction to Siebel Reports and the reporting tools used to create reports. It includes the following topics: About Siebel Reports on page 15 About Using Siebel Reports on page 16 Siebel Reports Output File Types on page 16 Who Can Use Siebel Reports? on page 17 About Using Oracle Business Intelligence Publisher Add-in for Microsoft Word with Siebel Reports on page 17
15
NOTE: The PPT report output file type is available only in connected mode. For more information about the connection modes in relation to Siebel Reports, see About the Siebel Reports Architecture on page 21. The report output file types that are available to you for a specific report are determined by the report developer when registering a report in the Siebel application. For more information about registering reports, see Registering Layout Templates for Reports on page 98.
16
About Using Oracle Business Intelligence Publisher Add-in for Microsoft Word with Siebel Reports
Oracle Business Intelligence Publisher Add-in for Microsoft Word (also known as Oracle BI Publisher Desktop) is an authoring tool that allows you to use native formatting features of Microsoft Word to design layout templates for reports. The application includes documentation, demos, and samples. NOTE: Siebel Reports allows you to use a subset of the functionality and features the Oracle BI Publisher Desktop provides. Only the features documented in this guide are supported.
17
Overview of Siebel Reports About Using Oracle Business Intelligence Publisher Add-in for Microsoft Word with Siebel Reports
Oracle Business Intelligence Publisher Add-in for Microsoft Word provides separate layout, query, and language capability in one interface. Because data logic is separate from the layout, and the layout is not dependent on the needs of a particular language, this feature allows for flexibility in deployment and reduced maintenance costs. When you open Microsoft Word after installing Oracle Business Intelligence Publisher Add-in for Microsoft Word, the Oracle BI Publisher menu toolbar appears, as shown in Figure 1.
Figure 1.
For information about installing Oracle Business Intelligence Publisher Add-in for Microsoft Word, see Installing Oracle BI Publisher for Siebel Business Applications on page 36. NOTE: It is recommended that you not use Oracle BI Publisher Desktop version 10.1.3.4.1 with Oracle BI Publisher version 10.1.3.4.0.
Advantages of Using Oracle Business Intelligence Publisher Add-in for Microsoft Word as a Report Authoring Tool
Advantages of using Oracle Business Intelligence Publisher Add-in for Microsoft Word for creating layout templates and customizing reports include: Users can build the layout and rules for reports themselves or reuse their existing company documents. Even if your users do not have the skills to create their own layout templates, they can begin creating the template in Microsoft Word. Then the report developer can use that same document to finalize the template and report. Deployment is more efficient, because users can build the report that they want without having to depend on an engineer to interpret their requirements. Testing cycles are reduced because users can implement changes to the report rather than tying up valuable development resources. Report developers can concentrate on extracting only data. Report developers can extract data from diverse sources. Both report developers and report administrators can build and maintain reports. Interoperability with other standards-based reporting engines, such as Oracles enterprise reporting tool that is used in Oracle E-Business Suite, PeopleSoft, JD Edwards, BI EE (Business Intelligence Suite, Enterprise Edition Plus), and so on.
18
Overview of Siebel Reports About Using Oracle Business Intelligence Publisher Add-in for Microsoft Word with Siebel Reports
Export the results of a report query to an Excel spreadsheet Log in to Oracle Business Intelligence Publisher Add-in for Microsoft Word from Excel to refresh your data, apply new parameters, and apply a template to the report data Create templates in Excel, upload them to the Oracle BI Publisher repository, and then access and generate reports from an Excel session
NOTE: The Analyzer for Excel feature is available only in connected mode. For more information about the connection modes in relation to Siebel Reports, see About the Siebel Reports Architecture on page 21. For more information about using Oracle Business Intelligence Publisher Add-in for Microsoft Word, see Oracle Business Intelligence Publisher Report Designer's Guide available on Oracle Technology Network (OTN). NOTE: Not all features mentioned in the Oracle Business Intelligence Publisher documentation are currently integrated in the Siebel Reports solution; only the features documented in this guide.
19
Overview of Siebel Reports About Using Oracle Business Intelligence Publisher Add-in for Microsoft Word with Siebel Reports
20
This chapter describes the Siebel Reports development environment and how Siebel Reports interacts with Oracle Business Intelligence Publisher (Oracle BI Publisher) to generate reports in Siebel Business Applications. It includes the following topics: About the Siebel Reports Architecture on page 21 Workflow for Generating Reports in Connected Mode on page 22 Workflow for Generating Reports in Disconnected Mode on page 23 Siebel Reports Directory Structure on page 25 Siebel Reports File Types on page 25 About the Oracle BI Publisher Server in Siebel Business Applications on page 26 How Siebel Business Applications and Oracle BI Publisher Interact on page 27
21
Siebel Reports Development Environment Workflow for Generating Reports in Connected Mode
Figure 2.
Siebel Reports Architecture and Workflow for Generating Reports in Connected Mode
1 2
22
A report generation event is triggered from a Siebel application view. The Siebel Application Object Manager (AOM) routes the event to the Siebel Database.
Siebel Reports Development Environment Workflow for Generating Reports in Disconnected Mode
3 4 5 6 7 8 9
The Server Request Broker (SRBroker) and the Server Request Processor (SRProc) monitor the request and pass it to the XMLP Report Server component through the XMLP Driver Service. The XMLP Driver Service makes a call to the XMLP Data Service. The XMLP Data Service fetches data from the Siebel Database through the EAI Siebel Adapter, and then returns the control back to the XMLP Data Service. The XMLP Data Service passes control back to the XMLP Driver Service. The XMLP Driver Service makes a call to the XMLP Adapter Service. The XMLP Adapter Service makes a call to the proxy PublicReportService business service. The proxy PublicReportService business service makes a Web service call to the Oracle BI Publisher Server. binary data by way of a Web service call back to the proxy PublicReportService business service.
10 The Oracle BI Publisher Server executes report generation and returns the generated report 11 The proxy PublicReportService business service returns control to the XMLP Adapter Service. 12 The XMLP Adapter Service then downloads the report, and creates the file in the Siebel File
System, which is displayed in the Siebel application.
23
Siebel Reports Development Environment Workflow for Generating Reports in Disconnected Mode
Figure 3 illustrates both the architecture and workflow for generating reports in disconnected mode. NOTE: Oracle BI Publisher was previously known as XML Publisher or XMLP. For this reason, some software elements retain the XMLP naming convention.
Figure 3.
Siebel Reports Architecture and Workflow for Generating Reports in Disconnected Mode
1 2 3 4 5
A report generation event is triggered from a view in the Siebel application. Data is retrieved from the Siebel Database using the EAI Siebel Adapter and stored as XML in the XMLP\DATA folder in the Siebel client installation (SIEBEL_CLIENT_ROOT\CLASSES) directory. A call is routed to the XMLP Report Java Business Service. The XMLP Report Business Service instantiates the EAI Java Business Service, and loads the JAR files to the JVM (Java Virtual Machine). The Oracle BI Publisher XDO Engine loads the XDO classes from the JAR files, and then the XML, XLIFF, and XSL template are given as input to the XDO classes for generating the report. The report is temporarily stored in XMLP\REPORTS, and then sent to the Siebel File System. The control then goes back to the Siebel user interface where the generated report appears.
24
Table 4.
Siebel Reports XMLP Directory Structure Description Contains the generated XML files from the integration object definition. Contains the prepackaged .ttf (TrueType format) font files. NOTE: The administrator must copy the font files from the C:\WINDOWS\Fonts directory to the $JRE_HOME\fonts directory to make sure that reports are displayed and print properly. For more information about copying font files, see Process of Enabling and Configuring Report Scheduling on page 53.
\REPORTS \TEMPLATES
Contains the temporary files for generating reports. Contains the RTF (Rich Text Format) layout templates. Users can download these report files to a local drive. This directory also contains the XSL files necessary for disconnected mode. For information about how these files are used for generating reports, see How Siebel Business Applications and Oracle BI Publisher Interact on page 27.
\xliff\<lang>
Contains the XLIFF files for localization. XLIFF is the XML format for exchanging localization data. If multiple languages are supported, a separate xliff subdirectory is provided for each language and is identified by its language code. For example, XLIFF files for German reside in xliff\deu and XLIFF files for French reside in xliff\fra. NOTE: Siebel Language Packs are installed as part of the Siebel installation process. For more information about installing languages, see Siebel Installation Guide for the operating system you are using.
25
Siebel Reports Development Environment About the Oracle BI Publisher Server in Siebel Business Applications
XLIFF (XML Localization Interchange File Format). A format to store extracted text and carry the data from one step to another in the localization process.
Siebel Reports uses the following languages for generating reports: XSL-FO (Extensible Stylesheet Language-Formatting Objects). An XML vocabulary for specifying formatting semantics. XSLT (Extensible Stylesheet Language Transformation). A language for transforming XML documents. XPath (XML Path Language). An expression language used by XSLT to access or refer to parts of an XML document.
Siebel Reports also supports various report output file types. For more information about these report output types, see Siebel Reports Output File Types on page 16.
26
Siebel Reports Development Environment How Siebel Business Applications and Oracle BI Publisher Interact
Generates reports Creates and manages reports Gets information about the Oracle BI Publisher Server
27
Siebel Reports Development Environment How Siebel Business Applications and Oracle BI Publisher Interact
Figure 4.
A report generation request is initiated from a Siebel application view, and then routed to one of the following to generate the report:
Oracle BI Publisher XDO Engine in disconnected mode Oracle BI Publisher Server in connected mode
2 3
The RTF Processor converts the RTF layout templates to XSL for input to the BI Publisher-FO Processor. The BI Publisher-FO Processor merges the XSL and the XML data files to produce the following output formats:
XML and XSL formats are converted to HTML. XML, XSL-FO, are XLIFF formats are converted to: PDF, HTML, RTF, EXCEL, and PPT.
NOTE: The PPT output file type is available only in connected mode.
28
Siebel Reports Development Environment How Siebel Business Applications and Oracle BI Publisher Interact
Template Builder, a feature of Oracle Business Intelligence Publisher Add-in for Microsoft Word, is used to modify and customize layout templates. Template Builder uses form fields to encapsulate XSL instructions for parsing XML data. Form fields are a feature of Microsoft Word and are the building blocks for layout templates in Oracle Business Intelligence Publisher Add-in for Microsoft Word. You use form fields in template design wherever data is required. Template Builder generates these form fields using the Siebel application and the information specified in the layout template.
29
Siebel Reports Development Environment How Siebel Business Applications and Oracle BI Publisher Interact
30
This chapter provides instructions for administrators to integrate Oracle Business Intelligence Publisher (Oracle BI Publisher) with Siebel Business Applications. It includes the following topics: About Integrating Oracle BI Publisher with Siebel Business Applications on page 31 Preparing for Integration of Oracle BI Publisher with Siebel Business Applications on page 33 Roadmap for Integrating Oracle BI Publisher with Siebel Business Applications on page 35 Process of Installing and Configuring Oracle BI Publisher for Integration with Siebel Business Applications on page 35 Process of Configuring the Siebel Application for Integration with Oracle BI Publisher on page 42 Process of Securing Siebel User Access to the Oracle BI Publisher Server on page 49 Process of Enabling and Configuring Report Scheduling on page 53 Uploading Preconfigured Report Templates to the Oracle BI Publisher Server on page 57 Testing Your Siebel Reports Integration Configurations on page 58
NOTE: The instructions in this chapter might not be applicable to versions of Siebel Reports before 8.1.1.1. For integration instructions for previous Siebel Reports versions, see Where to Find Integration Instructions for Previous Versions of Siebel Reports on page 32.
31
Integrating Oracle BI Publisher with Siebel Business Applications About Integrating Oracle BI Publisher with Siebel Business Applications
Import an archive file for the new report features. Install Oracle Business Intelligence Publisher version 10.1.3.4.1. Install Oracle Business Intelligence Publisher Add-in for Microsoft Word (also known as Oracle BI Publisher Desktop) version 10.1.3.4.1. Perform postinstallation configuration tasks for both the Siebel application and Oracle BI Publisher.
For detailed information about deploying Siebel Reports for the first time, see Roadmap for Integrating Oracle BI Publisher with Siebel Business Applications on page 35.
For instructions on how to upgrade to Siebel CRM 8.1.1.1, see Siebel Maintenance Release Guide on My Oracle Support. For instructions for the other tasks listed above, see the applicable topics in this guide. NOTE: It is recommended that you upgrade to Siebel CRM 8.1.1.1. You can, however, continue to use an existing Siebel CRM 8.1.1 environment, but you will not be able to use the new report scheduling and parameterization features. For more information about Oracle BI Publisher integration with Siebel Business Applications, see About the Oracle BI Publisher Server in Siebel Business Applications on page 26 and How Siebel Business Applications and Oracle BI Publisher Interact on page 27.
32
Integrating Oracle BI Publisher with Siebel Business Applications Preparing for Integration of Oracle BI Publisher with Siebel Business Applications
Siebel CRM version 8.0, 7.8, and 7.7, see the appropriate Siebel Maintenance Release Guide on My Oracle Support.
1 2 3
Review Siebel System Requirements and Supported Platforms on Oracle Technology Network. Also check for applicable alerts, bulletins, or other documents on My Oracle Support. Install Java Development Kit (JDK) version 1.5 or later and point the JAVA_HOME system environment variable to the JDK, if you have not already performed this task. Make sure that you have an existing installation of Siebel CRM version 8.1.1.1. If not, upgrade using the Siebel CRM 8.1.1.1 Fix Pack as described in Siebel Maintenance Release Guide on My Oracle Support. Some of the requirements for Siebel Reports include:
Siebel Application Object Manager (AOM), for example, Call Center Object Manager (ENU) Siebel Enterprise Integration (EAI) XMLP Report Server component
A Siebel Web Client (or other connected client) for connected mode
NOTE: For connected mode, a Siebel Web Client is not necessarily a requirement for some Siebel Business Applications. Siebel Reports supports environments that have either: 1) a Siebel Server (or servers), the Oracle BI Publisher Server, and a Siebel Web Client, or 2) a Siebel Server (or servers), and the Oracle BI Publisher Server. For more information about connected mode, see About the Siebel Reports Architecture on page 21.
A Siebel mobile client (Mobile Web Client or Developer Web Client) for disconnected mode
NOTE: The Siebel mobile clients do not require that the Siebel XMLP Report Server, AOM, or EAI server components be enabled.
33
Integrating Oracle BI Publisher with Siebel Business Applications Preparing for Integration of Oracle BI Publisher with Siebel Business Applications
Siebel Tools to create new or edit existing integration objects If you need to modify an integration object in the Siebel Repository or you require an integration object that is not available in the Siebel Repository, you must have Siebel Tools installed. For more information about:
Installing Siebel Tools, see Siebel Installation Guide for the operating system you are using. Using Siebel Tools, see Using Siebel Tools. Extending an integration object to add new report fields, see Extending Integration Objects to Add New Fields for Siebel Reports on page 92. Creating a new integration object for Siebel Reports, see Creating New Integration Objects for Siebel Reports on page 94.
(Optional) Application Deployment Manager (ADM) You might want to use ADM to migrate reports from one Siebel environment to another (for example, migrating reports from the development to the production environment). For more information about ADM, see Siebel Application Deployment Manager Guide.
Make sure that you have an existing installation of Oracle BI Publisher version 10.1.3.4.1. The required Oracle BI Publisher software includes:
Oracle Business Intelligence Publisher version 10.1.3.4.1 OC4J (Oracle Application Server Containers for Java Platform, Enterprise Edition) is installed as part of this installation. For more information about OC4J, see Oracle Business Intelligence Publisher Installation Guide, Release 10.1.3 available on Oracle Technology Network (OTN). The Oracle BI Publisher Server is also installed as part of this installation. During report generation, which is triggered from the Siebel application, data is pushed from the Siebel Database to the Oracle BI Publisher Server to generate reports. When handling a report request, the Oracle BI Publisher Server merges the data with the report template from the Oracle BI Publisher repository, and then sends the report to the Siebel application.
Oracle BI Publisher Add-In for Microsoft Word (also known as Oracle BI Publisher Desktop) version 10.1.3.4.1 Oracle BI Publisher Desktop is a report authoring tool, which allows you to author and preview layout templates using Microsoft Word.
For information about installing Oracle BI Publisher as a first-time installation, see Installing Oracle BI Publisher for Siebel Business Applications on page 36. For information about upgrading from an existing version 10.1.3.4.0 installation, see Upgrading to Oracle BI Publisher Version 10.1.3.4.1 from Version 10.1.3.4.0 on page 37.
34
Integrating Oracle BI Publisher with Siebel Business Applications Roadmap for Integrating Oracle BI Publisher with Siebel Business Applications
Verify that you have installed Siebel CRM versions 8.1.1 and 8.1.1.1. For installation information for Siebel CRM version 8.1.1, see Siebel Installation Guide for the operating system you are using. For upgrade information to Siebel CRM version, 8.1.1.1, see Siebel Maintenance Release Guide on My Oracle Support.
2 3 4 5 6
Process of Installing and Configuring Oracle BI Publisher for Integration with Siebel Business Applications on page 35 Process of Configuring the Siebel Application for Integration with Oracle BI Publisher on page 42 Process of Securing Siebel User Access to the Oracle BI Publisher Server on page 49 Process of Enabling and Configuring Report Scheduling on page 53 Uploading Preconfigured Report Templates to the Oracle BI Publisher Server on page 57
For more information about integration of Oracle BI Publisher with Siebel Business Applications, see About Integrating Oracle BI Publisher with Siebel Business Applications on page 31.
Process of Installing and Configuring Oracle BI Publisher for Integration with Siebel Business Applications
This topic provides instructions for installing and configuring Oracle Business Intelligence Publisher (Oracle BI Publisher) for integration with Siebel Business Applications. This process is a step in Roadmap for Integrating Oracle BI Publisher with Siebel Business Applications on page 35. To install and configure Oracle BI Publisher for integration with Siebel Business Applications, perform the following tasks:
For a first-time installation, see Installing Oracle BI Publisher for Siebel Business Applications on page 36. If you are upgrading to Oracle BI Publisher version 10.1.3.4.1 from version 10.1.3.4.0, see Upgrading to Oracle BI Publisher Version 10.1.3.4.1 from Version 10.1.3.4.0 on page 37.
35
Integrating Oracle BI Publisher with Siebel Business Applications Process of Installing and Configuring Oracle BI Publisher for Integration with Siebel Business
2 3 4
Copying JAR Files to the Oracle BI Publisher Server on page 39 Enabling External File References for the Oracle BI Publisher Server on page 39 (Optional) Changing the Location of the Oracle BI Publisher Repository for Siebel Reports on page 40
For more information about working with Oracle BI Publisher in Siebel Business Applications, see About the Oracle BI Publisher Server in Siebel Business Applications on page 26 and How Siebel Business Applications and Oracle BI Publisher Interact on page 27.
Select the Oracle Business Intelligence 10.1.3 Media Pack for your operating system, and then click Continue. For example, you might select Oracle Business Intelligence (10.1.3) Media Pack for Microsoft Windows (32-bit).
36
Integrating Oracle BI Publisher with Siebel Business Applications Process of Installing and Configuring Oracle BI Publisher for Integration with Siebel Business
Download the Oracle BI Publisher 10.1.3.4.1 installers. For example, if you chose Oracle Business Intelligence (10.1.3) Media Pack for Microsoft Windows (32-bit) in Step 5, you download the following:
Oracle Business Intelligence Publisher Enterprise 10.1.3.4.1 for Microsoft Windows. Oracle Business Intelligence Publisher Desktop 10.1.3.4.1 for Microsoft Windows. NOTE: Typically administrators download and install Oracle Business Intelligence Desktop (also known as Oracle Business Intelligence Publisher Add-in for Microsoft Word) during the Oracle BI Publisher Enterprise installation, however, you can install it any time.
Decompress the installer into a directory of your choice. If you chose Oracle Business Intelligence (10.1.3) Media Pack for Microsoft Windows (32-bit) in Step 4, you decompress the V16384-01.zip file. CAUTION: You must extract the .zip file to a directory whose name does not contain spaces. If the directory name contains spaces, the installation fails.
Follow the instructions provided in Installing BI Publisher into Oracle Application Server for OC4J 10.1.3.1 in Oracle Business Intelligence Publisher Installation Guide, Release 10.1.3 available on Oracle Technology Network (OTN). NOTE: OC4J is installed and the Oracle BI Publisher Server starts automatically as part of this installation.
Install Oracle Business Intelligence Publisher Add-in for Microsoft Word (also known as Oracle BI Publisher Desktop) by doing the following:
Decompress the appropriate .zip file according to the Media Pack you chose in Step 4. For example, if you chose Oracle Business Intelligence (10.1.3) Media Pack for Microsoft Windows (32-bit) in Step 5, you decompress the V16380-01.zip file. CAUTION: You must extract the .zip file to a directory whose name does not contain spaces. If the directory name contains spaces, the installation fails.
b 9
Make sure that applicable users install Oracle BI Publisher Desktop on a computer where Microsoft Word for Windows is installed.
37
Integrating Oracle BI Publisher with Siebel Business Applications Process of Installing and Configuring Oracle BI Publisher for Integration with Siebel Business
This task is a step in Process of Installing and Configuring Oracle BI Publisher for Integration with Siebel Business Applications on page 35. NOTE: The instructions in this topic are not applicable if you are installing Oracle BI Publisher for the first time. To install Oracle BI Publisher as a first-time installation, see Installing Oracle BI Publisher for Siebel Business Applications on page 36. You upgrade the Oracle BI Publisher Server by deploying a new Enterprise Archive (EAR) file. An EAR file represents a Java EE application that is deployed in an application server. EAR files are standard Java Archive (JAR) files. A JAR file aggregates many files into one, for example, JAR files are used to distribute Java classes and associated metadata. A Web Application Archive (WAR) file is a file used to distribute a collection of JavaServer Pages (JSP), servlets, Java classes, XML files, tag libraries, and static Web pages (HTML and related files) that together constitute a Web application. Java EE bundles applications into EAR files for distribution. The EAR files contain JAR files and WAR files but might also contain: One or more Web modules One or more Enterprise JavaBeans (EJB) modules One or more application client modules Additional JAR files required by the application Any combination of the above
Follow the instructions as described in the Oracle Business Intelligence Publisher Installation Guide Release 10.1.3.4 Web site at http://download.oracle.com/docs/cd/E12844_01/doc/bip.1013/e12690/T434820T524414.htm NOTE: The steps are the same for upgrading to version 10.1.3.4.1 from version 10.1.3.4.0 with the exception that you do not need to test the login page or install the fonts.
Follow the instructions in the Upgrading to this Release topic in the Oracle Business Intelligence Publisher Release Notes Release 10.1.3.4.1 Web site at http://download.oracle.com/docs/cd/E12844_01/doc/bip.1013/e12691/toc.htm#T539006
http://download.oracle.com/docs/cd/E12844_01/doc/bip.1013/e12690/T434820T487784.htm#4729768
The instructions contain information for uninstalling current installations. NOTE: It is recommended that you do not use Oracle BI Publisher Desktop version 10.1.3.4.0 with Oracle BI Publisher version 10.1.3.4.1.
Make sure that your users upgrade to Oracle BI Publisher Desktop version 10.1.3.4.1. For information about using Oracle BI Publisher Desktop with Siebel Reports, see About Using Oracle Business Intelligence Publisher Add-in for Microsoft Word with Siebel Reports on page 17.
38
Integrating Oracle BI Publisher with Siebel Business Applications Process of Installing and Configuring Oracle BI Publisher for Integration with Siebel Business
NOTE: Typically, ORACLE_APPSRVR_HOME is located in the C:\OraHome_X\oc4j_bi directory for an Oracle BI Publisher installation.
If there are additional custom Java extensions, you must copy those JAR files as well.
Select Start, Programs, Oracle - BIPHomeX (where X is a system-assigned number when you install Oracle BI Publisher), and then Start BI Publisher. A command window appears. NOTE: You must leave this command window open while the Oracle BI Publisher Server is running.
39
Integrating Oracle BI Publisher with Siebel Business Applications Process of Installing and Configuring Oracle BI Publisher for Integration with Siebel Business
Confirm the Oracle BI Publisher Server is started. When the server is started an Oracle Containers are initialized statement appears in the command window.
Log in to the Oracle BI Publisher Server with administrator privileges by doing the following:
a b
Select Start, Programs, Oracle - BIPHomeX, and then BI Publisher Server. Enter your administrator credentials (such as Administrator for the login and Administrator for the password). NOTE: Administrator credentials for the Oracle BI Publisher Server are established during installation and are case sensitive.
3 4 5
Click the Admin tab, and then select Properties under Runtime Configuration. Change the default value for the Disable External Reference attribute to FALSE, and then click Apply. Restart the Oracle BI Publisher Server to make the changes take effect by doing the following:
a b c
Select Start, Programs, and then Oracle - BIPHomeX. Choose Stop BI Publisher. Choose Start BI Publisher.
Changing the Location of the Oracle BI Publisher Repository for Siebel Reports
This topic describes how to change the location of the Oracle BI Publisher repository for use with Siebel Reports. By default, the location of the Oracle BI Publisher repository is stored in the Oracle home JVM property with a value of ${oracle.home}/xdo/repository. The Siebel application uses this JVM property to access the Oracle BI Publisher repository. If Oracle BI Publisher is running on an Oracle Application server or an Oracle Application Server Containers for Java Platform, Enterprise Edition (OC4J) standalone, this oracle.home property value is automatically set by the OC4J container. For more information about OC4J, see Oracle Business Intelligence Publisher Installation Guide, Release 10.1.3 available on Oracle Technology Network (OTN). This task is an optional step in Process of Installing and Configuring Oracle BI Publisher for Integration with Siebel Business Applications on page 35. If you do not want to use ${oracle.home}/xdo/repository as the location of your Oracle BI Publisher repository, there are three different ways you can change it: Create a custom XML file Replace a JVM property name Change the absolute path to the repository
40
Integrating Oracle BI Publisher with Siebel Business Applications Process of Installing and Configuring Oracle BI Publisher for Integration with Siebel Business
Changing the Location of the Oracle BI Publisher Repository by Creating a Custom XML File
Use the following procedure to change the location of the Oracle BI Publisher Repository by creating a custom XML file.
To create a custom XML file to change the location of the Oracle BI Publisher repository 1
Copy the xmlp-server-config.xml file and paste it to a folder where Oracle BI Publisher can read it. For example, in an Oracle AS/OC4J 10.1.3 deployment, you copy the configuration file from: OC4J_HOME/j2ee/home/applications/xmlpserver/xmlpserver/WEB-INF/xmlp-serverconfig.xml
Edit the newly created .xml file to reflect the new path. The default configuration for the xmlp-server-config.xml file is: <?xml version="1.0" encoding="UTF-8"?> <xmlpConfig xmlns="http://xmlns.oracle.com/oxp/xmlp"> <resource> <file path="${oracle.home}/xdo/repository"/> </resource> </xmlpConfig>
Start the application server by adding the following JVM option: -Dxdo.server.config.dir=/home/BIP
Changing the Location of the Oracle BI Publisher Repository by Replacing a JVM Property Name
Use the following procedure to change the location of the Oracle BI Publisher Repository by replacing a JVM property name.
To change the location of the Oracle BI Publisher repository by replacing a JVM property name
In the WEB-INF/xmlp-server-config.xml file, replace oracle.home with some other JVM property name. NOTE: You must set the value of the new JVM property to the correct repository path.
41
Integrating Oracle BI Publisher with Siebel Business Applications Process of Configuring the Siebel Application for Integration with Oracle BI Publisher
Changing the Location of the Oracle BI Publisher Repository by Changing the Absolute Path to the Repository
Use the following procedure to change the location of the Oracle BI Publisher Repository by changing the absolute path to the repository.
To change the location of the Oracle BI Publisher repository by changing the absolute path to the repository
In the WEB-INF/xmlp-server-config.xml file, change the absolute path to the repository that you want.
Process of Configuring the Siebel Application for Integration with Oracle BI Publisher
This topic provides instructions for configuring your Siebel application for integration with Oracle Business Intelligence Publisher (Oracle BI Publisher). This process is a step in Roadmap for Integrating Oracle BI Publisher with Siebel Business Applications on page 35. To configure the Siebel application for integration with Oracle BI Publisher, perform the following tasks:
1 2
Make sure that you have an existing installation of Siebel CRM version 8.1.1.1. Using Siebel Tools, import an archive file to apply the new report scheduling and parameterization features. For instructions, see Importing an Archive File to Apply the New Siebel Reports Features on page 43.
Make sure that the following components are enabled on the Siebel Server:
Enterprise Application Integration (EAI) The applicable Siebel AOM (Application Object Manager), for example, SCCObjMgr_enu for Siebel Call Center Make sure that the XMLP Report Server Component on the Siebel Server is enabled. NOTE: The XMLP Report Server component might already be enabled depending on how you configured your original Siebel Server installation. CAUTION: Do not change the XMLP Report Server component parameters. Any modification can adversely affect performance and operation.
For information about enabling component on the Siebel Server, see Siebel System Administration Guide.
Make sure that the Siebel Server is running and the Siebel Mobile Web Client and Siebel Tools can connect to the server data source.
42
Integrating Oracle BI Publisher with Siebel Business Applications Process of Configuring the Siebel Application for Integration with Oracle BI Publisher
5 6 7 8
Copying Fonts for Report Generation on page 44 Adding an Explicit Reference to JAR Files for the Oracle BI Publisher Server on page 44 Configuring the Outbound Web Service for the Oracle BI Publisher Server on page 46 Create four report responsibilities in the Siebel application that correlate with roles in the Oracle BI Publisher Server. For instructions for these tasks, see Creating Report Responsibilities in the Siebel Application on page 48.
Enable logging for Siebel Reports. For information about enabling logging for Siebel Reports, see Enabling Logging for the XMLP Report Server Component on page 129.
2 3 4 5 6
Log in to Siebel Tools. From the application-level menu, select Tools, and then the Import from Archive menu item. In the file browser dialog window, choose 8111FP_new_feature.sif from the D:\SIEBEL_TOOLS_ROOT\REPPATCH directory (where Siebel Tools is installed). Follow the import wizard prompts to import the SIF file. Compile the repository file.
43
Integrating Oracle BI Publisher with Siebel Business Applications Process of Configuring the Siebel Application for Integration with Oracle BI Publisher
To copy fonts
On the Siebel Server where the XMLP Report Server component is enabled, do one of the following:
For Windows, copy the fonts in C:\WINDOWS\Fonts directory to the fonts directory in the Java installation directory for your deployment (typically this is JAVA_HOME\lib\fonts). For UNIX, copy the fonts in the /Fonts directory to the fonts directory in the Java installation directory for your deployment.
NOTE: This task is typically performed as part of the Siebel application installation. However, administrators can perform this task at any time.
Adding an Explicit Reference to JAR Files for the Oracle BI Publisher Server
To enable report scheduling, you must add an explicit reference to the Siebel JAR files for the Oracle BI Publisher Server. This is because when a report is scheduled, a new .xdo file is sent to the Oracle BI Publisher Server that contains the schedule job information. This task is a step in Process of Configuring the Siebel Application for Integration with Oracle BI Publisher on page 42.
To add an explicit reference to JAR files for the Oracle BI Publisher Server 1 2
Navigate to the Administration - Server Configuration screen, Enterprises, and then the Profile Configuration view. Select the XMLPJvmSubsys profile.
44
Integrating Oracle BI Publisher with Siebel Business Applications Process of Configuring the Siebel Application for Integration with Oracle BI Publisher
In the Profile Parameters subview, provide the appropriate values. Some of the values are provided in the following table. Make sure that the paths correctly locate the required files. Parameter JVM Classpath Value <SIEBSRVR_ROOT>/ses/siebsrvr/Classes/Siebel.jar; <SIEBSRVR_ROOT>/ses/siebsrvr/Classes/SiebelXMLP.jar For example, for UNIX you might enter the following value: ${SIEBEL_HOME}/classes/SiebelXMLP.jar:${SIEBEL_HOME}/classes/ Siebel.jar:${SIEBEL_HOME}/classes/XSLFunctions.jar where: ${SIEBEL_HOME} is the actual path where the Siebel application is installed. CAUTION: An error might occur if the value of the CLASSPATH parameter is too long (must be less than 1024 characters). To avoid this, copy the CLASSPATH folder to the root directory, and then point CLASSPATH to this path. Alternatively, you can set the CLASSPATH using the Siebel Server Manager (srvrmgr program). For information about using the srvrmgr program to set the CLASSPATH, see Troubleshooting the CLASSPATH Settings Using Siebel Server Manager on page 139. JVM DLL Name For Windows: <path to jvm.dll_file> For AIX, Linux, and Solaris: <path to libjvm.so_file> For HP-UX: <path to libjvm.sl_file> For more information on setting the values of the JVM DLL Name and JVM Options parameters, see Transports and Interfaces: Siebel Enterprise Application Integration.
a b
Set the JVM DLL Name as: /usr/jdk1.5.0_06/jre/lib/i386/client/libjvm.so Set the JAVA_HOME environment variable as: /usr/java
45
Integrating Oracle BI Publisher with Siebel Business Applications Process of Configuring the Siebel Application for Integration with Oracle BI Publisher
Configuring the Outbound Web Service for the Oracle BI Publisher Server
The PublicReportService outbound Web service is the mechanism that uploads reports from the Oracle Business Intelligence Publisher (Oracle BI Publisher) Server and passes the reports to the Siebel application in connected mode. For this functionality to work, you must set a WSDL (Web Service Definition Language) definition for the Siebel outbound Web service to the actual address of the Oracle BI Publisher Server. As of Siebel CRM version 8.1.1.1, you must first make changes to some of the object definitions in the base 8.1.1 repository using Siebel Tools and generate an updated PublicReportService Web service from the Siebel application before you can set the WSDL. This task is a step in Process of Configuring the Siebel Application for Integration with Oracle BI Publisher on page 42.
To configure the outbound Web service for the Oracle BI Publisher Server 1
Generate a new WSDL file by doing the following:
a b
Start up the Oracle BI Publisher Server. Using your browser, enter the following URL to retrieve the Web service definition. http://<host>:<port>/xmlpserver/services/PublicReportService_v11?wsdl where:
host is the full path for your Oracle BI Publisher Server port is the port that the Oracle BI Publisher Server uses
c 2
Using Siebel Tools, delete the PublicReportService outbound Web service and related integrated objects by doing the following:
a b c 3
Log in to Siebel Tools. Query for the PublicReportService business service, and then remove this object. Select Integration Object, query for the XMLP Integration project, and then remove all selected objects.
a b c d 4
In Siebel Tools, choose File, New Objects, the EAI tab, Web Service, and then click OK. Select the XMLP Integration project. Browse to import the PublicReportService_v11.WSDL document file (the file you created in Step 1 on page 46), and then click Next. Check the Deploy Integration Object(s) and Proxy Business Service(s) checkbox, and then click Finish.
a b
46
In Siebel Tools, select the Business Service object type. Perform a query with the following criteria:
Integrating Oracle BI Publisher with Siebel Business Applications Process of Configuring the Siebel Application for Integration with Oracle BI Publisher
5 6 7
In the Object Explorer, select Integration Object, query for the XMLP Integration project, and then verify that 128 objects are returned. Compile the XMLP Integration project. For information about compiling SRFs, see Using Siebel Tools. Change the Address field on the Service Port so that it reflects the name of the computer hosting the Oracle BI Publisher Server by doing the following:
a b c d e
Log in to the Siebel application as a Siebel administrator. Navigate to the Administration - Web Services screen, then the Outbound Web Services view. In the Name field, query for PublicReportServiceService. Inactivate the original Web service that was replaced with the v11 version. Make sure that the service port address corresponds to the Oracle BI Publisher Server. The format is: http://<host.domain>:<port>/xmlpserver/services/PublicReportService_v11 where:
host.domain is the full path for the Oracle BI Publisher Server port is the port that the Oracle BI Publisher Server uses
For example, the address might be: http://BIPhost:9704/xmlpserver/services/PublicReportService_v11 NOTE: Typically, there is no need to change this address because it is automatically populated when you configure the business service and Web service in Siebel Tools using the Web service wizard.
Click Clear Cache to make sure that the changes are propagated to runtime memory.
47
Integrating Oracle BI Publisher with Siebel Business Applications Process of Configuring the Siebel Application for Integration with Oracle BI Publisher
a b
Navigate to the Administration - Application screen, then the Views view. In the Views list, create a new view entitled Report Job List View, and complete the necessary fields.
NOTE: The name of this view should match the name of the view in Siebel Tools. This view is required for report scheduling and is packaged in the 8111FP_new_feature.sif file that you imported in Importing an Archive File to Apply the New Siebel Reports Features on page 43.
a b
Navigate to the Administration - Application screen, then the Responsibilities view. Create the following new responsibilities, making sure to add appropriate users to each: Responsibility XMLP_ADMIN XMLP_DEVELOPER XMLP_SCHEDULER XMLP_SIEBEL_GUEST Description Administrator role for the Oracle BI Publisher Server with no access limitations. Assign this responsibility to allow for uploading reports from the Oracle BI Publisher Server to the Siebel application. Assign this responsibility to allow for scheduling of reports. Assign this responsibility to limit access to reports. This responsibility only allows for generation, viewing, and deletion of users own reports.
NOTE: The reporting responsibilities in the Siebel application correspond to roles and permissions on the Oracle BI Publisher Server. The names of these responsibilities must exactly match the corresponding set of roles on the Oracle BI Publisher Server. For information about how the Siebel application recognizes these roles and permissions, see Configuring Security and Authentication Using the Siebel Security Model on page 50.
Associate the Report Job List View view with the XMLP_SCHEDULER responsibility.
48
Integrating Oracle BI Publisher with Siebel Business Applications Process of Securing Siebel User Access to the Oracle BI Publisher Server
d 3 a b
Log out of the Siebel application, then log back in to have the new responsibilities take effect.
Verify your configurations by doing the following: From the Reports menu, select My BI Publisher Reports. Confirm a new My Jobs link was added to the My BI Publisher Reports screen. The My Jobs link in the Siebel application is an embedded user interface to the Oracle BI Publisher Server that allows users to view their scheduled reports. Before you can use this link, you must perform further configuration to embed the My Jobs view in the Siebel application. However, you must first secure user access to the Oracle BI Publisher Server and enable and configure report scheduling.
Proceed to Process of Securing Siebel User Access to the Oracle BI Publisher Server on page 49.
For more information about the Siebel Reports environments, see Chapter 3, Siebel Reports Development Environment. To secure user access to the Oracle BI Publisher Server, perform one of the following tasks: Configuring Security and Authentication Using the Siebel Security Model on page 50 Configuring Security and Authentication Using the LDAP Security Model on page 52
49
Integrating Oracle BI Publisher with Siebel Business Applications Process of Securing Siebel User Access to the Oracle BI Publisher Server
a b c
Navigate to the Administration - Web Services screen, then the Inbound Web Services view. Import the BIPSiebelSecurityWS.XML file from the SIEBEL_TOOLS_ROOT\REPPATCH directory (where Siebel Tools is installed). In the Address field of the Service Ports subview, replace the existing address with the specific address of the Siebel Server. NOTE: You will copy this address into the Oracle BI Publisher Server in Step 3 of this procedure.
d 2 a
Create a local Superuser for the Oracle BI Publisher Server by doing the following: Launch Oracle BI Publisher (for example, http://<BIPServerHost>:9704/xmlpserver), and then log in to the Oracle BI Publisher Server with administrator credentials. NOTE: The URL for launching Oracle BI Publisher resides in the BI_Publisher_readme.txt file located in the Oracle BI Publisher installation folder. Administrator credentials are case sensitive.
b c
Click the Admin tab, and then select Security Configuration (in the Security Center section). Check the Enable Local Superuser checkbox, enter a Superuser name and password of your choice, and then click Apply.
NOTE: It is recommended that you create a local Superuser because it allows an administrator to log in directly to the Oracle BI Publisher Server when the Siebel Server is not running.
Enable the Siebel Security model on the Oracle BI Publisher Server by doing the following:
In the Security Model section, choose Siebel Security Model from the Security Model dropdown list.
50
Integrating Oracle BI Publisher with Siebel Business Applications Process of Securing Siebel User Access to the Oracle BI Publisher Server
Copy the address of the BIPSiebelSecurityWS Web service (that you entered in the Siebel application in Step 1) and paste it into the Siebel Web Service Endpoint field. NOTE: The address of the Web Service Endpoint parameter in the Oracle BI Publisher Server is the same address as the inbound Web service used by the Siebel Server.
Enter the Siebel administrator credentials (for example, SADMIN/SADMIN), and then click Apply. The following table provides sample parameter values for a Siebel Security model configuration. Parameter Security Model Siebel Web Service Endpoint Administrator Username Administrator Password Value Siebel Security http://localhost/eai_enu/ start.swe?SWEExtSource=WebService&SWEExtCmd=Execute SADMIN SADMIN
NOTE: Siebel administrator credentials are necessary for the Oracle BI Publisher application to log into the Siebel EAI object manager. These credentials are case sensitive and must match the Siebel database specifications.
Verify that Siebel Security has been implemented by doing the following:
a b c
Restart the Oracle BI Publisher Server. Start the Oracle BI Publisher Enterprise application (from the Start Menu, choose BI Publisher Server). Log in to the Oracle BI Publisher Enterprise application using the Siebel administrator credentials you entered in Step 3. The Siebel Security model was successfully implemented if you are able to login using the Siebel credentials.
Click the Admin tab, select Roles and Permissions (in the Security Center section), and then add the SiebelCRMReports folder to the following roles:
51
Integrating Oracle BI Publisher with Siebel Business Applications Process of Securing Siebel User Access to the Oracle BI Publisher Server
a b c d e
Make sure that there is an XMLP_ADMIN group for the LDAP Server. Log in to the LDAP Server. Create a new LDAP user with which to authenticate the Oracle BI Publisher Server. For example, uid=appsuser,ou=people,o=siebel.com, where appsuser is a name of your choice. Add this new user to the XMLP_ADMIN group. Add users who schedule reports to the XMLP_ADMIN group.
For more information on this step, see the topic on configuring LDAP or ADSI security adapters using the Siebel Configuration Wizard in Siebel Security Guide.
Set the user credentials for the Oracle BI Publisher Server by doing the following:
Log in to the Oracle BI Publisher Server with administrator privileges, and specify LDAP as the security model you want to implement for Oracle BI Publisher. Then specify the user credentials for your directory. For example, you might set the credentials for a SunOne LDAP Server as follows:
Security Model is LDAP. URL is ldap://<ldap_host_name>:<ldap_port>. Administrator Username is uid=appuser,ou=people,o=siebel.com where appuser is the authentication user created in the LDAP Server Directory. This is a fully qualified username with LDAP connect string.
52
Integrating Oracle BI Publisher with Siebel Business Applications Process of Enabling and Configuring Report Scheduling
Administrator Password is the password for the user you created for authentication (in this example, that is uid=appsuser,ou=people,o=siebel.com). Distinguished Name for Users is based on the LDAP Server value. Distinguished Name for Groups is based on the LDAP Server value. Group Search Filter is a value of your choice. The default value is (&(objectclass=groupofuniquenames)(cn=*)). Group Attribute Name is a value of your choice. The default value is cn. Group Member Attribute Name is a value of your choice. The default value is uniquemember. Group Description Attribute Name is a value of your choice. The default value is description. attribute used for RDN is based on the LDAP Server value (in this example, uid). Ldap Cache Interval is based on your specific deployment. Ldap Cache Interval Unit is based on your specific deployment.
b c
Stop and restart the OC4J environment. Log in to the Oracle BI Publisher Server using the LDAP directory user name and password.
For more information on implementing LDAP for Oracle BI Publisher, refer to the Oracle BI Publisher documentation. For information on setting up an LDAP directory, see the topic on setting up the LDAP or ADS Directory in Siebel Security Guide.
Make sure have performed the tasks as described in the following processes:
a b c
Process of Installing and Configuring Oracle BI Publisher for Integration with Siebel Business Applications on page 35 Process of Configuring the Siebel Application for Integration with Oracle BI Publisher on page 42 Process of Securing Siebel User Access to the Oracle BI Publisher Server on page 49
53
Integrating Oracle BI Publisher with Siebel Business Applications Process of Enabling and Configuring Report Scheduling
Create the scheduling database on the Oracle BI Publisher Server by following the instructions in Oracle Business Intelligence Publisher Administrator's and Developer's Guide, Release 10.1.3.4 available on Oracle Technology Network (OTN) to:
Set up a new database instance. Create a user with privileges to add tables. Create the database connection. Install the schema.
a b c d 4
Log in to the Oracle BI Publisher Enterprise application with administrator privilege. Click the Admin tab, and then select Scheduler Configuration. Click Test Connection to make sure that the connection works. Click Install Schema. The tables are automatically created.
a b c
Log in to the Siebel application as a Siebel administrator. Navigate to the Administration - Data screen, then the LOV Explorer view. Add a new XMLP_RPT_SCHEDULE_MODE type. NOTE: The Replication Level field is automatically populated to All. Keep the default values for the other fields.
d e
Navigate to the List of Values view. Create three new LOV records with the following values: Type XMLP_RPT_SCHEDULE_MODE XMLP_RPT_SCHEDULE_MODE XMLP_RPT_SCHEDULE_MODE Display Value Run Immediately Run Once Run Daily/Weekly Translate Y Y Y Order 1 2 3
Click Clear Cache to update runtime memory with the new LOV values. The display values are now available as choices for the Time field in the Schedule a Report dialog box. For more information about this field, see Scheduling Reports on page 104.
Embed the MyJobs view in the Siebel Application. For instructions, see Embedding the Oracle BI Publisher My Jobs View in the Siebel Application on page 55.
54
Integrating Oracle BI Publisher with Siebel Business Applications Process of Enabling and Configuring Report Scheduling
Modify the command file that you use to start the Oracle BI Publisher Server to include the location of the BIPDataService Web service. For information about modifying this file, see Configuring the BIPDataService WSDL for the Oracle BI Publisher Server on page 56.
a b
Navigate to the Administration - Integration screen, WI Symbolic URL List, and then the Host Administration view. Create a new host with the following settings:
a b
Navigate to the Administration - Integration screen, WI Symbolic URL List, and then the Symbolic URL Administration view. Create a new record with the following settings:
Name is BIPReportJobListPage URL is http://biphost/xmlpserver/servlet/myjob Host Name is host:port Fixup Name is Default SSO Disposition is IFrame
where host:port is the Oracle BI Publisher host address you choose from a picklist.
55
Integrating Oracle BI Publisher with Siebel Business Applications Process of Enabling and Configuring Report Scheduling
In the Symbolic URL Arguments subview, add the following arguments to the symbolic URL: Required Argument Yes Yes Yes Yes Yes Argument Type Field Field Command Command Command
a b c d 2
Navigate to the Administration - Web Services screen, then the Inbound Web Services view. Import the BIPDataService.xml file. Configure the address for the Web service with the host name of the Siebel Server. Modify the credentials to correspond to the username, login, and password used for logging in to the Siebel EAI object manager.
a b
Navigate to the Administration - Web Services screen, then the Inbound Web Services view. Select BIPDataService, click Generate WSDL.
56
Integrating Oracle BI Publisher with Siebel Business Applications Uploading Preconfigured Report Templates to the Oracle BI Publisher Server
Save the WSDL as dataservice.wsdl in the oc4j_bi\bin directory in the Oracle BI Publisher home directory. For example, you might save the file as: D:\OraHome_1\oc4j_bi\bin\dataservice.wsdl NOTE: You must name the file dataservice.wsdl (lowercase) to match existing references.
Modify the oc4j and admin sections of the oc4j.cmd file with the following agrument to add a property that identifies to the Oracle BI Publisher Server the default location of the WSDL file: -Duser.dir=D:\OraHome_1\oc4j_bi\bin For example: "C:\OraHome_1\jdk\bin\java" -XX:MaxPermSize=128m -Xmx512m -Duser.dir=C:\OraHome_1\oc4j_bi\bin -Duser.language=en -Duser.country=US -jar "%ADMIN_JAR%" %CMDARGS% NOTE: The oc4j.cmd file is located in ORACLE_HOME\oc4j_bi\bin directory. The oc4j.cmd script invokes the Java that starts the Oracle BI Publisher Server.
57
Integrating Oracle BI Publisher with Siebel Business Applications Testing Your Siebel Reports Integration Configurations
a b
Make a copy of your existing reports (both standard and custom) that reside on the Oracle BI Publisher Server. Delete the existing reports from the Oracle BI Publisher Server either through the administration console or at the operating system level. By default, reports are located in C:\OraHome_1\xmlp\XMLP\Reports\SiebelCRMReports.
2 3 4 5
Navigate to the BIP Reports - Administration screen, then the Report Template Registration view. From the application-level menu, select Edit, and then Select All. Click Upload Files. Verify the report templates were successfully uploaded by doing the following:
a b c
Navigate to the Oracle BI Publisher Enterprise application. Click the Reports tab, and then click Shared Folders. Verify a SiebelCRMReports folder exists and that the uploaded reports appear in this folder.
a b c
Navigate to the Administration - BIP Reports screen, then the Report Template Registration view. Select the Account List report template, and then click Upload Files to upload this template to the Oracle BI Publisher Server. Navigate to the View Association view to associate the Account List report to the Account List view.
The Account List report template is now available to the Siebel application for use in generating reports.
a b c d
Navigate to the Accounts screen, then the Accounts List view. Perform a query that returns approximately 30 records, and then click Reports. In the BI Publisher section, choose Account List. Select the report output type, and then click Submit. The report is generated after you choose to open the report.
58
Integrating Oracle BI Publisher with Siebel Business Applications Testing Your Siebel Reports Integration Configurations
Generate the report in a different format or click Close to close the output type dialog box.
NOTE: To generate a report other than the Account List report, you must first register the report template to the Oracle BI Publisher Server, and then associate the report with the appropriate view or views in the Siebel application. For more information about generating reports, see Chapter 6, Generating Reports.
59
Integrating Oracle BI Publisher with Siebel Business Applications Testing Your Siebel Reports Integration Configurations
60
This chapter describes some of the administrative tasks for Siebel Reports. It includes the following topics: Deploying Reports to the Siebel Web Client from a Disconnected Client on page 61 Purging Reports from the Siebel File System on page 62 Purging Scheduled Reports from the Oracle BI Publisher Server on page 64 About Multilingual Reports on page 65 Roadmap for Optimizing the Performance of Siebel Reports on page 67 Setting the Report Execution Waiting Period for Reports on page 67 Setting the Server Request Processor Database Polling Interval for Siebel Reports on page 68 Setting Concurrency Parameters for Siebel Reports on page 69 Process of Optimizing the Generation Performance of Siebel Reports for Large Data Volumes on page 70
The tasks in this chapter are for administrators only and are applicable to both connected and disconnected modes unless otherwise indicated.
NOTE: It is recommended that you locate your template files in the XMLP\Templates directory and the XLIFF files in the XMLP\xliff\<language> directory.
61
Administering Siebel Reports Purging Reports from the Siebel File System
a b c
Navigate to the Administration - BIP Reports screen, Report Template Registration view. Create a new record and assign the template and integration object to the record. In the XLIFF field, assign the associated .xlf file to the report.
NOTE: The Generate XLIFF button is disabled in the Siebel Web Client and that is why you must explicitly select the .xlf file.
Assign the report to a Siebel view or views. For information about assigning reports to Siebel views, see Associating Registered Reports with Siebel Application Views on page 101.
Upload the report to the Oracle BI Publisher Server by doing the following:
a b
Navigate back to the Report Template Registration view. Click Upload Files. CAUTION: If the report already exists on the Oracle BI Publisher Server, an error occurs. You must delete the report from the Oracle BI Publisher Server before uploading to avoid the error. Delete existing reports from the Oracle BI Publisher Server either through the administration console or at the operating system level. By default, reports are located in C:\ORACLE_HOME\xmlp\XMLP\Reports\SiebelCRMReports.
a b c
Log in to the Oracle BI Publisher Server with administrator privilege. Click the Reports tab, expand Shared Folders, and then click SiebelCRMReports. Verify the new report template and associated files were uploaded.
62
Administering Siebel Reports Purging Reports from the Siebel File System
Click Run. The reports that meet the specified criteria are purged.
Optionally, you can make entries in a combination of these fields. For example, if you enter the following: Report Name is Opportunity List User ID is MSTERN Date range is from January 1 to February 1, 2006
The Opportunity List reports that were generated by MSTERN between January 1 and February 1 in 2006 are purged. NOTE: If you delete a report from the Report List view in the View Association screen, this deletion removes only the association with the report, not the report itself.
63
Administering Siebel Reports Purging Scheduled Reports from the Oracle BI Publisher Server
4 5 6
Navigate to the Administration - Server Management screen, then the Jobs view. Add a new job entitled Workflow Process Manager. Add a parameter to the job as follows:
a b 7
Enter Workflow Process Name as the name. Give the parameter a value of XMLP Purge Records.
Click Submit.
You can also schedule this job to generate periodically using a workflow. For more information about scheduling workflows, see Siebel Business Process Framework: Workflow Guide.
64
CAUTION: It is recommended that only administrators purge scheduled reports, because you run the risk of inadvertently depleting or contaminating the report repository. Report developers and other users can delete reports, but they cannot purge reports. For information about deleting reports, see Deleting Scheduled Reports on page 107. NOTE: Administrators are also responsible for purging reports from the Siebel File System. For information about this purging, see Purging Reports from the Siebel File System on page 62.
65
In the Siebel application, register the report. NOTE: How translation files are uploaded from Oracle Business Intelligence Publisher Add-in for Microsoft Word to generate reports differs depending on the connection mode; that is, whether it uses connected or disconnected mode. For more information about uploading files, see Workflow for Uploading Oracle BI Publisher Layout Templates to a Siebel Application on page 90.
For information about: Multilingual reports, see About Multilingual Reports on page 65. Adding a language to your report, see Adding a Language to a Report on page 66.
66
Administering Siebel Reports Roadmap for Optimizing the Performance of Siebel Reports
NOTE: Most of these tasks are applicable only when the client is in connected mode unless noted otherwise.
Related Topics Setting the Server Request Processor Database Polling Interval for Siebel Reports Setting Concurrency Parameters for Siebel Reports Process of Optimizing the Generation Performance of Siebel Reports for Large Data Volumes
67
Administering Siebel Reports Setting the Server Request Processor Database Polling Interval for Siebel Reports
Setting the Server Request Processor Database Polling Interval for Siebel Reports
To optimize the performance of Siebel Reports, it is recommended you change the Database Polling Interval parameter for the Server Request Processor (SRProc) server component. This parameter defines how long to wait before SRProc polls the database again when the current polling does not get requests. NOTE: This parameter is hidden by default and does not appear in either the Siebel Server Manager GUI or the Siebel Server Manager command-line interface program. This task is a step in Roadmap for Optimizing the Performance of Siebel Reports on page 67. Use the following procedure to set the Database Polling Interval server component parameter.
To set the Server Request Processor database polling interval for Siebel Reports 1 2 3 4 5
Navigate to the Administration - Server Configuration screen, Servers, and then the Components view. In the Components list, select Server Request Processor (alias SRProc). Scroll down, click the Parameters subview, and then click Hidden. In the Parameter list, select Database Polling Interval, and change the value from 10 to 1. The Value on Restart and Default Values are updated as well. Restart the Siebel Server. Alternatively, you can use the srvrmgr command-line interface to restart the SRProc component For more information about setting the server component parameters and restarting the Siebel Server and server components, see Siebel System Administration Guide.
Related Topics Setting the Report Execution Waiting Period for Reports Setting Concurrency Parameters for Siebel Reports Process of Optimizing the Generation Performance of Siebel Reports for Large Data Volumes
68
a b
For the Maximum Tasks parameter, change the Value on Restart to 100. For the Maximum MT Servers parameter, change the Value on Restart to 2.
Related Topics Setting the Report Execution Waiting Period for Reports Setting the Server Request Processor Database Polling Interval for Siebel Reports
69
Administering Siebel Reports Process of Optimizing the Generation Performance of Siebel Reports for Large Data Volumes
Process of Optimizing the Generation Performance of Siebel Reports for Large Data Volumes
Process of Optimizing the Generation Performance of Siebel Reports for Large Data Volumes
To optimize Siebel Reports generation performance with large data volumes (greater than 10,000 records), it is recommended that you adjust the DSMaxFetchArraySize profile parameter. This task is a step in Roadmap for Optimizing the Performance of Siebel Reports on page 67 and is applicable to connected mode. CAUTION: It is recommended that you perform the following procedure on a separate named subsystem (for example, reportsdatascr) that is used only by the XMLP Report Server component. Otherwise, the Application Object Manager (AOM) on the client computer might fail when retrieving large amounts of data. To optimize the generation performance of Siebel Reports for large data volumes, perform the following tasks:
Set the DSMaxFetchArraySize profile configuration parameter value to -1. For instructions for setting this parameter, see 1064043.1 (Doc ID) on My Oracle Support.
2 3 4
Enabling Scalable Mode for Siebel Reports on page 70. Configuring a Temporary Directory on the Oracle BI Publisher Server for Siebel Reports on page 72. Increasing EAI HTTP Transport Sleep Time for Siebel Reports on page 73.
For more information about setting server profile parameters, see Siebel System Administration Guide. NOTE: It is recommended that you not execute reports with large data volumes as an immediate report request. Instead, schedule these reports on the Oracle BI Publisher Server.
Related Topics Setting the Report Execution Waiting Period for Reports Setting the Server Request Processor Database Polling Interval for Siebel Reports Setting Concurrency Parameters for Siebel Reports
70
Administering Siebel Reports Process of Optimizing the Generation Performance of Siebel Reports for Large Data Volumes
This task is a step in Process of Optimizing the Generation Performance of Siebel Reports for Large Data Volumes on page 70 and is applicable to connected mode. NOTE: It is recommended that you only enable scalable mode when viewing large reports online with a high concurrent report usage because this mode consumes more resources and might impact overall performance. If large reports are more common than not in your deployment, then set the scalable mode for all reports. Setting the scalable option prepares the FO processor to handle large data, longer processing times, time-outs, and so on. Although scalable mode is a relatively slower process, this mode makes sure there is no data loss even if the report is complex.
Save the xdo.cfg file. The following is a sample xdo.cfg file: <config version="1.0.0" <!-- Properties --> <properties> <!-- System level properties --> <!-- PLEASE uncomment this property and set it to a valid temp directory path. --> <property name="system-temp-dir">D:\Temp</property> <property name="xslt-scalable">true</property> </properties> <!-- Font setting --> <fonts> <!-- Font setting (for FO to PDF etc...) --> <font family="Arial" style="normal" weight="normal"> <truetype path="/fonts/Arial.ttf" /> </font> <font family="Default" style="normal" weight="normal"> <truetype path="/fonts/ALBANWTJ.ttf" /> xmlns="http://xmlns.oracle.com/oxp/config/">
71
Administering Siebel Reports Process of Optimizing the Generation Performance of Siebel Reports for Large Data Volumes
</font> <!-- Font substitute setting (for PDFForm filling etc...) --> <font-substitute name="MSGothic"> <truetype path="/fonts/msgothic.ttc" ttcno="0" /> </font-substitute> </fonts> <currency-formats> <currency code="USD" mask="FM9G990D00"/> <currency code="JPY" mask="FMFM9G990"/> <currency code="ILS" mask="FM9G990D00"/> <currency code="EUR" mask="FM9G990D00"/> <currency code="TRK" mask="FM9G990D00"/> </currency-formats> </config> Related Topics Configuring a Temporary Directory on the Oracle BI Publisher Server for Siebel Reports Increasing EAI HTTP Transport Sleep Time for Siebel Reports
Configuring a Temporary Directory on the Oracle BI Publisher Server for Siebel Reports
To benefit reports generation, configure a temporary directory for the Oracle BI Publisher Server. This temporary space allows you to build complex reports that you can clean up after the reports are generated. This task is a step in Process of Optimizing the Generation Performance of Siebel Reports for Large Data Volumes on page 70 and is applicable to connected mode.
To configure a temporary directory on the Oracle BI Publisher Server for Siebel Reports 1
Navigate to the ORACLE_HOME\xmlp\XMLP\Admin\Configuration directory. NOTE: The path for the Java installation folder varies depending on where you installed JRE.
Open the xdo.cfg file, and in the <Properties></Properties> tag, use the following syntax to set the temporary directory:
72
Administering Siebel Reports Process of Optimizing the Generation Performance of Siebel Reports for Large Data Volumes
<property name="system-temp-dir">d:\tmp</property> NOTE: Make sure the location of the temporary directory has adequate space for the temporary files.
Related Topics Enabling Scalable Mode for Siebel Reports Increasing EAI HTTP Transport Sleep Time for Siebel Reports
Related Topics Enabling Scalable Mode for Siebel Reports Configuring a Temporary Directory on the Oracle BI Publisher Server for Siebel Reports
73
Administering Siebel Reports Process of Optimizing the Generation Performance of Siebel Reports for Large Data Volumes
74
Generating Reports
This chapter describes how to generate, monitor, view, and delete reports in Siebel Business Applications from a user perspective. It includes the following topics: About Generating Reports on page 75 Workflow for Generating Reports on page 76 Scenario for Generating Reports on page 78 Generating Reports on page 79 Example of Generating an Opportunity Report on page 80 Monitoring the Status of Currently Generating Reports on page 81 Viewing Previously Generated Reports on page 82 Deleting Reports on page 83
Figure 5.
75
Related Topics Workflow for Generating Reports on page 76 Scenario for Generating Reports on page 78 Generating Reports on page 79 Example of Generating an Opportunity Report on page 80 Monitoring the Status of Currently Generating Reports on page 81 Viewing Previously Generated Reports on page 82 Deleting Reports on page 83
Figure 6.
1 2 3
Report requests are initiated from a Siebel application view. Typically, a query is run to limit the number of records before requesting the report. From the Reports menu, you choose to either generate an existing report or schedule a report. If you:
Choose a report from the BI Publisher listing, you must first designate a report output file type, and then click Submit.
76
Select My BI Publisher Reports, you choose a report by drilling down on it from the My Reports view. Schedule a report, you choose a report name, output file type, and other scheduling criteria from the Schedule a Report dialog box.
If you chose a report from the BI Publisher section or drilled down on a report from the My Reports view, from the File Download dialog box, you can choose to:
Open the report. The report downloads and appears in a browser window in the format you chose in Step 3. The report output file types are: PDF, HTML, RTF, EXCEL, and PPT. The PPT output file type is available only in connected mode. For more information about the report output file types, see Siebel Reports Output File Types on page 16.
Save the report. You can save the report to a destination of your choosing, and then Open it for viewing.
If you chose to schedule a report, the report is stored in the Oracle BI Publisher repository for future viewing and retrieval.
You can continue to download reports in other formats or click Close to end.
NOTE: Report scheduling is available only in connected mode. For more information about the connection modes in relation to Siebel Reports, see About the Siebel Reports Architecture on page 21. For information about scheduling reports, see Chapter 8, Scheduling Reports.
Related Topics About Generating Reports on page 75 Scenario for Generating Reports on page 78 Generating Reports on page 79 Example of Generating an Opportunity Report on page 80 Monitoring the Status of Currently Generating Reports on page 81 Viewing Previously Generated Reports on page 82 Deleting Reports on page 83
77
Choosing a Report to Generate A sales representative generates a series of account and opportunity reports periodically. These reports include: Account List, Pipeline Analysis, and Opportunity Marketing Events Summary. They provide a view of her current pipeline and other account-related activities. Today, the sales representative decides to generate the Account List report. She navigates to the Accounts view, and then clicks Reports. From the resulting Reports menu, she can choose a report. In this case, she chooses Account List in the BI Publisher (BIP) section of the Reports menu.
Choosing the Report Output Type and Monitoring Status Next, the sales representative is prompted to choose a report output type. In this case, she chooses PDF, which automatically triggers the report to start generating data. After successful completion, the report appears in the chosen format, where she can either open or save the report. However, if the report takes a while to render, a message appears indicating that she must access the report from the My Reports view. From the My Reports view, she can monitor the status of the report and eventually access the report when the status shows Success.
Accessing a Previously Generated Report After several weeks, the sales representative decides she wants to take another look at this Account List report. She accesses the report directly from the My Reports view by drilling down on the report that she wants to see. After she drills down on the Account List report, the File Download dialog box appears from which she can choose to open the report, save the report, or cancel the request. If she chooses to open the report, the report appears.
Related Topics About Generating Reports on page 75 Workflow for Generating Reports on page 76 Generating Reports on page 79 Example of Generating an Opportunity Report on page 80 Monitoring the Status of Currently Generating Reports on page 81
78
Generating Reports
You use the Reports menu to generate either a preconfigured report (provided with each Siebel application) or a report you have previously generated.
To generate a report 1
Navigate to the Siebel application view from which you want to generate a report, optionally run a query to limit the number of returned records, and then click Reports. TIP: It is strongly recommended that you perform a query before generating a report to limit the number of returned records for the report.
From the Reports menu, select a report from one of the following:
If you choose a report from the BI Publisher section, in the Report Output Type dialog box, select the file format for the report, and then click Submit. The report is generated and appears in a browser window where you can open or save the report. If the report takes a while to render, a message appears indicating that you must view the report from the My Reports view. The amount of time before this message appears is set in the BIP Report Wait Time system preference by the administrator. NOTE: The file formats available to you are determined by the developer at the time that the report is registered. The output file types include: PDF, HTML, RTF, EXCEL, PPT (PPT is only available in connected mode), or All.
If you choose a report from the My BI Publisher Reports link, the My Reports view appears. The My Reports view shows long-running reports that are currently generating as well as the reports that you have previously generated. The status field indicates whether a report ran successfully (Success), encountered errors (Error), or is still generating (In Progress). When reports are generated successfully, the Status field changes to Success. You can open or save a report that shows a Success status by drilling down on that report. For information about monitoring reports from the My Reports view, see Monitoring the Status of Currently Generating Reports on page 81. NOTE: If a report encounters errors while generating, a log file is created that the report developers or administrators can use to troubleshoot the problem. For more information about troubleshooting reports, see Appendix A, Troubleshooting Siebel Reports.
79
Related Topics About Generating Reports on page 75 Workflow for Generating Reports on page 76 Scenario for Generating Reports on page 78 Example of Generating an Opportunity Report on page 80 Monitoring the Status of Currently Generating Reports on page 81 Viewing Previously Generated Reports on page 82 Deleting Reports on page 83
2 3 4
Run a query to limit the number of records returned, and then click Reports. From the BI Publisher section of the Reports menu, select the By Sales Rep report. In the Select the Report Output Type dialog box, choose PDF, and then click Submit. The By Sales Rep report Opportunity appears in a browser window, prompting you to open, save, or cancel the request.
Click Open. The By Sales Rep Opportunity report appears in PDF format in a new browser window, from which you can choose to print, save, or cancel the report.
Related Topics Workflow for Generating Reports on page 76 Scenario for Generating Reports on page 78 Generating Reports on page 79 Monitoring the Status of Currently Generating Reports on page 81 Viewing Previously Generated Reports on page 82
80
TIP: The timestamp for a report is the submit time on the Siebel Server. If a user submits a report when the XMLP Report Server component is not enabled, the report appears with a blank status in the My Reports view. Then, when the XLMP Report Server component is enabled, the report immediately shows a status of In Progress. However, the status might not appear long enough for you to view it. This behavior is because typically the In Progress status disappears after only a few seconds and is replaced with a status of Success. The My Reports view allows you to monitor the progress of a currently generating report.
4 5
If the report shows a status of Success, you can drill down on the report to view it. (Optional) If you want to delete the report, you can do so from the My Reports view.
Related Topics Workflow for Generating Reports on page 76 Scenario for Generating Reports on page 78
81
Generating Reports on page 79 Example of Generating an Opportunity Report on page 80 Viewing Previously Generated Reports on page 82 Deleting Reports on page 83
Click Open to view the file. The report appears in a new browser window where you can print or save it.
Click Save to save the file. The Save As dialog box appears where you can browse to find a location to save the file.
In the My Reports view, you can also monitor long-running reports currently generating or delete the reports you have previously generated. See Monitoring the Status of Currently Generating Reports on page 81 and Deleting Reports on page 83, respectively.
Related Topics Workflow for Generating Reports on page 76 Scenario for Generating Reports on page 78 Generating Reports on page 79 Example of Generating an Opportunity Report on page 80 Monitoring the Status of Currently Generating Reports on page 81 Deleting Reports on page 83
82
Deleting Reports
This topic describes how to delete reports that you have generated that you no longer want. For more information about the My Reports view, see About Using Siebel Reports on page 16. NOTE: You can delete only those reports that you have personally generated.
To delete a report 1 2
Navigate to the BI Publisher Reports Server screen, then the My Reports view. In the My Reports list, select a report, and then click Delete. NOTE: This step removes the report from the Siebel File System and the report list; it does not remove the record from the Siebel Database. Only administrators can purge report records from the Siebel Database. For more information about purging report records from the Siebel Database, see Purging Reports from the Siebel File System on page 62. In the My Reports view, you can also monitor long-running reports currently generating, or view the reports that you have previously generated. See Monitoring the Status of Currently Generating Reports on page 81 and Viewing Previously Generated Reports on page 82. Additionally, you can delete scheduled reports you have personally generated. For information about deleting scheduled reports, see Deleting Scheduled Reports on page 107.
Related Topics Workflow for Generating Reports on page 76 Scenario for Generating Reports on page 78 Generating Reports on page 79 Example of Generating an Opportunity Report on page 80 Monitoring the Status of Currently Generating Reports on page 81 Viewing Previously Generated Reports on page 82
83
84
Creating Reports
This chapter describes how to create reports. It is intended only for those who have report developer or administrator privileges. NOTE: End users do not typically have access to the administration views in the Siebel application, and as such, are not able to perform the tasks in this chapter. For information about reporting from the user perspective, see Chapter 6, Generating Reports. This chapter includes the following topics: Should You Clone an Existing Report or Create Custom Reports? on page 85 Scenario for Creating Reports on page 86 Workflow for Creating Reports on page 87 About Integration Objects in Siebel Reports on page 88 About Reporting Across Multiple Siebel Business Objects on page 89 Workflow for Uploading Oracle BI Publisher Layout Templates to a Siebel Application on page 90 Process of Creating Custom Reports on page 92
When your requirements are not satisfied by an existing report and there are significant differences between the report that you want and an existing report, create a custom report. The following are some situations in which you must create a custom report: When the report requires a new integration object When the report requires a new integration component for an existing integration object. For example, you create a new report for a view that belongs to the same business object.
85
Sales Manager Generates Daily Sales Reports A sales manager has a team of five sales representatives for the western region of a company. Every day he generates a series of reports, including Opportunity by Sales Rep, Account List, and Forecast Analysis Details to get the latest, current-account activities, and forecasted revenues for his sales representatives. These reports are view-based and available from the Reports menu in the Siebel application.
Sales Manager Modifies an Existing Sales Report to Hand Off to the Report Developer These reports give the sales manager a good understanding of the opportunities in the pipeline for each sales representative on his team, and allows him to monitor how they are progressing through the sales cycle. Towards the end of the quarter, he wants to know how much potential revenue his team might be able to close for the quarter. To learn that information, he wants to see a revenue breakdown for the teams opportunities by probability and sales stage. He knows, however, that no such report is currently available, but realizes that the reports developer can create such a report for him. Because the sales manager wants the report to have a certain look, he starts creating a preliminary opportunity report himself using Oracle Business Intelligence Publisher Add-in for Microsoft Word. When he is satisfied with the layout template design, he hands off the template to the report developer.
Sales Manager Generates the New Sales Report After the reports developer finalizes the custom report, the sales manager can choose the report from the Reports menu while in an Opportunity view. After choosing a report output type, the report appears in a browser window, from which the sales manager can open or save the report. However, if the report takes a while to render, a message appears indicating that he must access the report from the My Reports view. From this view, he can monitor the status of the report and eventually access the report when the status shows Success. For more information about report output file types, see Siebel Reports Output File Types on page 16. For more information about the My Reports view, see About Using Siebel Reports on page 16.
86
Figure 7.
(Optional) Create a new integration object using Siebel Tools. NOTE: You create new integration objects only when no appropriate integration object exists.
Create XML data using the Sample Data File Generation view in the Siebel client. In this step, the following tasks are performed:
a b
Select an integration object for the report. Generate the sample XML data file, and then save it.
NOTE: The XML data file is typically saved to the XMLP\DATA directory in the Siebel File System. You can however, save the XML to another location. For more information about the Siebel Reports directory structure, see About the Siebel Reports Architecture on page 21.
Create a new layout template, or modify an existing layout template, using Oracle Business Intelligence Publisher Add-in for Microsoft Word. Do the following:
a b c
Assign the Siebel fields in the layout template. Save the layout template to RTF. Preview the layout template to verify it appears as designed.
87
Register the layout template using the Report Template Registration view. Do the following:
a b c d 5
Create a new report. Select a layout template. Assign an integration object. Select an output file type.
88
NOTE: It is recommended that you test search specifications for multiple integration objects in a relevant application view to make sure the search specification is valid before applying the specification to a report in the Report Template Registration view. For information about adding multiple integration objects to reports, see Adding Multiple Integration Objects to a Report on page 100.
89
Creating Reports Workflow for Uploading Oracle BI Publisher Layout Templates to a Siebel Application
Figure 8.
How the Layout Template and Translation Files Are Uploaded from Oracle Business Intelligence Publisher Add-in for Microsoft Word to Generate Reports
90
Creating Reports Workflow for Uploading Oracle BI Publisher Layout Templates to a Siebel Application
Figure 8 illustrates the following: From the Report Template Registration view, the RTF layout template and translation files are uploaded using an upload business service to the Oracle BI Publisher repository as follows:
In connected mode, the upload service occurs by way of the PublicReportService Web service. For more information about generating reports in connected mode, see Siebel Reports Architecture and Workflow for Generating Reports in Connected Mode on page 22. In disconnected mode, the upload service is not applicable. All files (RTF, XLIFF, and XSL) are local to the Oracle BI Publisher XDO Engine when generating reports. For more information about generating reports in disconnected mode, see Siebel Reports Architecture and Workflow for Generating Reports in Disconnected Mode on page 24.
To upload the report to the Oracle BI Publisher repository (connected mode only), the following must occur:
The layout template must have been saved in RTF format using Oracle Business Intelligence Publisher Add-in for Microsoft Word. You must click Upload Files in the Report Template Registration view in the Siebel application. The RTF and XLIFF files are uploaded and an XDO report definition file is created when the reports are generating.
NOTE: The Generate XLIFF button is disabled (grayed out) in connected mode, and the Upload Files button is disabled (grayed out) in disconnected mode. Before moving to the Oracle BI Publisher repository (connected mode), the layout template (RTF) and XLIFF files are attached to the report during the registration of the layout template. For disconnected mode, you must click Generate XLIFF to create XSL. Whereas in connected mode, XSL is generated at run time by the Oracle BI Publisher Server. NOTE: The Upload Files button is disabled (grayed out) in disconnected mode, and the Generate XLIFF button is disabled (grayed out) in connected mode. For connected mode, the RTF and XLIFF files are stored in the Oracle BI Publisher repository by way of the PublicReportServiceService Web service. In disconnected mode, the report templates and XLIFF files are stored in the Siebel client installation folder (that is, SIEBEL_ROOT_CLIENT\xmlp\templates and SIEBEL_ROOT_CLIENT\xmlp\XLIFF, respectively).
For information about uploading from Oracle Business Intelligence Publisher Add-in for Microsoft Word, see Registering Layout Templates for Reports on page 98.
91
1 2 3 4 5 6 7 8
(Optional) Extending Integration Objects to Add New Fields for Siebel Reports on page 92 (Optional) Creating New Integration Objects for Siebel Reports on page 94 Generating Sample XML Data Files for Siebel Reports on page 95 Creating Layout Templates Using Oracle Business Intelligence Publisher Add-in for Microsoft Word on page 96 Previewing Layout Templates on page 97 Registering Layout Templates for Reports on page 98 (Optional) Adding Multiple Integration Objects to a Report on page 100 Associating Registered Reports with Siebel Application Views on page 101
92
a b c
Navigate to the Administration - BIP Reports screen, then the Report Template Registration view. Select the report for which you want to add a new field. In the Primary Integration Object Name column, identify and make note of the integration object for this report. NOTE: Integration objects for reports begin with BIP.
a b
Log in to Siebel Tools. In the Object Explorer, select and expand Integration Object. TIP: Integration objects do not appear in the Object Explorer by default. Click the View menu, Options, and then the Object Explorer tab to add the integration objects to the Object Explorer view.
c d e
Query for the integration object associated with the report. Expand the Integration Component and Integration Component Field object types to view the existing fields associated with this integration component. Create a new integration component field record and copy the Name, Data Type, and Length properties from the underlying business component field whose data you want to display in the report. Set the XML-related properties to construct the XML file when data is extracted. NOTE: You must follow the convention for naming XML tags, that is, remove all spaces and special characters. However, it is not a requirement that you use the ss_ prefix convention.
a b
While still in Siebel Tools, navigate to the Integration Objects List. Right-click the integration object you want to deploy, and then select Deploy to Runtime Database. NOTE: This action overrides the object definition in the SRF file.
c d e f
In the Siebel client, Navigate to the Administration - Web Services screen, then the Deployed Integration Objects view. Query for the integration object to verify it was deployed. Navigate to the Administration - Web Services screen, Inbound Web Services view. Click Clear Cache to update the run-time database.
The extended integration object is now available for generating a new sample data file. For information about generating sample data files, see Generating Sample XML Data Files for Siebel Reports on page 95. For more information about working with and deploying integration objects, see Integration Platform Technologies: Siebel Enterprise Application Integration.
93
Deploy the integration object to the run-time database by doing the following:
a b c d
In the Object Explorer in Siebel Tools, select Integration Object. In the Integration Object list, right-click the integration object you want to deploy, and then select Deploy to Runtime Database. In the Siebel client, navigate to the Administration - Web Services screen, then the Inbound Web Services view. Click Clear Cache to invalidate the integration object and Web services definitions in the run-time database.
94
This newly created integration object is now available in the Sample Data File Generation view for your use when creating custom reports. For information about generating sample data files, see Generating Sample XML Data Files for Siebel Reports on page 95. For more information about integration objects and deploying an integration object without compiling an SRF, see Integration Platform Technologies: Siebel Enterprise Application Integration.
95
For information about creating layout templates, see Creating Layout Templates Using Oracle Business Intelligence Publisher Add-in for Microsoft Word on page 96.
Creating Layout Templates Using Oracle Business Intelligence Publisher Add-in for Microsoft Word
This topic describes how to create layout templates for reports using Oracle Business Intelligence Publisher Add-in for Microsoft Word. This task is a step in Process of Creating Custom Reports on page 92. NOTE: It is recommended that you use Oracle Business Intelligence Publisher Add-in for Microsoft Word to create your custom RTF-formatted layout templates. If you use other RTF-formatted templates for creating your reports, you must manually code the XSL statements and references to the data fields. Coding XSL is out of scope for this documentation. CAUTION: Oracle BI Publisher does not support report names containing special characters. The following are some situations in which you must create a new layout template: When a layout template requires that you add new fields or design a different layout When a layout template requires association with a different integration component for the specified integration object When a layout template requires association with a different or multiple integration objects
The following procedure assumes you have installed Oracle Business Intelligence Publisher Add-in for Microsoft Word. This procedure provides only quick reference information for creating layout templates. For detailed information, see Oracle Business Intelligence Publisher Users Guide, which is available from the Oracle BI Publisher Desktop program menu (select Start, Programs, Oracle BI Publisher Desktop, and then BI Publisher Users Guide).
To create a layout template using Oracle Business Intelligence Publisher Add-in for Microsoft Word 1 2 3
Start Microsoft Word. From the application-level menu in Microsoft Word, select Oracle BI Publisher, Data, and then Load Sample XML Data. In the Select XML Data window, select the XML data file. NOTE: Typically, the XML data files reside in the XMLP\DATA directory on which the Siebel Server is running.
Define the format of the report and the Siebel fields that you want to appear in the report, using the Template Wizard as follows:
a b
From the Microsoft Word toolbar, choose Insert, Table/Form, and then Wizard. In the Template Wizard, choose the report format, and then click Next. You can choose one of the following: Table, Form, or Free Form.
96
c d e f g
(Optional) Change the XML data grouping, and then click Next. Select the Siebel fields that you want to appear in your report, and then click Next. If the data is to appear in Table format, decide the grouping and sorting, and then click Next. Label the Siebel fields as you want them to appear in the new report, and then click Finish. Save the layout template in RTF format. The following files are created and stored in the Siebel File System for retrieval by the Siebel application as follows:
The layout template (RTF) and XLIFF files in connected mode The XSL and XLIFF files in disconnected mode
Preview the layout template. NOTE: During the layout template creation process, you can preview your work-in-progress templates. For information about previewing layout templates, see Previewing Layout Templates on page 97.
If you are currently creating a report for which you want to use this layout template, you must register the layout template in the Siebel application, see Registering Layout Templates for Reports on page 98. NOTE: Additional information is provided in Oracle Business Intelligence Publisher Report Designer's Guide in the Oracle Business Intelligence Publisher Documentation Library 10.1.3.4 available on Oracle Technology Network (OTN). Not all features mentioned in the Oracle Business Intelligence Publisher documentation are currently supported in Siebel Reports; only the features documented in this guide.
From the application-level menu, select Oracle BI Publisher, Preview Template, and then choose the output file format. The report appears in the chosen format with the data substituted.
97
3 4
(Optional) Continue to preview different output file formats. Save the file in RTF format.
For more information about creating layout templates, see Creating Layout Templates Using Oracle Business Intelligence Publisher Add-in for Microsoft Word on page 96.
98
Select a layout template and XLIFF file, and then fill in the rest of the fields. Some of the fields are described in the following table. Field Template Primary Integration Object Description The RTF layout template that is used to generate the report. Templates are stored in the SIEBSRVR_ROOT\XMLP\TEMPLATES folder. The primary integration object for the report. The Primary Integration Object field is automatically populated when you select an integration object in the Report Template Integration Object list. This field is read-only in the Report Template Registration list. The format of the generated report, which can be one of the following: PDF, HTML, RTF, EXCEL, PPT, or All. NOTE: If a report is saved with only one report output type, the Report Output Type dialog box does not appear when the user selects that report in the Reports menu. Instead, the report begins generating in the assigned format. Typically, the output type is set to All. PPT is applicable only in connected mode. XLIFF XLIFF files contain the strings of the report column, field labels, and captions that are used for translation purposes. NOTE: If you change a layout template and upload the template to a Siebel client, you must regenerate the report. Start Date1 A start date for the report. NOTE: For preconfigured reports, there is no start date. For reports you create, the start date automatically populates to the current date and time the layout template is registered. End Date1
1.
Output Type
An end date for the report. After the end date passes, the report no longer appears in the Reports menu.
The start and end dates determine the period that a report is available for use. If you choose a start date, you must also choose an end date. Conversely, if you choose an end date, you must also choose a start date.
Associate a primary integration object with the report by doing the following:
Select the Report Template Integration Objects view tab, and then click New.
99
Fill in the fields in the new record. The fields are described in the following table. Field Integration Object Name Search Specification Description The name of an integration object. A query data filter. When you create a nonprimary integration object for a report, you must enter a search specification value. For example, the value of the search specification might be the following expression: [Status] = 'Closed' NOTE: This field is not required for primary integration objects, because queries are taken from the Siebel application views. For more information about multiple integration objects with regard to Siebel Reports, see About Reporting Across Multiple Siebel Business Objects on page 89. Primary Indicates that this integration object is the primary integration object.
6 7
(Optional) If you want to generate reports across multiple business objects, perform the tasks as described in Adding Multiple Integration Objects to a Report on page 100. Perform one of the following:
In connected mode, click Upload Files. The layout template (RTF) and XLIFF files are uploaded.
In disconnected mode, click Generate XLIFF. The layout template (RTF), XLIFF, and XSL files are uploaded.
You must now associate the registered report with the views in which you want the report to be available. For more information on associating reports, see Associating Registered Reports with Siebel Application Views on page 101.
100
Fill in the fields in the new record. The fields are described in Step 5 in Registering Layout Templates for Reports on page 98.
4 5
Repeat Step 2 and Step 3 of this procedure for each additional integration object that you want to add. Click Generate Sample XML. One XML data file is generated for the multiple integration objects. NOTE: This step is similar to what occurs in Generating Sample XML Data Files for Siebel Reports on page 95, but in the Sample Data File Generation view, you can generate XML for only one integration object.
If you are creating a report currently, you must now associate the registered report with a Siebel application view. See Associating Registered Reports with Siebel Application Views on page 101.
10 1
Test the newly created report by generating it. For information about generating reports, see Chapter 6, Generating Reports. NOTE: If a report encounters errors while generating, a log file is created that report developers and administrators can use to troubleshoot the problem. For more information about troubleshooting reports, see Appendix A, Troubleshooting Siebel Reports.
102
Scheduling Reports
This chapter describes how to schedule reports in Siebel Business Applications from a user perspective. It includes the following topics: About Scheduled Reports on page 103 Scheduling Reports on page 104 Example of Scheduling an Opportunity Report on page 105 Monitoring and Viewing Scheduled Reports on page 106 Deleting Scheduled Reports on page 107
Related Topics Scheduling Reports on page 104 Example of Scheduling an Opportunity Report on page 105 Monitoring and Viewing Scheduled Reports on page 106 Deleting Scheduled Reports on page 107
10 3
Scheduling Reports
If granted scheduling privileges, you can schedule reports to generate at a specific time (including immediately) and recurring frequency. While in a Siebel application view, you schedule a report by selecting the Schedule Report menu item from the Reports menu. CAUTION: If you are unable to schedule reports, you might not have the appropriate access controls assigned. Ask your administrator to grant you the XMLP_SCHEDULER responsibility. Report scheduling is available only in connected mode. For more information about the connection modes in relation to Siebel Reports, see About the Siebel Reports Architecture on page 21. Additionally, you cannot schedule parameterized reports. For information about parameterized reports, see Chapter 10, Parameterized Reports.
To schedule a report 1
Navigate to the Siebel application view from which you want to schedule a report, and click Reports. NOTE: It is recommended that you perform a query before generating a report to limit the number of returned records for the report.
2 3
From the Reports menu, select Schedule Report. In the Schedule a Report dialog box, enter the schedule criteria for the report, and then click Schedule. Some fields are described in the following table. Field Report Name Job Name Output Type Time Description The report you want to schedule. Enter a name for the job you are scheduling. The output file format for the report. For information about output types, see Siebel Reports Output File Types on page 16. The recurrence of the report. Choices are: Run Immediately, Run Once, or Daily/Weekly. If you choose to run the report immediately, the job is triggered as soon as you click Schedule. If you choose to run the report only one time, you also enter the exact date and time to run the report. If you choose to run the report daily or weekly, you also enter the day of the week, specify the time for the selected day, and the date range of the occurrence. Day of the week Public Save Data The day of the week you want the report to generate. If checked, the output of the job is viewable by all users. By default, this field is not checked. If checked, the XML data of the job is saved and is viewable in the My Jobs view. By default, this field is checked.
104
Field Save Output Run Date Run Time Active Start Date/ Active End Date
Description If checked, the output of the job is saved and is viewable in the My Jobs view. By default, this field is checked. The date the report generates. The time the report generates. If a date is set in either of these fields, then it restricts the dates for which scheduling is active. Null by default.
4 5
(Optional) Schedule another report with different criteria, and then click Cancel to exit the scheduling dialog box. To view or monitor the scheduled report, navigate to the BIP Reports Server screen, then the My Jobs view. NOTE: The My Jobs view is an embedded Web page from the Oracle BI Publisher Enterprise application designed for working with scheduled reports.
Related Topics About Scheduled Reports on page 103 Example of Scheduling an Opportunity Report on page 105 Monitoring and Viewing Scheduled Reports on page 106 Deleting Scheduled Reports on page 107
10 5
Job Name is <Enter a job name> Output Type is HTML Time is Run Daily/Weekly Day of the Week is Check the Tuesday checkbox, hold the CTRL key, and then click the Thursday check box Active Start Date is 8/2/2009 Active End Date is 8/15/2009 Run Time is 10:15:00 AM
For descriptions of these and other fields in this dialog box, see Scheduling Reports on page 104.
(Optional) Navigate to the BIP Reports Server screen, then the My Jobs view to monitor the scheduled report. For information about monitoring and viewing your scheduled reports, see Monitoring and Viewing Scheduled Reports on page 106.
Related Topics About Scheduled Reports on page 103 Scheduling Reports on page 104 Monitoring and Viewing Scheduled Reports on page 106 Deleting Scheduled Reports on page 107
106
Click the Schedules tab to view the report jobs you have scheduled and their status. Drill down on a report to view detailed information about the report job.
For more information about viewing scheduled reports, see Monitoring and Viewing Scheduled Reports on page 106.
Related Topics About Scheduled Reports on page 103 Scheduling Reports on page 104 Example of Scheduling an Opportunity Report on page 105 Deleting Scheduled Reports on page 107
Related Topics About Scheduled Reports on page 103 Scheduling Reports on page 104 Example of Scheduling an Opportunity Report on page 105 Monitoring and Viewing Scheduled Reports on page 106
10 7
108
This chapter describes master-detail reports and how they work, as well as how to create a masterdetail layout template. It includes the following topics: About Master-Detail Reports How Master-Detail Reports Work Creating a Master-Detail Layout Template in Microsoft Word
Figure 9.
In this example, the master-detail reports provide master information for each service request, followed by a list of activities for that service request. Each service request begins on its own page. For further analysis of the Service Request Activity - All master-detail report, see How Master-Detail Reports Work on page 110. A master-detail report can also have multiple detail elements. In this case, a list of detail records appears for several business components for each master record. For example, the Account Service Profile report provides three lists for each account master record: customer survey responses, opportunities, and service requests. A report with two detail elements is described in Creating a Master-Detail Layout Template in Microsoft Word on page 114. Many of the preconfigured reports that ship with Siebel Business Applications are master-detail reports.
10 9
A master detail report incorporates a parent business component and related child and grandchild business components as defined in the business object definition that the integration object is based on. When executing a report, the UI context is captured and passed to the primary integration component of the integration object. If a multivalue field (MVF) is included in a report, only the first record is displayed. To display all the records from an MVF in the report, an integration object must have been created in Siebel Tools under the associated integration object based on the business component that contains the MVF to be displayed. This information is also valid for indirect MVFs. For example, consider the case where the business address (an MVF) of an account associated with an opportunity appears in the report. The business addresses in the MVF are not directly related to the opportunity, but they are related to the account that it is associated with it. To display all the records in the business address MVF as a detail section, first create a link between the Business Address business component and the Opportunity business component using Account Id as the source field. Include the Business Address business component under the Opportunity business object, and then create an integration object with the Business Address business component under the integration object, and include the necessary MVF. For more information about master-detail reports, see How Master-Detail Reports Work on page 110 and Creating a Master-Detail Layout Template in Microsoft Word on page 114.
To compare the Service Request Activity (All) report in Siebel Service with its corresponding layout template 1
Generate the Service Request Activity (All) report in Siebel Service by performing the tasks:
a b c d e
Open the Siebel Service application. Navigate to the Service screen, then All Service Requests across Organizations view. NOTE: My Service Requests is the default view. In the All Service Requests across Organizations list, select an account, click Reports, and then from the Reports menu, select Service Request Activity (All). Choose a report output type, and then click Submit. In the File Download dialog box, select Open. The Service Request Activity (All) report appears in the browser window. To view this report, see Figure 9 on page 109.
110
Open the layout template for the Service Request Activity (All) report using Microsoft Word:
Navigate to the \XMLP\TEMPLATES folder (or the equivalent on your computer), and then open srvreqaa.rtf. Notice the following features of this template as shown in the following figure:
There is a table (form) for the master record There is a table (list) for each set of child records. There is a for each loop (over all master records) that includes the parent form and all the child lists. There is a condition on the IF statement (<?if:current-group()//ssAction?>) for the Activity section, which prevents the Activity section from displaying header information if there are no activities for the service request.
NOTE: To identify the layout template associated with a report, use the Report Template Registration view (in the Administration - BIP Reports screen).
From the Oracle BI Publisher menu, select Tools, Field Browser, and then Show All. The Field Browser dialog box appears, which allows you to view and modify the template logic.
11 1
Table 5 provides details of the Oracle BI Publisher syntax and description for the fields defined in the example template.
Table 5. Syntax If
Oracle BI Publisher Syntax and Field Definitions for the Service Request Activity (All) Report Template Oracle BI Publisher Code <?if://ssServiceRequest?> Description An IF condition that checks for service request records. If there are no service request records, no records are displayed. The start of a group section which iterates for each record in the Service Request data set. Field mappings
<?for-eachgroup:ssServiceRequest; position()?> <?ssSrNumber?> <?ssAccount?> <?ssStatus? <?if://ssCreated?> <?formatdate:psfn:totext(ssCreated, "yyyy-MM-dd'T'HH:mm:ss", "MM/dd/yyyy hh:mm:ss"); 'SHORT_TIME'?> <?end if?> <?ssSeverity?> <?ssDescription?> <?if://ssClosedDate?> <?formatdate:psfn:totext(ssClosedDa te,"yyyy-MM-dd'T'HH:mm:ss", "MM/dd/yyyy hh:mm:ss"); 'SHORT_TIME'?> <?end if?> <?ssPriority?> <?ssCustomerRefNumber?> <?ssOwner?> <?for-each:currentgroup()?>
If condition that does not display the ssCreated field if null. Field formatting
If condition that does not display the ssClosedDate field if null. Field formatting
Start of a group section, iterating for each record in the current group (for example, Service Request).
112
Table 5. Syntax If
Oracle BI Publisher Syntax and Field Definitions for the Service Request Activity (All) Report Template Oracle BI Publisher Code <?if:current-group()// ssAction?> <?for-each:ssAction?> <?if://ssCreated?> <?formatdate:psfn:totext(ssCreated, "yyyy-MM-dd'T'HH:mm:ss", "MM/dd/yyyy hh:mm:ss"); 'SHORT_TIME'?> <?end if?> <?ssCreatedByName?> <?ssOwnedBy?> <?ssType?> <?ssStatus?> <?ssDescription?> <?end for-each?> <?end if?> <?end for-each?> <?split-by-page-break:?> <?end for-each-group?> <?end if?> <?if:not(// ssServiceRequest)?> <?end if?> Description Condition to check for Action records. If there are no records, do not display the section. Beginning of the repeating element group for Action. If condition that does not display the ssCreated field if null. Field formatting
for-each:ssAction If ssCreated
End ssCreatedByN ssOwnedBy sssStatussType ssDescription end for-each:ssAction End if end for-each page break end for-each-group: ssServiceRequest End If
End of the repeating element group for Action. The end of the if condition End of current-group() repeating group section. Page break after the end of the group section. End of Service Request group section End if statement for conditional check on Service Request records If condition that prints "No Data Found" at the bottom of the report if there are no records. End if statement for above condition.
End
You can view additional information about the integration object definition (and related integration components) in Siebel Tools. For information about viewing integration object definitions in Siebel Tools, see Using Siebel Tools.
11 3
For more information about Oracle BI Publisher syntax, see Oracle Business Intelligence Publisher Report Designer's Guide, Release 10.1.3.4 available on Oracle Technology Network (OTN). For more information about creating master-detail templates, see How Master-Detail Reports Work on page 110 and Creating a Master-Detail Layout Template in Microsoft Word on page 114.
a b
Insert a master data section manually, or by using the Insert menu option from the Oracle BI Publisher Desktop menu. Select the master data section, and add a for-each-group section:
NOTE: This process embeds the for loop within the table and does not replicate the location of the controls in the preconfigured examples.
c 6
(Optional) If you want to view descriptive text for the inserted sections, click Tools, Options, Build, and then Descriptive.
a b
Select the detail data section. From the Oracle BI Publisher menu, click Insert, and then Repeating Group.
114
c 7 a b c 8 9
Insert a page break after the final detail section by doing the following: Select the Oracle BI Publisher properties of the entire group. Navigate to Create, Group, and then Properties. Select a page break option.
Add the additional formatting features and conditions. For more information on adding features, see How Master-Detail Reports Work on page 110. After testing the report, deploy the template in the usual manner.
For more information about master-detail reports, see About Master-Detail Reports on page 109 and How Master-Detail Reports Work on page 110.
11 5
116
10 Parameterized Reports
This chapter describes parameterized reports and how they work. The topics in this chapter include: About Parameterized Reports on page 117 About Defining Parameters in the Report Template on page 118 About Referencing Parameters in the Report Template on page 118 How Parameterized Reports Are Generated on page 119 Example of Generating a Parameterized Report on page 120
For instructions for creating reports and layout templates, see Chapter 7, Creating Reports.
The administrator defines the parameters and the attributes of the report template during design time. A parameter is a name/value pair that defines certain criteria. Each parameter can have a default value, only one value, or a blank value. RTF templates can have many parameters of the following two types: Simple string. A user-defined value or default value defined in the template. Pick list. In pick lists, predefined values are available for user selection with no arbitrary input.
Related Topics About Defining Parameters in the Report Template on page 118 About Referencing Parameters in the Report Template on page 118 How Parameterized Reports Are Generated on page 119 Example of Generating a Parameterized Report on page 120
11 7
Table 6.
Template Parameter Value Definitions Value <?param@begin: Param1;'default_value';'string'?> <?param@begin: Param2?> <?param@begin: Param3;'One';'string';'One,Two'?>
Parameter A string parameter with a default value of default_value A string parameter without a default value A picklist parameter containing the values One and Two, with a default value of One
Related Topics About Parameterized Reports on page 117 About Referencing Parameters in the Report Template on page 118 How Parameterized Reports Are Generated on page 119 Example of Generating a Parameterized Report on page 120
118
Control the sorting pattern in a table. You can select a column name for sorting. Control the grouping pattern in a table. You can select a column name for the group. Render data rows in different colors by defining a user-specified field (such as ACTIVE_STATUS).
TIP: To test that the parameters are passed through correctly, you can display user input directly on the report. In this manner, you can verify Oracle BI Publisher received the correct user input, but there is no impact on the report layout controls. Use the following syntax to display the run-time parameter values on the report output for the example parameters defined in Table 6 on page 118: Param1 = <?$Param1?> Param2 = <?$Param2?> Param3 = <?$Param3?> Related Topics About Parameterized Reports on page 117 About Defining Parameters in the Report Template on page 118 How Parameterized Reports Are Generated on page 119 Example of Generating a Parameterized Report on page 120
Related Topics About Parameterized Reports on page 117 About Defining Parameters in the Report Template on page 118 About Referencing Parameters in the Report Template on page 118
11 9
From the pop-up applet, select the output file type, enter the parameters, and then click submit. The report is generated by the Oracle BI Publisher Server, and then transferred to the Siebel application screen.
Related Topics About Parameterized Reports on page 117 About Defining Parameters in the Report Template on page 118 About Referencing Parameters in the Report Template on page 118 How Parameterized Reports Are Generated on page 119
120
11 Migrating Reports
This chapter describes how to migrate reports from a development, test, or production environment to another. The tasks in this chapter are performed by the system administrator and are for disconnected mode only. This chapter includes the following topics: Requirements for Migrating Reports on page 121 Process of Packaging and Migrating Reports on page 122
1 2
In the source environment, make sure the reports are finalized and ready to migrate. Perform the following in the source environment:
a b
Install Perl software (version 5.0 or later). Make sure you include the Application Deployment Manager (ADM) component group as part of the Siebel Server installation process. For more information about installing Siebel Servers, see Siebel Installation Guide for the operating system you are using.
Set up ADM for your particular deployment needs. In particular, you must have a Siebel Management Server and Siebel Management Agents installed. For more information on setting up ADM, see Siebel Installation Guide for the operating system you are using.
12 1
1 2 3 4 5
Make sure you have met the necessary requirements for migrating reports. For information about these requirements, see Requirements for Migrating Reports on page 121. Packaging the Report Files in the Source Environment on page 122 Migrating the Report Files to the Target Environment on page 123 Packaging Report Database Records in the Source Environment on page 124 Migrating Report Database Records to the Target Environment on page 125
SharedFolder\PackageName\file\siebsrvr\XMLP\<subdirectory_name>
where: SharedFolder is a shared folder on the deployment computer. PackageName is the name of the ADM package folder that contains the report files to be migrated. file is the type of file, such as database, repository, and so on.
122
Copy the RTF and XSL files to the following directory: SharedFolder\PackageName\file\AppServer\XMLP\TEMPLATES
Run the following command to generate a descriptor file for the package: admpkgr generate "shared folder\package name" where: SharedFolder\PackageName is the shared folder and package name in which the packages to be migrated reside.
Run the following command to call the deploy.bat file to load the package to the server database: deploy_enterprise load username password PackageName where:
deploy_enterprise is of the form deploy_enterprise, where enterprise is replaced by the enterprise name given by the user at the time of the configuration.
12 3
username and password are the username and password account of the Siebel user who is deploying the package. PackageName is the name of the package for which the descriptor was created in Step 2 on page 123.
Run the following command to create a session for the deployment: deploy_enterprise create username password PackageName
Run the following copy command to complete the deployment of the sample package: deploy_enterprise copy username password PackageName
In the destination Siebel Server folder ( siebsrvr\XMLP), verify that the files you placed in the deployment package (as described in Step 1 on page 122) are available in the appropriate folders.
In the Deployment Filter field in the Deployment Project data type list, create search expressions for the data types to filter only those items of a data type that match the condition for migration. Save each filter. For example, if you create a report in the source environment and that report is:
Named Test Account List Based on the BIP Accounts - Current Query integration object
124
You enter the following filter information to migrate the data types to the target environment: Data Type BIP Sample Data Generation BIP Report Template Registration BIP View Association BIP Report Template Translations Filter [Name]=' BIP Accounts - Current Query' [Report Name]=' Test Account List' [Name]=' Account List View' [Report Name]=' Test Account List'
NOTE: If the data type of interest is not available, it might be set as Inactive. Make sure the Active field for the data type is checked in the Data Type Details view. This step allows you to query the reports being migrated to the target environment.
a b
Navigate to the Deployment Projects view. In the Deployment Projects list, select the draft deployment. The Status field of the draft deployment project record appears as Draft.
ADM populates the Status field with Enabled and the Publication Date/Time field with the date and time of the report project activation.
a b c d
Navigate to the Application Deployment Manager screen, then the Deployment Sessions view. Select the newly enabled report project, and make sure the Export to File and the Deployment Lock fields are checked. Enter a shared location to store the XML files that contain the database records. Click Deploy.
The database record XML files are exported to the shared location.
12 5
2 3
Click the Deployment Sessions Menu button, and select Deploy from File. Enter the XML file names to migrate the database records, making sure to specify the shared location where the database records are stored as follows:
XML file that contains the Sample Data Generation File XML file that contains the Report Template Registration file XML file that contains the View Association file
In the target environment, make sure the data was migrated correctly by verifying that the report appears in the Reports menu. For example, in Step 4 on page 124 in the Packaging Report Database Records in the Source Environment topic, you created the Test would perform the following steps:
a b
Navigate to the Accounts screen, Account List view, and then click Reports. In the Reports menu, verify the Test Account List report appears, and then generate it.
Copy the SIF and descriptor files in the repository folder of the ADM package that was created when you ran the admpkgr init command. For more information about generating the command, see Packaging the Report Files in the Source Environment on page 122.
126
Perform the steps as described in Packaging the Report Files in the Source Environment on page 122. NOTE: If there is no report for this integration object and there are no plans to move a report for this integration object, you can skip Step 1 on page 122.
Verify that the integration object was moved to the target environment, perform the following:
a b c
Log in to the target environment computer. Navigate to the Administration - BIP Reports screen, then the Sample Data File Generation view. Make sure the integration object appears in the Sample Data File Generation list.
12 7
128
This appendix describes how to enable logging for the various Siebel Reports components and provides common error messages that might occur when generating these reports. It contains the following topics: Enabling Logging for the XMLP Report Server Component on page 129 About Enabling Logging for the Oracle BI Publisher Server on page 131 Enabling and Disabling Debugging for Siebel Reports in Disconnected Mode on page 131 Resolving Class Not Found Errors When Previewing Reports in Microsoft Word on page 132 Troubleshooting Error Messages for Siebel Reports on page 134
NOTE: Oracle Business Intelligence Publisher (Oracle BI Publisher) for Siebel Business Applications logs all exceptions and debug level information.
Setting the Log Level for the XMLP Report Server Component Using the Server Manager UI
Use the following procedure to set the log level for the XMLP Report Server component using the Server Manager UI.
To set the log level for the XMLP Report Server component using the Server Manager UI 1 2 3 4
Navigate to the Administration-Server Configuration screen, Servers, and then the Components view. In the Component field, query for XMLP Report Server, and then click the Events view tab. In Events list, query for XMLP Report Log, and then set the log level value to 5. Click the Component tab.
12 9
Troubleshooting Siebel Reports Enabling Logging for the XMLP Report Server Component
5 6 7
In the Component field, query for Call Center Object Manager (ENU), and then click the Events tab. In the Events list, query for XMLP Report Log, and then set the log level value to 5. Stop and restart the XMLP Report Server and Call Center Object Manager (ENU) server components. For more information about restarting the Siebel Server, see Siebel System Administration Guide.
Setting the Log Level for the XMLP Report Server Component Using Server Manager
Use the following procedure to set the log level for the XMLP Report Server component using Server Manager (srvrmgr).
To set the log level for the XMLP Report Server component using Server Manager 1
Run the following command to connect to the Siebel Server Manager: srvrmgr /g <gateway machine name:port number> /s <xmlp siebel server name> /e <enterprise> /u <user name> /p <password> where: gateway machine name:port number is the name of the physical computer on which the Siebel Gateway Name Server is running and the port number on which the Gateway Name Server is listening. NOTE: The colon and port number are optional if using an optional default port. xmlp siebel server name is the name of the server on which the XMLP Report Server component is enabled. user name is the login name of the administrator. password is the password for the administrator. For example, you might use the following command: srvrmgr /g <gateway machine name>:2330 /s <xmlp siebel server name> /e Siebel /u SADMIN /p MSSQL
Run the following command to change the event log level: change evtloglvl XMLPReportLog=5 for comp xmlpreportserver where 5 is the event log level that you want to change. For example, to get details for a call to a business service, run the following command: change evtloglvl ObjMgrBusServiceLog=5 for comp xmlpreportserver
Shut down the XMLP Report Server component and then restart this component to make sure logging changes take effect.
130
Troubleshooting Siebel Reports About Enabling Logging for the Oracle BI Publisher Server
Place the file in the jre\lib directory used by the Siebel client (for example, C:\Program Files\Java\jre1.6.0_07\lib) and make sure that the directory specified by the LogDir parameter exists. The resulting log files from the report generation will be created at this location.
If an error occurs while generating reports in disconnected mode, an xdo.log file is created and saved to the path specified in the .cfg file. Use this log file for troubleshooting.
13 1
Troubleshooting Siebel Reports Resolving Class Not Found Errors When Previewing Reports in Microsoft Word
Resolving Class Not Found Errors When Previewing Reports in Microsoft Word
Errors can occur when previewing reports with Microsoft Word that use preconfigured RTF templates.
Resolving Class Not Found Errors When Previewing Reports in Microsoft Word
To resolve the Class not found error when previewing reports in Microsoft Word, you create a custom batch file to launch Microsoft Word and load the required template libraries before opening the RTF template. NOTE: In your batch file, replace the explicit drive and folder locations with those on your own computer based on where you installed the Siebel Web Client. Observe and adhere to the following guidelines when resolving Class not found errors: Make sure there are no spaces or new line character after the -Xbootclasspath/a: string. For example, this string might appear as follows: set_JAVA_OPTIONS=-Xbootclasspath/a:C:\81DQSSIA\client\classes) To check the syntax, turn off word wrapping in the editor you are using so that set _JAVA_OPTIONS is a single line. You must have three distinct lines in your batch file if word wrapping is turned off. Check the path to Microsoft Word that the batch file references. Search for winword.exe from C:\Program Files to find the path. The %1 in the batch file is an argument to represent a document that is typically opened in Microsoft Word (RTF files). Do not use set _JAVA_OPTIONS as a system environment variable because this prevents you from previewing reports in the Siebel client.
To resolve Class not found errors when previewing reports in Microsoft Word 1
Navigate to C:\Program Files.
132
Troubleshooting Siebel Reports Resolving Class Not Found Errors When Previewing Reports in Microsoft Word
Create a MSWordForBIPub.bat file containing the following code to set the _JAVA_OPTIONS environment variable before launching Microsoft Word. echo %1 set _JAVA_OPTIONS=-Xbootclasspath/a: C:\81DQSSIA\client\classes\SiebelXMLP.jar;C:\81DQSSIA\client\ classes\siebel.jar;C:\81DQSSIA\client\classes\XSLFunctions.jar;C:\81DQSSIA\ client\classes\SiebelCustomXMLP.jar;C:\81DQSSIA\client\classes\SiebelCustomXMLP _SIA.jar "C:\Program Files\microsoft office\Office\Winword.exe" %1 TIP: Create a shortcut to the MSWordForBIPub.bat batch file and move it to your desktop.
If you want to make sure this batch file is always executed when opening a preconfigured report template, you associate the RTF files with the .bat file by doing the following:
a b c d e
Navigate to the template files in your Siebel client environment. (For example, C:\Siebel\client\XMLP\TEMPLATES) Sort the templates files by Type. Right-click on a RTF file (or select all) and Select Open With to choose an text editor. Click Browse to find the .bat file, and then open it. Check the Always use the selected program to open this kind of file checkbox, and then click OK. This associates the selected RTF file or files with the batch file created in Step 2 on page 133. The batch file sets an environment variable needed for publishing Oracle BI Publisher reports from within Microsoft Word.
Additional Notes
The following provides additional information about this topic: There is no requirement to associate .doc extensions with this batch file. This workaround automatically associates the RTF file with the batch file. Now, when you doubleclick a RTF file, you see a command prompt window (running the batch file) automatically run at the same time. Alternatively, you can go to the desktop shortcut icon and run the shortcut to the .bat file to test the report preview. Many delivered RTF files in the Siebel client Templates directory (C:\siebel\client\XMLP\TEMPLATES) are set to read only. Before previewing reports from this directory, go to Properties for the applicable template and remove the Read-only attribute to avoid run-time errors.
13 3
Table 7.
Resolving Siebel Reports Error Messages Description and Solution This error occurs when you fail to upload the template to the Oracle BI Publisher Server. To resolve, see Troubleshooting Errors While Running Siebel Reports (SBL-OMS00203) on page 137. Connection Mode Connected and disconnected
Error Message or Symptom SBL-OMS-00203: Error <?> invoking method "<?>" for Business Service "<?>"
"Unable to find definition for component XMLPReportServer(SBLSRQ-00103)" error when I clicked on the Submit button to generate the report." The specialized method 'GetFileToDir' is not supported on Business Component 'Report Template BC' used by Business Object 'Report Administration'. (SBL-DAT-00322) SBL-RPT-50504: Error occurred while saving the record. No data file provided for XLIFF generation.
This error occurs after clicking Submit to generate a report. To resolve, see Troubleshooting Error After Clicking Submit to Generate a Report (SBLSRQ-00103) on page 138. This error occurs when the path settings in the configuration files are incorrect. To resolve, see Troubleshooting Errors That Occur Due to Incorrect Configuration File Settings (SBL-DAT-00322) on page 138. This error occurs when users forget to provide a sample XML data file for generating an XLIFF file. To resolve, see Troubleshooting XLIFF File Errors on page 139.
Disconnected only
This error occurs when Oracle BI Publisher or the JAR files are not loaded. To resolve, set the classpath, see Troubleshooting the CLASSPATH Settings Using Siebel Server Manager on page 139.
Disconnected only
134
Table 7.
Resolving Siebel Reports Error Messages Description and Solution Verify that SiebelCustomXMLP.jar, SiebelXMLP.jar are under SIEBSRVR_ROOT\classes. Make sure that the Oracle BI Publisher Server path is: $OC4J_PATH\j2ee\home\applications \xmlpserver\xmlpserver\WEBINF\lib. For Siebel Industry Applications, make sure the following files are in both paths: SiebelCustomXMLP_SIA.jar SiebelXMLP.jar Not applicable Connection Mode Connected only
Error Message or Symptom Reports having custom java class involved are not generating.
This error appears in the Oracle BI Publisher log file or console when generating a report when the JAR files have not been copied to the Oracle BI Publisher Server, or the required Disable External Reference parameter attribute has not been set to FALSE. To resolve, see Changing the Location of the Oracle BI Publisher Repository for Siebel Reports on page 40.
Verify the BIP Server Userid and Password. (SBL-RPT-50529) or Failed to log into BI Publisher: invalid username or password.
This error message appears in the XMLP log file, because the user has not provided the correct User ID and password for the Oracle BI Publisher Server in the XMLP Report Server component parameters. To resolve, see Troubleshooting Oracle BI Publisher Server Login Errors on page 139.
Connected only
Verify whether the temp\xmlp directory exists. If it does not, create one. Also make sure the Siebel File System is set appropriately.
13 5
Table 7.
Resolving Siebel Reports Error Messages Description and Solution Make sure that the report name does not contain the following special characters: Forward slash (/) Backslash (\) Double quote (") Single quote (') Tilde (~) Ampersand (&) Asterisk (*) Plus sign (+) Left angle bracket (<) Right angle bracket (>) Percent sign (%) Connected only Connection Mode Connected only
Error Message or Symptom PublicReportService::executeCreate Report Failure: due to Report Name contains special characters for report
SBL-EAI-04308: Operation 'runReport' of Web Service 'http:// xmlns.oracle.com/oxp/service/ PublicReportService.PublicReportSer viceService' at port 'PublicReportService' failed with the following explanation: "oracle.apps.xdo.webservice. exception.OperationFailedException: PublicReportService:: generateReport failed: due to oracle.apps.xdo.servlet. CreateException: Report definition not found:/SiebelCRMReports/ <Report Name>/<Report Name>.xdo".
This error occurs when you execute a report that has missing bits on the Oracle BI Publisher Server (such as the .xdo file). To resolve, upload the layout template from Oracle BI Publisher using the Report Template Registration view. For more information about uploading layout templates, see Registering Layout Templates for Reports on page 98.
136
Table 7.
Resolving Siebel Reports Error Messages Description and Solution The problem occurs when the table header row and the data row are composed of two different tables with no space between them. HTML, and sometimes EXCEL, might generate output with alignment issues. NOTE: There are two tables, one for Table Header and one for Data Row. But they look like one single table, because there is no space between the two tables. To resolve, see Troubleshooting Alignment Problems in HTML Output on page 140. Connection Mode Connected and disconnected
Error Message or Symptom Alignment issues with columns with HTML file output type
The PPT output type for Japanese (JPN) is distorted in generated reports. Create the font mappings for the Oracle BI Publisher Server to make sure that the HTML output appears correctly. To resolve, see Troubleshooting Japanese Font Errors on page 140.
Connected only
13 7
2 3
Restart the Siebel Server. For information about restarting the Siebel Server, see Siebel System Administration Guide.
Troubleshooting Errors That Occur Due to Incorrect Configuration File Settings (SBL-DAT-00322)
Use one of the following procedures to correct errors that occur due to incorrect configuration file settings (error message SBL-DAT-00322).
a b c d e 2
Navigate to the Administration - Server Configuration screen, Servers, and then the Components view. Query for the Callcenter Object Manager (or other application specific Object Manager, like Siebel Sales or Siebel Service). Click the Parameters view tab, and then query for FileSystemManager, and then click Advanced. In Siebel File System field, provide the path as \\<machine name>\fs. Make sure that the fs directory exists in the D: drive and also that it is shared.
138
To check whether the file system path is set properly, try to register the template. If registering the template is successful, you can drill down on the generated XLIFF file. If either browsing the template fails or the drilldown fails, this means that the file system path is not set appropriately.
13 9
2 3 4 5 6
Restart OC4J (Oracle Application Server Containers for Java Platform, Enterprise Edition). Launch the Oracle BI Publisher Server URL. Log in to Oracle BI Publisher Server. Navigate to Admin, Runtime configuration, and then Font Mappings. Create the following two font mappings:
140
This appendix describes the Report Business Service and its methods. These methods are used in scripts or workflow processes to automate reporting-related business processes. For example, you can define workflow processes to automate the business processes for generating a report with a specific query, or saving a report in a specific format, or emailing a report to a customer. This appendix is intended for Siebel configurators. It consists of the following topics: About the Report Business Service on page 141 Configuring the Report Business Service on page 142
14 1
142
Index
A
adding a language to a report 66 adding an explicit reference to JAR files for the Oracle BI Publisher Server 44 administering reports 61
E
embedding the My Jobs view in the Siebel application 55 enabling and configuring report scheduling, process of 53 enabling external file references for the Oracle BI Publisher Server 39 error messages, troubleshooting for reports 134 Extensible Markup Language See XML Extensible Stylesheet Language See XSL Extensible Stylesheet Language Transformation See XSLT Extensible Stylesheet Language-Formatting Objects See XSL-FO
B
BIPSiebelSecurityWS.XML file, importing 50
C
configuring security and authentication for Siebel Reports using the LDAP model 52 using the Siebel Security model 50 configuring the BIPDataService WSDL 56 configuring the outbound Web service for the Oracle BI Publisher Server 46 configuring the Siebel application for integration with Oracle BI Publisher, process of 42 copying JAR files to the Oracle BI Publisher Server 39 creating custom reports about 87 creating new integration objects for 94 extending integration objects for Siebel Reports 92 custom reports process of creating 92
F
fonts, copying for report generation 44
G
generating reports about 75 example of 80 monitoring the status of 81 procedure for 79 scenario for 78 workflow for 76
D
debugging disabling for Siebel Reports in disconnected mode 132 enabling for Siebel Reports in disconnected mode 131 deleting a language from a report 66 deleting scheduled reports 107 deploying reports to the Siebel Web Client from a disconnected client 61 deploying Siebel Reports for the first time 31 directory structure for Siebel Reports DATA directory, described 25 FONTS directory, described 25
I
importing new report features for Siebel CRM version 8.1.1.1 43 installing Oracle BI Publisher 36 integrating Oracle BI Publisher with Siebel Business Applications about 31 preparation tasks for 33 process of installing and configuring Oracle BI Publisher 35
14 3
Index L
roadmap for 35 integration instructions for previous versions of Siebel Reports, finding 32 integration objects for Siebel Reports creating new 94 extending to add new fields to a report 92
deleting a language from 66 designing 65 My Jobs view, embedding in the Siebel application 55
O
optimization enabling scalable mode for Siebel Reports 70 increasing EAI HTTP transport sleep time for 73 optimizing performance for large data volumes, process of 70 setting a temporary directory on the Oracle BI Publisher Server for 72 setting concurrency parameters for 69 setting the report execution wait time for 67 setting the server request processor wait time for 68 Oracle BI Publisher installing for Siebel Business Applications 36 Oracle BI Publisher repository about 27 changing the location of for Siebel Reports 40 Oracle BI Publisher Server about 26 adding an explicit reference to JAR files 44 configuring the outbound Web service for 46 copying JAR files to 39 enabling external file references for 39 securing Siebel user access to, process of 49 Oracle BI Publisher-Siebel application interaction 27 Oracle Business Intelligence Publisher Addin for Microsoft Word about using with Siebel Reports 17 advantages of using 18 Excel Analyzer feature 19 Template Builder feature 19 Template Viewer feature 19 using to create layout templates 96
L
layout templates creating using Oracle BI Publisher Add-in for Microsoft Word 96 previewing 97 registering 98 workflow for uploading to a Siebel application 90 LDAP security model, configuring security and authentication for 52 logging for Siebel Reports enabling logging for the XMLP Report Server component 129 setting log levels for using the GUI 129 setting log levels for using the Server Manager (srvrmgr) 130 logging for the Oracle BI Publisher Server about enabling 131
M
master-detail reports about 109 creating master-detail layout templates in Microsoft Word 114 how they work, example of 110 using 109 migrating reports migrating an integration object for a report 126 migrating new reports after creating new integration objects 127 migrating the report files to the target environment 123 moving database records to the target environment 125 packaging and migrating reports, process of 122 packaging database records in the source environment 124 packaging the report files in the source environment 122 requirements for 121 multilingual reports about translatable content for 65 adding a language to 66
P
parameterized reports about 117 about defining parameters in the report template 118 about referencing parameters in the report template 118 example of generating 120 how they are generated 119 PublicReportService outbound Web service, configuring 46
144
Index R
purging reports automatically purging from the Siebel File System 64 from the Oracle BI Publisher Server 64 from the Siebel File System 62 manually purging from the Siebel File System 63 purging scheduled reports 64
R
reports about parameterized reports 117 adding multiple integration objects to 100 associating registered reports with application views 101 creating 85 creating new responsibilities in the Siebel application 48 deleting 83 determining whether to create new or custom 85 generating 79 generating sample XML data files for 95 previewing work-in-progress layout templates 97 registering layout templates for 98 reporting across multiple Siebel business objects 89 scenario for creating 86 troubleshooting 129 uploading layout templates to a Siebel application, workflow for 90 using master-detail reports 109 viewing previously generated reports 82 Reports Business Service about 141 configuring 142 Reports menu, using to generate reports 75
about integration objects for 88 about using 16 architecture, described 21 deploying for the first time 31 development environment, described 21 directory structure, described 25 file types, described 25 overview of 15 report execution in connected mode 29 report execution in disconnected mode 29 report output files types 16 uploading preconfigured reports to the Oracle BI Publisher Server 57 users, described 17 using Oracle Business Intelligence Publisher Add-in for Microsoft Word with 17 workflow for generating reports in connected mode 22 workflow for generating reports in disconnected mode 23 Siebel Security model, configuring security and authentication for 50
T
testing integration configurations for Siebel Reports 58 troubleshooting tasks for 129 troubleshooting reports alignment problems in JPN and PSJ environments 137 error messages for 134 resolving class errors 134 resolving class not found errors when previewing reports in Microsoft Word 132 resolving column alignment problems in HTML and EXCEL 137 resolving error after clicking Submit to generate a report 134 resolving error due to special character violations 136 resolving errors relating to the Siebel File System or XMLP directory 135 resolving errors while running 134 resolving for custom Java classes 135 resolving for incorrect path settings in configuration files 134 resolving for Oracle BI Publisher run-time errors 135 resolving Oracle BI Publisher Server login errors 135 resolving report definition errors 136
S
scheduled reports about 103 deleting 107 enabling and configuring, process of 53 example of 105 monitoring and viewing 106 procedure for 104 securing Siebel user access to the Oracle BI Publisher Server, process of 49 Siebel application-Oracle BI Publisher interaction 27 Siebel Reports about 15
14 5
Index U
U
upgrading Oracle BI Publisher to version 10.1.3.4.1 from 10.1.3.4.0 37 Siebel Reports to Siebel CRM version 8.1.1.1 from version 8.1.1 32
X
XLIFF (XML Localization Interchange File Format), described 26 XML (Extensible Markup Language), described 25 XPath (XML Path Language), described 26 XSL (Extensible Stylesheet Language), described 25 XSL-FO (Extensible Stylesheet LanguageFormatting Objects), described 26 XSLT (Extensible Stylesheet Language Transformation), described 26
W
Web service configuring the PublicReportService outbound Web service 46 PublicReportService Web service, about 26 workflow for generating reports (diagram) 76
146