Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Copyright 2005, 2012 Oracle and/or its affiliates. All rights reserved. This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited. The information contained herein is subject to change without notice and is not warranted to be errorfree. If you find any errors, please report them to us in writing. If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. Government, the following notice is applicable: U.S. GOVERNMENT END USERS: Oracle programs, including any operating system, integrated software, any programs installed on the hardware, and/or documentation, delivered to U.S. Government end users are commercial computer software pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, use, duplication, disclosure, modification, and adaptation of the programs, including any operating system, integrated software, any programs installed on the hardware, and/or documentation, shall be subject to license terms and license restrictions applicable to the programs. No other rights are granted to the U.S. Government. This software or hardware is developed for general use in a variety of information management applications. It is not developed or intended for use in any inherently dangerous applications, including applications that may create a risk of personal injury. If you use this software or hardware in dangerous applications, then you shall be responsible to take all appropriate fail-safe, backup, redundancy, and other measures to ensure its safe use. Oracle Corporation and its affiliates disclaim any liability for any damages caused by use of this software or hardware in dangerous applications. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners. Intel and Intel Xeon are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks are used under license and are trademarks or registered trademarks of SPARC International, Inc. AMD, Opteron, the AMD logo, and the AMD Opteron logo are trademarks or registered trademarks of Advanced Micro Devices. UNIX is a registered trademark of The Open Group. This software or hardware and documentation may provide access to or information on content, products, and services from third parties. Oracle Corporation and its affiliates are not responsible for and expressly disclaim all warranties of any kind with respect to third-party content, products, and services. Oracle Corporation and its affiliates will not be responsible for any loss, costs, or damages incurred due to your access to or use of third-party content, products, or services.
Contents
Chapter 1: Chapter 2:
About Using Siebel Reports Who Can Use Siebel Reports? About Oracle BI Publisher
About Using Oracle Business Intelligence Publisher Add-in for Microsoft Word with Siebel Reports 16
Chapter 3:
Workflow for Generating Reports in Connected Mode Siebel Reports Directory Structure Siebel Reports File Types 24 23
About the Oracle BI Publisher Server in Siebel Business Applications How Siebel Business Applications and Oracle BI Publisher Interact
24 26
Chapter 4:
About Integrating Oracle BI Publisher with Siebel Business Applications Where to Find Documentation for Previous Versions of Siebel Reports
Chapter 5:
Deploying Report Layout Templates to the Siebel Web Client from a Disconnected Client 32 Configuring the Reports Button 33
Contents
Disabling and Enabling the Reports Button Renaming Siebel Reports Menu Items 34
33
34 35 35 36 37
Changing the Location of the Oracle BI Publisher Repository for Siebel Reports
Changing the Location of the Oracle BI Publisher Repository by Creating a Custom XML File 37 Changing the Location of the Oracle BI Publisher Repository by Replacing a JVM Property Name 38 Changing the Location of the Oracle BI Publisher Repository by Changing the Absolute Path to the Repository 39
39 40 42
Roadmap for Uploading Multilingual Reports to the Siebel Application Adding and Deleting Locales from Report Templates About Report Translation 44 45 45 46 Viewing Report Usage Statistics 43
Roadmap for Optimizing the Performance of Siebel Reports Setting the Report Execution Waiting Period for Reports
Setting the Server Request Processor Database Polling Interval for Siebel Reports 46 Setting Concurrency Parameters for Siebel Reports 47 Process of Optimizing the Generation Performance of Siebel Reports for Large Data Volumes 48
Enabling Scalable Mode for Siebel Reports 49 Configuring a Temporary Directory on the Oracle BI Publisher Server for Siebel Reports 51 Increasing EAI HTTP Transport Sleep Time for Siebel Reports 51
About Increasing the Java Heap Size on Oracle BI Publisher Server About Reducing the Size of an Integration Object 53
52
Chapter 6:
Generating Reports
56
Contents
Setting Siebel Reports User Preferences at the Application Level About Generating Reports for Selected Records 57
57 59 60
About Generating Reports Using the Siebel High-Interactivity Client Generating Reports Using the Siebel High-Interactivity Client 61
Example of Generating an Opportunity Report Using the Siebel High-Interactivity Client 63 About Generating Reports Using the Siebel Open UI Client Generating Reports Using the Siebel Open UI Client Monitoring the Status of Currently Generating Reports Viewing Details for Previously Generated Reports Deleting Reports 70 69 66 67 68 64 65 Scenario for Generating Reports Using the Siebel Open UI Client
Chapter 7:
Creating Reports
71 72 73 76 74 78 79 79 80
Using Integration Object Search Specifications for Siebel Reports About Reporting Across Multiple Siebel Business Objects About Registering and Sharing Report Layout Templates About Multiorganizational Report Templates 78
Scenario for Report Template Visibility Across Organizations About Defining Report Layout Templates for Selected Records Process of Creating Custom Reports 81
Extending Integration Objects to Add New Fields for Siebel Reports 84 Creating New Integration Objects for Siebel Reports 85 Generating Sample XML Data Files for Siebel Reports 87 Creating Report Layout Templates Using Oracle Business Intelligence Publisher Add-in for Microsoft Word 88 Registering Report Layout Templates 89 Adding Multiple Integration Objects to a Report 93
Contents
Sharing Report Layout Templates 94 Defining Report Layout Templates for Selected Records 95 Associating Registered Reports with Siebel Application Views 96 Changing the Report Sequence Order in the Reports Menu 96
Chapter 8:
Scheduling Reports
99 103 104 100 104
Example of Scheduling an Opportunity Report Monitoring and Viewing Scheduled Reports Deleting Scheduled Reports 105 Suspending and Resuming Scheduled Reports
Chapter 9:
Example of Comparing the Service Request Activity (All) Report with its Corresponding Layout Template 108 Creating a Master-Detail Layout Template in Microsoft Word 112
Packaging the Report Files in the Source Environment 116 Migrating the Report Files to the Target Environment 117 Packaging Report Database Records in the Source Environment 118 Migrating Report Database Records to the Target Environment 119
120 121
About Referencing Parameters in the Report Layout Template About Defining Report Parameters in the Siebel Application About Report Parameter Validation 128
Contents
129
130
Defining Report Parameters in the Siebel Application Example of Generating a Parameterized Report 132
131
Guidelines for Resolving Class Not Found Errors When Previewing Reports in Microsoft Word 139 Resolving Class Not Found Errors When Previewing Reports in Microsoft Word Troubleshooting Error Messages for Siebel Reports 141 140
Index
Contents
Table 1. Topic
New Product Features in Siebel Reports Guide, Version 8.2, Rev. A Description New topic. The timestamp for a report is the submit time on the Siebel Server. New topic. Administrators can view a report entitled Report Usage Statistics that provides detailed statistical information. Chapter modified. It includes new instructions for generating reports using Siebel Open UI. Topic deleted. As of Siebel CRM version 8.1.1.3, this task no longer applies.
How the Timestamp for Reports is Determined on page 35 Viewing Report Usage Statistics on page 45
Chapter 6, Generating Reports Uploading New or Modified Report Layout Templates for Multiple Siebel Server Environments
Additional Changes The following documentation changes affect the organization of this guide: Chapter 4, Integrating Oracle BI Publisher with Siebel Business Applications was rewritten to cross reference to external integration instructions. Most topics are now documented in 1501378.1 (Article ID) on My Oracle Support.
This book contains the following general changes: The Reports icon is now referred to as the Reports button. Renaming Siebel Reports Menu Items on page 34 was modified to provide correct query criteria.
Table 2. Topic
New Product Features in Siebel Reports Guide, Version 8.2 Description New chapter. It provides updated content and reorganized topics to reflect the latest integration and configuration tasks. Modified topics in these chapters to reflect the new user interface that allows for sharing reports, scheduling reports, and includes other new features. Modified topic. Access control to generated reports is based on standard Siebel position-based visibility. New topic. It describes the Oracle BI Publisher, OC4J (Oracle Application Server Containers for Java Platform, Enterprise Edition), and Oracle BI Publisher Add-in for Microsoft Word (also known as Oracle BI Publisher Desktop). New topic. It describes how to deploy reports to the Siebel Web Client from a disconnected client. New topic. It provides instructions for administrators to set up an automated process for purging reports from the Siebel File System. You no longer have to purge reports manually. New topic. It describes how Siebel Reports determines the report language at run time. Modified topic. Added an optional step to the procedure. New topic. It describes report translation. Modified topic. This chapter is not applicable to scheduled reports. Modified topic. Access to reports is based on standard Siebel position-based visibility.
Chapter 4, Integrating Oracle BI Publisher with Siebel Business Applications Chapter 6, Generating Reports Chapter 7, Creating Reports Chapter 8, Scheduling Reports About Using Siebel Reports on page 14 About Oracle BI Publisher on page 16
Deploying Report Layout Templates to the Siebel Web Client from a Disconnected Client on page 32 Automatically Purging Reports from the Siebel File System on page 35
About Working with Multilingual Reports on page 40 Designing Multilingual Reports on page 41 About Report Translation on page 44 Chapter 6, Generating Reports About Generating Reports Using the Siebel High-Interactivity Client on page 59
10
Table 2. Topic
New Product Features in Siebel Reports Guide, Version 8.2 Description Modified topic. You can now do the following: Grant others access to your reports. Select multiple records when generating reports. Override the default report language and locale settings.
Modified topic. It describes the following: Which generated reports a user has access to. How to run a query on any of the fields in the Reports views.
About Registering and Sharing Report Layout Templates on page 78 Extending Integration Objects to Add New Fields for Siebel Reports on page 84 Generating Sample XML Data Files for Siebel Reports on page 87
New topic. It describes how to register and share report layout templates. New topic. An optional step in creating reports that describes how to extend an existing integration object to add new fields for a report. Modified topic. When you generate sample XML data, only a subset of the I/O data is exported into the XML file. A note was added describing what to do when this occurs. Modified topic. Oracle BI Publisher does not support report names containing special characters. Modified topic. Updated the procedure for registering report layout templates. New topic. It describes how to share report layout templates. New topic. It describes how to configure a report layout template to display only the currently selected records in a Siebel application view when a report is generated. New topic. It describes how to define the way reports are ordered in the Reports menu. Modified topic. It describes the new user interface. New topic. It provides an example of using a masterdetail report.
Creating Report Layout Templates Using Oracle Business Intelligence Publisher Add-in for Microsoft Word on page 88 Registering Report Layout Templates on page 89 Sharing Report Layout Templates on page 94 Defining Report Layout Templates for Selected Records on page 95 Changing the Report Sequence Order in the Reports Menu on page 96 Scheduling Reports on page 100 Example of Comparing the Service Request Activity (All) Report with its Corresponding Layout Template on page 108
11
Table 2. Topic
New Product Features in Siebel Reports Guide, Version 8.2 Description New topic. It provides additional information for the example of using a master-detail report. Modified topic. Added two new solutions for errors that can occur while uploading files to Oracle BI Publisher.
Syntax and Description of the Fields for an Example Template on page 110 Troubleshooting Error Messages for Siebel Reports on page 141
Additional Changes This version of Siebel Reports Guide includes: The following screen names and other user interface (UI) elements have changed:
The Administration - BIP Reports screen is now the Administration - BI Publisher Reports screen. The BIP Reports Server is now BI Publisher Reports. The Purge Administration view is no longer available in the UI. The My Jobs view is now the Scheduled Reports view. The Report Template Registration view is replaced with two new template views:
The Generate Sample Data File button in the Integration Objects list of the template views is now Generate Sample XML.
You can generate reports in MHTML (MIME HTML) format in connected mode only. The following topics were relocated to Chapter 5, Administering Siebel Reports:
Uploading New or Modified Report Layout Templates for Multiple Siebel Server Environments on page 87 Changing the Location of the Oracle BI Publisher Repository for Siebel Reports on page 37 Copying Fonts for Report Generation on page 39
12
The reporting module for Siebel Business Applications is Oracle Business Intelligence Publisher (Oracle BI Publisher). 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 13 About Using Siebel Reports on page 14 Who Can Use Siebel Reports? on page 14 Siebel Reports Output File Types on page 15 About Oracle BI Publisher on page 16 About Using Oracle Business Intelligence Publisher Add-in for Microsoft Word with Siebel Reports on page 16
13
14
Report developer (or business user). Developers are responsible for determining how best to extract data from various sources and are granted permission to perform administrative tasks. These administrative tasks include generating translatable XLIFF (XML Localization Interchange File Format) files, uploading and registering templates in the Siebel clients, associating reports with Siebel application views, and so on. In a sales organization, report developers might be sales managers, business analysts, and so on. NOTE: A sales manager might be a report user or a report developer depending on the responsibility assigned. Your business requirements determine which views are made available to certain users for reports development and administration. Restrictions are implemented using the standard Siebel access controls. For more information about access control in general, see Siebel Security Guide.
Report administrator. The report administrator might perform tasks typically performed by report developers, but the administrator is also responsible for installation and configuration tasks, purging reports, and managing the translation of reports from one language to another.
NOTE: The PPT and MHTML report output file types are 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 19. 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 Report Layout Templates on page 89.
15
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. 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.
16
Overview of Siebel Reports About Using Oracle Business Intelligence Publisher Add-in for Microsoft Word with Siebel Reports
When you open Microsoft Word after installing Oracle Business Intelligence Publisher Add-in for Microsoft Word, the Oracle BI Publisher toolbar appears, as shown in Figure 1.
Figure 1.
Figure 1 shows the following new elements in Microsoft Word: A new application-level menu entitled Oracle BI Publisher The Oracle BI Publisher toolbar with the following menu options:
For information about installing Oracle Business Intelligence Publisher Add-in for Microsoft Word, see 1501378.1 (Article ID) on My Oracle Support. NOTE: It is recommended that you use the same versions of Oracle BI Publisher Server and Oracle BI Publisher Desktop in your deployment.
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.
17
Overview of Siebel Reports About Using Oracle Business Intelligence Publisher Add-in for Microsoft Word with Siebel Reports
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.
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 19. 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 (http://www.oracle.com/technetwork/indexes/documentation/index.html). 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.
18
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 19 Workflow for Generating Reports in Connected Mode on page 20 Workflow for Generating Reports in Disconnected Mode on page 21 Siebel Reports Directory Structure on page 23 Siebel Reports File Types on page 24 About the Oracle BI Publisher Server in Siebel Business Applications on page 24 How Siebel Business Applications and Oracle BI Publisher Interact on page 26
19
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 3
A report generation event is triggered from a Siebel application view. The Siebel Application Object Manager (AOM) routes the event to the Siebel Database. 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.
20
Siebel Reports Development Environment Workflow for Generating Reports in Disconnected Mode
4 5 6 7 8 9
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 PublicReportServiceService 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 PublicReportServiceService business service.
10 The Oracle BI Publisher Server executes report generation and returns the generated report
11 The proxy PublicReportServiceService 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.
21
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.
22
Table 3.
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 Copying Fonts for Report Generation on page 39.
\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 26.
\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: After a report template is registered, the XLIFF file (or files) is stored in the relevant xliff\lang directory (or directories) on the Siebel Server. When you upload the report template, all the XLIFF files from each language folder and the RTF file are placed on the Oracle BI Publisher Server in their appropriate locations. For more information, see About the Oracle BI Publisher Server in Siebel Business Applications on page 24. TIP: 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.
23
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 Who Can Use Siebel Reports? on page 14.
24
Siebel Reports Development Environment About the Oracle BI Publisher Server in Siebel Business Applications
The Oracle BI Publisher Server uses a push-pull mechanism to transfer XML data between the Siebel application and the Oracle BI Publisher Server. 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 layout template from the Oracle BI Publisher repository, and then sends the report to the Siebel application. The following subtopics describe the Oracle BI Publisher Server functionality in relation to Siebel Reports in greater detail.
25
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
26
Siebel Reports Development Environment How Siebel Business Applications and Oracle BI Publisher Interact
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, PPT, and MHTML.
NOTE: The PPT and MHTML output file types are available only in connected mode. 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.
27
Siebel Reports Development Environment How Siebel Business Applications and Oracle BI Publisher Interact
28
This chapter provides instructions for administrators on how to integrate Oracle Business Intelligence Publisher (Oracle BI Publisher) with Siebel Business Applications for report generation. It includes the following topics: About Integrating Oracle BI Publisher with Siebel Business Applications on page 29 Where to Find Documentation for Previous Versions of Siebel Reports on page 29
29
Integrating Oracle BI Publisher with Siebel Business Applications Where to Find Documentation for Previous Versions of Siebel Reports
30
This chapter describes some of the administrative tasks for Siebel Reports. The tasks in this chapter are for administrators only and are applicable to both connected and disconnected modes unless otherwise indicated. This chapter includes the following topics: Deploying Report Layout Templates to the Siebel Web Client from a Disconnected Client on page 32 Configuring the Reports Button on page 33 Disabling and Enabling the Reports Button on page 33 Renaming Siebel Reports Menu Items on page 34 About Controlling Access to Reports on page 34 How the Timestamp for Reports is Determined on page 35 Automatically Purging Reports from the Siebel File System on page 35 Purging Scheduled Reports from the Oracle BI Publisher Server on page 36 Changing the Location of the Oracle BI Publisher Repository for Siebel Reports on page 37 Copying Fonts for Report Generation on page 39 About Working with Multilingual Reports on page 40 Designing Multilingual Reports on page 41 Roadmap for Uploading Multilingual Reports to the Siebel Application on page 42 Adding and Deleting Locales from Report Templates on page 43 About Report Translation on page 44 Viewing Report Usage Statistics on page 45 Roadmap for Optimizing the Performance of Siebel Reports on page 45 Setting the Report Execution Waiting Period for Reports on page 46 Setting the Server Request Processor Database Polling Interval for Siebel Reports on page 46 Setting Concurrency Parameters for Siebel Reports on page 47 Process of Optimizing the Generation Performance of Siebel Reports for Large Data Volumes on page 48 About Increasing the Java Heap Size on Oracle BI Publisher Server on page 52 About Reducing the Size of an Integration Object on page 53
31
Administering Siebel Reports Deploying Report Layout Templates to the Siebel Web Client from a Disconnected Client
Deploying Report Layout Templates to the Siebel Web Client from a Disconnected Client
Siebel reports are typically developed on a disconnected client, such as the Siebel Developer Web Client. After you test and verify a report layout template, you must move that report to the Siebel Server to deploy the report to the Siebel Web Client. Report templates and associated XLIFF translation files are stored in the Siebel File System and are synchronized to the Siebel Server when a Mobile Client performs a synchronization. After you click Upload in the user interface, the report is then available for generation in connected mode with the Oracle Business Intelligence Publisher (Oracle BI Publisher) Server. This topic describes how to deploy reports to the Siebel Web Client from a disconnected client.
NOTE: It is recommended that you locate your report layout template files in the SIEBSRVR_ROOT\XMLP\Templates directory and the XLIFF files in the SIEBSRVR_ROOT\XMLP\xliff\language directory.
Navigate to the Administration - BI Publisher Reports screen, then one of the following template views:
b c
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 96.
Upload the report to the Oracle BI Publisher Server by doing the following:
a b 5
32
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 that the new report layout template and associated files were uploaded.
Description This option disables the Reports button. This option enables the Reports button.
Restart the Siebel Server to verify the Reports icon does not appear.
33
a b 4 5
To change the My BI Publisher Reports menu item, query for SBL_MY_BIPUBLISHER_REPORTS, and then edit the Current String Value. To change the Schedule Report menu item, query for SBL_SCHEDULE_BIPUBLISHER_REPORTS, and then edit the Current String Value.
Compile the Symbolic String project, distribute the updated SRF, and then restart the Siebel Server. Verify your changes by doing the following:
a b
Launch the Siebel application, and then navigate to any screen. Click Reports to view your changes.
34
Navigate to the Administration - Server Management screen, then the Jobs view.
35
Administering Siebel Reports Purging Scheduled Reports from the Oracle BI Publisher Server
5 6
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.
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 105. NOTE: Administrators are also responsible for purging reports from the Siebel File System. For information about this purging, see Automatically Purging Reports from the Siebel File System on page 35.
36
Administering Siebel Reports Changing the Location of the Oracle BI Publisher Repository for Siebel Reports
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, then 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 (http://www.oracle.com/technetwork/ indexes/documentation/index.html). If you do not want to use ${oracle.home}/xdo/repository as the location of your Oracle BI Publisher repository, then there are three different ways you can change it: Create a custom XML file For instructions, see Changing the Location of the Oracle BI Publisher Repository by Creating a Custom XML File on page 37. Replace a JVM property name For instructions, see Changing the Location of the Oracle BI Publisher Repository by Replacing a JVM Property Name on page 38 Change the absolute path to the repository For instructions, see Changing the Location of the Oracle BI Publisher Repository by Changing the Absolute Path to the Repository on page 39.
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.
37
Administering Siebel Reports Changing the Location of the Oracle BI Publisher Repository for Siebel Reports
This task is a step in Changing the Location of the Oracle BI Publisher Repository for Siebel Reports on page 37.
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. This task is a step in Changing the Location of the Oracle BI Publisher Repository for Siebel Reports on page 37.
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.
38
Changing the Location of the Oracle BI Publisher Repository by Changing the Absolute Path to the Repository
This task is a step in Changing the Location of the Oracle BI Publisher Repository for Siebel Reports on page 37. 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.
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.
39
Table 4 provides details of how this logic is implemented in Siebel Reports. The order defines the logic applied at run time to determine which default language preferences to use.
Table 4.
How Siebel Reports Determines the Report Language at Run Time Order 1 Description If a default locale is specified in the report layout template, then these values appear as the default selection for the report output. However, users can override these settings at run time for an individual report (see Run-time Selection in this table). The Report Business Service is configurable for locale as an optional inputs. If the locale is specified at the template level, then the template parameters are used rather than those specified for the input. If no parameters are passed to the Report Business Service, then the default application object manager values are used. NOTE: Only use locale values as business service inputs when these values are not set at the template level.
User preferences
If the report layout template does not have a default locale, and the user has set a locale property in their user preferences, then the user preference values are used. Otherwise, the values in the report layout template prevail. For information about setting user preferences for report generation, see About Generating Reports Using the Siebel Open UI Client on page 64.
40
Table 4.
How Siebel Reports Determines the Report Language at Run Time Order 4 5 Description Users can override the default locale values when generating a report. If no default locale is specified in the report layout template level or in the user preferences, then the current application object manager values for the session are used.
Related Topics Designing Multilingual Reports on page 41 Roadmap for Uploading Multilingual Reports to the Siebel Application on page 42 Adding and Deleting Locales from Report Templates on page 43 About Report Translation on page 44
(Optional) Using Oracle Business Intelligence Publisher Add-in for Microsoft Word, add a default locale to the report layout template.
Related Topics About Working with Multilingual Reports on page 40 Roadmap for Uploading Multilingual Reports to the Siebel Application on page 42 Adding and Deleting Locales from Report Templates on page 43
41
Administering Siebel Reports Roadmap for Uploading Multilingual Reports to the Siebel Application
Associate the RTF layout template file with the report using the appropriate report template registration view (Reports - Standard Templates or Reports - Custom Templates). For information, see Registering Report Layout Templates on page 89. Associate an XLIFF or ZIP file with the report record using the following guidelines:
To upload a single or multiple XLIFF files, use the following naming convention: Report Template Filename_langcode1.xlf where:
Report Template Filename is the physical RTF filename langcode is the language code abbreviation
To upload a ZIP file the naming convention should be in the form: Report Template Filename.zip
RTF file. The file is stored the SIEBEL_ROOT\XMLP\TEMPLATES directory. The RTF file and associated XLIFF files are uploaded to Oracle BI Publisher Server in the appropriate folders. ZIP file. The file is stored in the SIEBEL_ROOT\XMLP\xliff directory. The ZIP file is automatically decompressed to the SIEBEL_ROOT\XMLP\xliff\locale_code folder.
NOTE: Validation occurs during the upload, and if any issues arise, an error message appears and the uploaded files are deleted. For information about this validation, see Registering Report Layout Templates on page 89.
Register the report, add the languages to the Translations list in the appropriate report registration view (Reports - Standard Templates or Reports - Custom Templates). For instructions, see Registering Report Layout Templates on page 89. The report layout template and the associated XLIFF translation files are now registered.
42
Administering Siebel Reports Adding and Deleting Locales from Report Templates
Log in to Oracle BI Publisher Server to review the structure of the registration. Each XLIFF file is registered using the format TemplateName_language code_TERRITORY CODE.xlf. For more information about translation naming conventions, see Oracle Business Intelligence Publisher Report Designer's Guide on Oracle Technology Network (http:// www.oracle.com/technetwork/indexes/documentation/index.html).
Related Topics About Working with Multilingual Reports on page 40 Designing Multilingual Reports on page 41 Adding and Deleting Locales from Report Templates on page 43 About Report Translation on page 44
3 4 5 6
In the appropriate Template list, select the report to which you want to add a locale. In the Translations subview, click New. In the Language field, add a new language, and then click OK. (Optional) If you want a different name for the translated report to appear in the Reports menu, enter a Report Name.
43
3 4
In the Report Template Registration list, select the report from which you want to delete a language. In the Translations list, choose a language, and then click Delete. NOTE: This step removes only the language from the report; it does not remove the report.
Related Topics About Working with Multilingual Reports on page 40 Designing Multilingual Reports on page 41 Roadmap for Uploading Multilingual Reports to the Siebel Application on page 42 About Report Translation on page 44
44
Dates and currency formatting. The format of date, time, and currency fields is based on the template functions: format-date() and format-currency(). Both of these Oracle BI Publisher functions use the locale code specified for the report generation to determine the correct format to display based on the Oracle BI Publisher locale format definitions.
CAUTION: Each translated report must have a unique translated display name. If there are duplicate names for translated reports, then when those names pass from the browser to the Siebel Server, the server cannot differentiate which report to generate.
Related Topics About Working with Multilingual Reports on page 40 Designing Multilingual Reports on page 41 Roadmap for Uploading Multilingual Reports to the Siebel Application on page 42 Adding and Deleting Locales from Report Templates on page 43
NOTE: Most of these tasks are applicable only when the client is in connected mode unless noted otherwise.
45
Administering Siebel Reports Setting the Report Execution Waiting Period for Reports
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
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 45. Use the following procedure to set the Database Polling Interval server component parameter.
46
To set the Server Request Processor database polling interval for Siebel Reports 1 2 3 4
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
47
Administering Siebel Reports Process of Optimizing the Generation Performance of Siebel Reports for Large Data Volumes
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 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 45 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 (Article ID) on My Oracle Support.
48
Administering Siebel Reports Process of Optimizing the Generation Performance of Siebel Reports for Large Data Volumes
2 3 4
Enabling Scalable Mode for Siebel Reports on page 49. Configuring a Temporary Directory on the Oracle BI Publisher Server for Siebel Reports on page 51. Increasing EAI HTTP Transport Sleep Time for Siebel Reports on page 51.
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
Save the xdo.cfg file. The following is a sample xdo.cfg file: <config version="1.0.0" <!-- Properties --> <properties> xmlns="http://xmlns.oracle.com/oxp/config/">
49
Administering Siebel Reports Process of Optimizing the Generation Performance of Siebel Reports for Large Data Volumes
<!-- 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" /> </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
50
Administering Siebel Reports Process of Optimizing the Generation Performance of Siebel Reports for Large Data Volumes
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 48 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: <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
51
Administering Siebel Reports About Increasing the Java Heap Size on Oracle BI Publisher Server
This task is a step in Process of Optimizing the Generation Performance of Siebel Reports for Large Data Volumes on page 48 and is applicable to connected mode.
Related Topics Enabling Scalable Mode for Siebel Reports on page 49 Configuring a Temporary Directory on the Oracle BI Publisher Server for Siebel Reports on page 51
52
53
54
Generating Reports
This chapter describes how to generate, view, monitor, and delete reports in Siebel Business Applications from a user perspective using the Siebel Open UI client and the high-interactivity client. This chapter also describes the reports user preferences that you can set at the application level. It includes the following topics: Generating Reports in Siebel Business Applications on page 56 Setting Siebel Reports User Preferences at the Application Level on page 57 About Generating Reports for Selected Records on page 57 About Generating Reports Using the Siebel High-Interactivity Client on page 59 Scenario for Generating Reports Using the Siebel High-Interactivity Client on page 60 Generating Reports Using the Siebel High-Interactivity Client on page 61 Example of Generating an Opportunity Report Using the Siebel High-Interactivity Client on page 63 About Generating Reports Using the Siebel Open UI Client on page 64 Scenario for Generating Reports Using the Siebel Open UI Client on page 65 Generating Reports Using the Siebel Open UI Client on page 66 Example of Generating an Opportunity Report Using the Siebel Open UI Client on page 67 Monitoring the Status of Currently Generating Reports on page 68 Viewing Details for Previously Generated Reports on page 69 Deleting Reports on page 70
NOTE: For more information about the Siebel Open UI client, see Configuring Siebel Open UI. This chapter does not apply to scheduled reports.
55
NOTE: Report scheduling and parameterized reports are currently not available in the Siebel Open UI client. For more information about using Siebel Reports in high-interactivity clients versus Siebel Open UI clients, see Article ID 1499842.1.
56
Generating Reports Setting Siebel Reports User Preferences at the Application Level
Related Topics Generating Reports in Siebel Business Applications on page 56 About Generating Reports Using the Siebel High-Interactivity Client on page 59 About Generating Reports Using the Siebel Open UI Client on page 64
57
For nonselected records reports, any query or predefined query you perform from a list view in Siebel Business Applications is the criterion used for report generation. When you drill down on a record from a list view into a detail view, the query context is preserved. Therefore, the query record set for the report generation reflects the record set in the detail view. With a selected records report, if you select individual records from a parent list applet or form applet or child records on a list applet in a detail view, then these record selections override any user interface or predefined query. The selected records become the query record set for the report generation. NOTE: The report developer must have specified that a particular report can be generated using the selected records functionality. For information, see Defining Report Layout Templates for Selected Records on page 95.
Related Topics Generating Reports in Siebel Business Applications on page 56 About Generating Reports Using the Siebel High-Interactivity Client on page 59 About Generating Reports Using the Siebel Open UI Client on page 64
58
Generating Reports About Generating Reports Using the Siebel High-Interactivity Client
Figure 5.
Related Topics Generating Reports in Siebel Business Applications on page 56 Scenario for Generating Reports Using the Siebel High-Interactivity Client on page 60 Generating Reports Using the Siebel High-Interactivity Client on page 61 Example of Generating an Opportunity Report Using the Siebel High-Interactivity Client on page 63 Monitoring the Status of Currently Generating Reports on page 68 Viewing Details for Previously Generated Reports on page 69 Deleting Reports on page 70
59
Generating Reports Scenario for Generating Reports Using the Siebel High-Interactivity Client
Choosing Reports 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 List view, performs a query to limit the number of records returned, 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 section of the Reports menu.
Choosing the Report Output File Type and Monitoring Report Status Next, the sales representative is prompted to choose a report output file 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 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 Using the Siebel High-Interactivity Client on page 59
60
Generating Reports Using the Siebel High-Interactivity Client on page 61 Example of Generating an Opportunity Report Using the Siebel High-Interactivity Client on page 63
Figure 6.
61
Navigate to the Siebel application view from which you want to generate a report, 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. Performing a query will limit the number of returned records for the report.
3 4
From the Reports menu, you choose to either generate a report or schedule a report. If you choose to:
Generate a report from the BI Publisher listing, you designate a report output file type, and then click Submit. Additionally, if this is a parameterized report, you have the option to select more criteria before selecting the report output file type. NOTE: Optionally, you can choose a different locale rather than accept the defaults.
Select My BI Publisher Reports, you can choose a report that you previously generated by drilling down on it from the My Reports view. Schedule a report, you choose the report name, the output 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 4. The report output file types are: PDF, HTML, RTF, EXCEL, PPT, and MHTML. The PPT and MHTML output file types are available only in connected mode. For more information about the report output file types, see Siebel Reports Output File Types on page 15.
Save the report. You can save the report to a destination of your choosing, and then Open it for viewing immediately or at a later time.
If you chose to schedule a report, you can view or monitor the report job in the Scheduled Reports view. NOTE: The actual report is stored in the Oracle BI Publisher repository.
You can continue to generate or schedule reports in other formats or click Close to end.
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 Chapter 12, Troubleshooting Siebel Reports.
Related Topics About Generating Reports Using the Siebel High-Interactivity Client on page 59 Scenario for Generating Reports Using the Siebel High-Interactivity Client on page 60 Example of Generating an Opportunity Report Using the Siebel High-Interactivity Client on page 63
62
Generating Reports Example of Generating an Opportunity Report Using the Siebel HighInteractivity Client
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 About Generating Reports Using the Siebel High-Interactivity Client on page 59 Scenario for Generating Reports Using the Siebel High-Interactivity Client on page 60 Generating Reports Using the Siebel High-Interactivity Client on page 61 Monitoring the Status of Currently Generating Reports on page 68 Viewing Details for Previously Generated Reports on page 69 Deleting Reports on page 70
63
Generating Reports About Generating Reports Using the Siebel Open UI Client
Figure 7.
Related Topics Generating Reports in Siebel Business Applications on page 56 Scenario for Generating Reports Using the Siebel Open UI Client on page 65 Generating Reports Using the Siebel Open UI Client on page 66 Example of Generating an Opportunity Report Using the Siebel Open UI Client on page 67
64
Generating Reports Scenario for Generating Reports Using the Siebel Open UI Client
Choosing Reports 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 a new Account List report. She navigates to the Accounts view, performs a query to limit the number of returned records, and then clicks Reports. From the resulting Generate Report pane, she can choose a report from the Report Name drop-down list. In this case, she chooses Account List. Optionally, she can change the name of the report by entering a new name in the Custom Report field or choose to override the default report output file type and locale (as indicated in those fields). In this case, she chooses the default values.
Accessing Previously Generated Reports 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, a 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 Using the Siebel Open UI Client on page 64 Generating Reports Using the Siebel Open UI Client on page 66 Example of Generating an Opportunity Report Using the Siebel Open UI Client on page 67
65
Navigate to the Siebel application view from which you want to generate a report, 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. Performing a query will limit the number of returned records for the report.
In the Generate Report pane, complete the appropriate fields. Some fields are described in the following table. Field Report Name Custom Name Output Type Report Locale Description Select a report from the drop-down list. The reports available to you are based on the screen and view you are using. (Optional) Type a custom name for the report rather than accept the value in the Report Name field. (Optional) Choose a different file output type rather than accept the default value. (Optional) Choose a different locale rather than accept the default value.
NOTE: The field default values are determined by the report developer.
Click Submit to generate the report. TIP: 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 Chapter 12, Troubleshooting Siebel Reports.
66
Generating Reports Example of Generating an Opportunity Report Using the Siebel Open UI Client
5 6 7
Click My Reports to navigate to the My Reports view (in the BI Publisher Reports screen) to monitor the status of the report or to view it. In the My Reports view, drill down on the report to open or save the file. NOTE: The actual report is stored in the Oracle BI Publisher repository. (Optional) Print the report using the application or browser Print menu as applicable.
Related Topics About Generating Reports Using the Siebel Open UI Client on page 64 Scenario for Generating Reports Using the Siebel Open UI Client on page 65 Example of Generating an Opportunity Report Using the Siebel Open UI Client on page 67
2 3
Run a query to limit the number of records returned, and then click Reports. From the Generate Report pane, select or enter the following options:
Report Name is By Sales Rep Custom Name field is My Opportunities by Sales Rep Output Type is PDF Report Locale is German (DEU)
4 5
Click Submit to generate the report. To monitor the status of the report or to view or print the report, click My Reports. This action takes you directly to the My Reports view in the BI Publisher Reports screen.
In the My Reports view, drill down on the report to open or save the file.
67
(Optional) Print the report using the application or browser Print menu as applicable.
Related Topics About Generating Reports Using the Siebel Open UI Client on page 64 Scenario for Generating Reports Using the Siebel Open UI Client on page 65 Generating Reports Using the Siebel Open UI Client on page 66
In the My Reports list, locate the report that you want to monitor, and then review the Status field for that report as described in the following table. Status In Progress Success Error Description Indicates a report is currently generating. Indicates a report generated successfully. Indicates a report encountered an error while generating. Contact your system administrator to troubleshoot.
Drill down on the report for more detail. For more information about viewing report details, see Viewing Details for Previously Generated Reports on page 69.
68
Position-based visibility applies to generated reports, that is, a users position specifies which reports that user has access to. For more information about responsibilities and visibility in Siebel Business Applications, see Siebel Security Guide. NOTE: This topic is not applicable to scheduled reports. For information about viewing scheduled reports, see Monitoring and Viewing Scheduled Reports on page 104.
TIP: In the Siebel Open UI client, you can alternatively click Reports while in an Siebel view, and then click the My Reports button in the Generate Report pane.
2 3
In the appropriate reports list, select or query for the report that you want to view. Scroll down to Report Parameters to view the details. Some of the fields are described in the following table. Parameter Bookmark Description The complete view context including any query and applet and business component search expressions and sort specifications that were active when the report was generated. Editable field you can use to add more descriptive information or categorization. The start and end times of the report generation. If there is a problem with report generation, an error message appears in this field.
69
Description The size of the physical output file in kilobytes. Shows the query entered when the report was generated. Use this field to allow other Siebel users to share the report output. Editable field you can use to add more descriptive information or categorization. The unique task ID for the report generation server request. The task ID is useful when searching log fields to find a specific segment related to a report request. The visibility view mode that was used when the report was generated. The value in this field is useful for administrators and debugging.
View Mode
Deleting Reports
This topic describes how to delete unwanted reports. It is applicable to both the Siebel Open UI client and the high-interactivity client. You can delete reports that you have personally generated or have been granted access to. After a report is deleted, it is no longer available in the Siebel File System. NOTE: This topic is not applicable to scheduled reports. For information about deleting scheduled reports, see Deleting Scheduled Reports on page 105.
To delete a report 1
Navigate to the BI Publisher Reports screen, then to one of the following views:
TIP: In the Siebel Open UI client, you can alternatively click Reports while in an Siebel view, and then click the My Reports button in the Generate Report pane.
In the appropriate reports list, select a report, and then click Delete.
70
Creating Reports
This chapter describes how to create reports. It is intended only for those who have report developer or administrator privileges. NOTE: Most 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 Reportsand Chapter 8, Scheduling Reports. This chapter includes the following topics: Scenario for Creating Reports on page 71 About Integration Objects in Siebel Reports on page 72 Using Integration Object Search Specifications for Siebel Reports on page 73 About Reporting Across Multiple Siebel Business Objects on page 74 Workflow for Uploading Report Layout Templates to a Siebel Application on page 76 About Registering and Sharing Report Layout Templates on page 78 About Multiorganizational Report Templates on page 78 Scenario for Report Template Visibility Across Organizations on page 79 Should You Clone an Existing Report or Create Custom Reports? on page 79 About Defining Report Layout Templates for Selected Records on page 80 Process of Creating Custom Reports on page 81
NOTE: The Reports menu as described in this chapter applies only to Siebel high-interactivity clients. In Siebel Open UI, it is known as the Generate Reports pane and the user interface is different. For information about the differences, see About Generating Reports Using the Siebel High-Interactivity Client on page 59 and About Generating Reports Using the Siebel Open UI Client on page 64.
71
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 report 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 Who Can Use Siebel Reports? on page 14. For more information about the My Reports view, see About Using Siebel Reports on page 14.
72
Creating Reports Using Integration Object Search Specifications for Siebel Reports
Adding custom fields to existing integration objects for Siebel reports, see Extending Integration Objects to Add New Fields for Siebel Reports on page 84. Creating new integration objects for Siebel reports, see Creating New Integration Objects for Siebel Reports on page 85. NOTE: It is recommended that you request the assistance of a Siebel Tools developer to create new integration objects for Siebel Reports.
Viewing integration object definitions, see Using Siebel Tools. Integration objects in general, see Integration Platform Technologies: Siebel Enterprise Application Integration.
Table 5.
Integration Object Search Specification Run-Time Behavior for Siebel Reports Search Specification
UI Query 1 Y
Predefined Query N
Applet Y
Business Component Y
IO N
Expected Result The report appears with records filtered by the user interface, applet, and business component search expressions. The report appears with records filtered by any predefined query, applet, and business component search expressions.
73
Table 5.
Integration Object Search Specification Run-Time Behavior for Siebel Reports Search Specification
UI Query 3 Y
Predefined Query N
Applet Y
Business Component Y
IO Y
Expected Result The report appears with records filtered by applet and business component search expressions, with the integration object search expression appended (overrides the user interface query). The report appears with records filtered by applet and business component search expressions, with the integration search expression appended (overrides the predefined query)
Additionally, the following applies to all scenarios described in Table 5: Position- and organizational-based visibility and view mode are automatically preserved. The selected records functionality has no affect on query behavior. The context of the selected records becomes the user interface or predefined query. Mobile Web Client functionality is not compromised. Multilingual behavior does not affect the functionality.
74
The following conditions and restrictions apply to reporting on multiple integration objects: When specifying the integration objects in the report template in the Integration Objects list, nonprimary integration objects must have a valid search specification value. For more information about the report template in the Integration Objects list, see Registering Report Layout Templates on page 89. For more information about nonprimary integration objects, see Adding Multiple Integration Objects to a Report on page 93. At run time, the query from the current view in the Siebel application is captured and passed to the primary integration object. However, for integration objects other than the primary (sometimes referred to as secondary integration objects) that are associated with a report, queries are not passed from the user interface. The secondary integration objects are passed according to the expression provided in the objects search specification. For this reason, a valid search specification value is required to filter the data for nonprimary integration objects. NOTE: Position-based visibility is automatically applied. If no search specification value is entered for nonprimary integration objects, or the expression is incorrect, the integration object returns all data from the relevant business components. This omission returns potentially unwanted data, and also has a negative impact on performance. An example of a valid search specification is: Account.Search = [Name] LIKE A* 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 applicable report template view. For information about adding multiple integration objects to reports, see Adding Multiple Integration Objects to a Report on page 93.
75
Creating Reports Workflow for Uploading Report 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
76
Creating Reports Workflow for Uploading Report Layout Templates to a Siebel Application
From the report template views (Reports - Custom Templates or Reports - Standard Templates), the RTF report 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 PublicReportServiceService Web service. For more information about connected mode, see Siebel Reports Architecture and Workflow for Generating Reports in Connected Mode on page 20. To upload the report to the Oracle BI Publisher repository, the following must occur:
The report 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 views in the Siebel application. The RTF and XLIFF files are uploaded and an XDO report definition file is created when the reports are generating. The report layout template (RTF) and language (XLIFF) files are attached to the report during the registration of the report layout template.
NOTE: The Generate XLIFF button is disabled (grayed out) in connected mode.
Before moving to the Oracle BI Publisher repository, the layout template (RTF) and XLIFF files are attached to the report during the registration of the layout template.
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 after. For more information about generating reports in disconnected mode, see Siebel Reports Architecture and Workflow for Generating Reports in Disconnected Mode on page 22. 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.
2 3
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 more information about uploading from Oracle Business Intelligence Publisher Add-in for Microsoft Word, see Registering Report Layout Templates on page 89.
77
78
Custom templates he has created in the My Templates View. These templates have only a default organization. Custom templates that are explicitly associated to the Holland organization, given his current active position organization is Holland.
Custom templates he has created in the My Template View or templates his subordinates have created that appear in the My Teams view. These templates have only a default organization. Custom templates that are explicitly associated to the Benelux organization, given his current active position organization is Benelux. Custom templates created by both Holland and Belgium organizations because the manager can see report templates created by his subordinates regardless of whether the subordinate is in a different organization.
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
79
Creating Reports About Defining Report Layout Templates for Selected Records
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.
How Reports are Generated at Run Time When Not Using Selected Records
If a report is not indicated in the report template registration views as supporting selected records, then the report executes using the user interface query defined in the list or detail view in the Siebel application based on the current view context. Drilldown context is also preserved so that when a user drills down on a record from a list view into a detail view, the query context is preserved. The query record set for the report generation reflects the record set in the detail view. If you perform a query in the parent form applet on a detail view, then query replaces the record set with a new query. If you perform a query on the child applet in a detail view, then the child applet query is appended to the current query, and the record set in the view is reflected in the report output. NOTE: This functionality also applies to predefined queries.
How Reports are Generated at Run Time When Using Selected Records
If a report is indicated in the report template registration views as supporting selected records, then the report executes only those records the user selects in the list or detail applet in the Siebel application. TIP: You select Multiple records using the CTRL key. When you run a report that supports the selected records functionality from a list view, the parent records selections are based on those records highlighted in the list applet. When you drill down, the context is preserved, and by default, the parent applet will become the active applet. Therefore, only the parent record and related child records will be the query used for the report generation. If you select child records in the child list applet on a detail view, then these child records also become selected records, and along with the associated parent record, make up the query used for report generation. CAUTION: It is recommended that you select no more than 50 records at a time because doing so might cause report generation to fail. If you need to specify a large data set for a report, then run a non-selected records report and execute a query prior to running the report.
80
81
Figure 9 shows the process of creating custom reports. The roadmap is applicable to both connected and disconnected modes. For more information about the connection modes in relation to Siebel Reports, see Chapter 3, Siebel Reports Development Environment.
Figure 9.
Figure 9 illustrates the high-level tasks you perform when creating custom reports:
1 2
(Optional) Extending Integration Objects to Add New Fields for Siebel Reports on page 84 (Optional) Creating New Integration Objects for Siebel Reports on page 85 NOTE: Create new integration objects only when no appropriate integration object exists.
82
Generating Sample XML Data Files for Siebel Reports on page 87 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 19.
Creating Report Layout Templates Using Oracle Business Intelligence Publisher Add-in for Microsoft Word on page 88 In this step, you either modify an existing report layout template or create a new one, and then do the following:
a b c 5
Assign the Siebel fields in the report layout template. Save the report layout template to RTF. Periodically preview the report layout template to verify it appears as designed.
Registering Report Layout Templates on page 89 Using the template views (Reports - Custom Templates or Reports - Standard Templates), in this step do the following:
a b c d e 6
Create a new report. Select a report layout template. Assign an integration object. Select an output file type. (Optional) Select a default locale, report access control, and so on.
(Optional) Adding Multiple Integration Objects to a Report on page 93 In this step, you add new integration objects to a report, and the generate sample XML.
(Optional) Sharing Report Layout Templates on page 94 In this step, you grant report access to others by adding positions.
(Optional) Defining Report Layout Templates for Selected Records on page 95 In this step, you click the Selected Records field to configure a report template to display only the currently selected records in a Siebel application view when a report is generated.
10 (Optional) Changing the Report Sequence Order in the Reports Menu on page 96
Using the Association View, in this step you can define the way reports are ordered or prevent them from appearing in the Reports menu.
83
a b c
Navigate to the Administration - BI Publisher Reports screen, then the relevant report template view (either the Reports - Custom Templates view or Reports - Standard Templates 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.
84
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. NOTE: You must migrate a modified SRF between environments for any changes you make to integration objects. For information about generating sample data files, see Generating Sample XML Data Files for Siebel Reports on page 87. For more information about working with and deploying integration objects, see Integration Platform Technologies: Siebel Enterprise Application Integration.
85
Deploy the integration object to the run-time database by doing the following:
a b c d 4
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.
(Optional) Generate a new sample data file for the integration object for use when designing your report templates.
This newly created integration object is now available in the Sample Data File Generation view for creating custom reports. For information about generating sample data files, see Generating Sample XML Data Files for Siebel Reports on page 87. For more information about integration objects and deploying an integration object without compiling an SRF, see Integration Platform Technologies: Siebel Enterprise Application Integration.
86
87
Creating Report Layout Templates Using Oracle Business Intelligence Publisher Add-in for Microsoft Word
This topic describes how to create report 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 81. NOTE: It is recommended that you use Oracle Business Intelligence Publisher Add-in for Microsoft Word to create your custom RTF-formatted report 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 report 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 (also known as Oracle BI Publisher Desktop). This procedure provides only quick reference information for creating report layout templates. For detailed information, see Oracle Business Intelligence Publisher Users Guide, which is available from the Oracle BI Publisher Desktop program menu (click Start, Programs, Oracle BI Publisher Desktop, and then BI Publisher Users Guide).
To create a report layout template using Oracle Business Intelligence Publisher Addin 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 c
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. (Optional) Change the XML data grouping, and then click Next.
88
d e f g
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 report 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 report layout template (RTF) and XLIFF files in connected mode The XSL and XLIFF files in disconnected mode
In Microsoft Word, open the RTF template file (if not already open). NOTE: Typically, the template files are stored in SIEBSRVR_ROOT\XMLP\TEMPLATES.
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.
c d
(Optional) Continue to preview different output file formats. Save the file in RTF format.
If you are currently creating a report for which you want to use this report layout template, you must register the report layout template in the Siebel application, see Registering Report Layout Templates on page 89. NOTE: Additional report template creation 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 (http://www.oracle.com/technetwork/ indexes/documentation/index.html). Not all features mentioned in the Oracle Business Intelligence Publisher documentation are currently supported in Siebel Reports; only the features documented in this guide.
89
In connected mode, the Oracle BI Publisher Server requires the RTF and XLIFF files in its folder structure. If the files are not available, the report is not generated. When the upload is successful, a new folder structure is created in the Oracle BI Publisher repository. This folder has the same name as the report selected and contains the report layout template (RTF), XLIFF, and .xdo files. The Oracle BI Publisher Server creates the XSL file during run time. In disconnected mode, the RTF, XLIFF, and XSL files must be made available (by uploading the files to the Oracle BI Publisher XDO Engine) before the reports are generated. For more information about uploading report layout templates to the Siebel application, see Workflow for Uploading Report Layout Templates to a Siebel Application on page 76. NOTE: If you are uploading multilingual reports, see also Roadmap for Uploading Multilingual Reports to the Siebel Application on page 42. When associating an RTF or ZIP file with a report, the following validation checks occur to make sure that: The RTF file name is not already in use An RFT file name appears in the Template field The XLIFF file name contains the same template name as the physical template file name An XLF or ZIP file name appears in the XLIFF field
a b
Click Start, Programs, and then Oracle - BIPHomeX. Choose Start BI Publisher. A command window appears. NOTE: You must leave this command window open while the Oracle BI Publisher Server is running.
In the Siebel application, navigate to the Administration - BI Publisher Reports screen, then one of the following template views:
3 4
In the appropriate templates list, click New. Register the report layout template for the report by doing the following:
Type a report name and optionally a description. NOTE: An error message appears if a report already exists in the Siebel application with the same Report Name value, including other users reports or standard preconfigured reports that ship with Siebel Business Applications.
b c
90
d e
(Optional) Select an existing XLIFF file. (Optional) Assign a position or positions in the Report Access field. NOTE: The Report Access field is available only in the Reports - Custom Templates view to allow for sharing of generated reports.
Fill in the rest of the fields. Some of the fields are described in the following table. TIP: 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. Field Start Date Description A start date and time for the report. For preconfigured reports that ship with Siebel Business Applications, there is no start date. For reports that you create, the Start Date field automatically populates with the current date and time when the report layout template was registered. However, you can change these values any time. End Date Primary Integration Object Name Template An end date for the report. After the end date passes, the report no longer appears in the Reports menu. By default, this field is NULL. The primary integration object for the report. This field is read-only and is automatically populated when you select an integration object in the report template Integration Objects subview. The RTF report layout template that is used to generate the report. Templates are stored in the following folder:
SIEBSRVR_ROOT\XMLP\TEMPLATES
Output Type The format of the generated report, which can be one of the following: PDF, HTML, RTF, XLS, PPT, MHTML, 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. Default Locale The default locale for the template. Locale is the language and locale combination based on the locale configuration in the Siebel application. For more information, see Siebel Global Deployment Guide. XLIFF files contain the strings of the report column, field labels, and captions that are used for translation purposes. NOTE: If you change a report layout template and upload the template to a Siebel client, you must regenerate the report.
XLIFF
91
Description Controls access to report templates using positions. NOTE: The Report Access field is available only in the Reports Custom Templates view to allow for sharing of report templates.
Selected Records
Indicates that only the currently selected records in a Siebel application view are included in the report at run time. For more information about how to use the selected records feature, see Defining Report Layout Templates for Selected Records on page 95. Indicates that the report is a parameterized report that accepts runtime parameters. You define the parameters associated with the report in the Parameters list. For information about defining parameters for a report, see Defining Report Parameters in the Siebel Application on page 131.
Parameters
Associate a primary integration object with the report by doing the following:
a b
In the relevant Integration Objects subview, click New. Fill in the fields in the new record. The fields are described in the following table. Field Integration Object Name Description The integration object that you want to associate with the report layout template.
92
Description 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: 'IntegrationComponentName'.Search = "[FiledName] = ""ValueToBeTested""" For example: 'Contact'.Search = "[Last Name] = ""Sh""" NOTE: You can override queries in the user interface by specifying a search specification on the primary integration object. 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 74.
Primary
Indicates that this integration object is the primary integration object. The Primary Integration Object Name field in the template views are automatically populated when you select a primary integration object. NOTE: The first integration object that you associate with a report is automatically indicated as the primary integration object.
c 6 7
(Optional) Click Generate Sample XML for use when designing reports.
(Optional) If you want to generate reports for multiple business objects, perform the tasks as described in Adding Multiple Integration Objects to a Report on page 93. (Optional) Assign a language or languages to the report layout template. For information about assigning languages to report layout templates, see Adding and Deleting Locales from Report Templates on page 43.
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 96.
93
2 3
In the relevant report template view, select a report (if not already selected). In the Integration Objects subview, click New. NOTE: Custom integration objects previously created appear as well as the preconfigured integration objects that ship with the Siebel application. One of the integration objects is indicated as primary. This Primary field is automatically indicated when associating an integration object with a report for the first time.
Fill in the fields in the new record. The fields are described in Step 5 in Registering Report Layout Templates on page 89.
5 6
Repeat Step 3 and Step 4 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 87, but in the Sample Data File Generation view, you can generate XML for only one integration object.
If you are currently creating a report, you must now associate the registered report with a Siebel application view. See Associating Registered Reports with Siebel Application Views on page 96.
94
Select or query for an existing report. Click New to register a new report. For information about registering a new report, see Registering Report Layout Templates on page 89.
a b
Click the Report Access field to display the Position dialog box. In the Position dialog box, select the positions that you want to grant access to the report, and then click Add. NOTE: You can select multiple positions by using the CTRL key.
You can define multiorganizational templates by adding a specific organization or organizations to the report template in the organizations multi-value group (MVG).
a b
Click the Organizations field to display the Organizations dialog box. Select the organizations that you want to grant access to the report, and then click Add. You select multiple records using the shift or control keys.
In the appropriate templates list, select the report for which you want to enable the single or multiselect feature, and then click the Selected Records field.
95
a b c
Choose a report name and optionally a description. (Optional) Assign a sequence number. Click OK.
The report is now available in the Reports menu when a user is in a view with which the report is associated and the user has visibility to that view.
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 Chapter 12, Troubleshooting Siebel Reports.
96
Reports with a positive integer sequence value are sorted by the sequence value and ordered before any report with a NULL sequence value. If two or more records have the same sequence value, the records are sorted by name.
TIP: Because the Sequence field is a standard, numeric-business component field, you can add your own business logic for how reports appear in the application. For more information about configuring business components, see Configuring Siebel Business Applications.
97
98
Scheduling Reports
This chapter describes how to schedule reports in Siebel Business Applications from a user perspective using Siebel high-interactivity clients. It includes the following topics: About Scheduled Reports on page 99 Scheduling Reports on page 100 Example of Scheduling an Opportunity Report on page 103 Monitoring and Viewing Scheduled Reports on page 104 Suspending and Resuming Scheduled Reports on page 104 Deleting Scheduled Reports on page 105
NOTE: Report scheduling is not supported in Siebel Open UI for Siebel CRM version 8.2.2.2.
Related Topics Scheduling Reports on page 100 Example of Scheduling an Opportunity Report on page 103 Monitoring and Viewing Scheduled Reports on page 104 Suspending and Resuming Scheduled Reports on page 104 Deleting Scheduled Reports on page 105
99
Scheduling Reports
You schedule reports by selecting the Schedule Report menu item from the Reports menu while in a Siebel application view. If you have been granted scheduling privileges, you can schedule reports using various criteria. 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 19. 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. NOTE: You cannot schedule parameterized reports. For information about parameterized reports, see Chapter 11, Parameterized Reports.
To schedule a report 1 2
Navigate to the Siebel application view from which you want to schedule a report, and click Reports. From the Reports menu, select Schedule Report. A scheduling dialog box appears.
100
Enter the schedule criteria for the report, and then click Schedule. Some fields are described in the following table. Field Report Name Job Name Description The report you want to schedule. Enter a name for the job you are scheduling. NOTE: Any descriptive text for the job name is acceptable, the job name does not have to be unique. However, for search purposes, you might want to adopt a naming convention. Output Type Report Locale Frequency The output file format for the report. For information about the available output file types, see Siebel Reports Output File Types on page 15. The locale for the report. The recurrence of the report. Choices are: Run Immediately, Run Once, Run Daily/Weekly, or Run Monthly. If you choose to run the report: Immediately, the job is triggered as soon as you click Schedule. Only one time, you must enter the exact date and time to run the report. Daily or weekly, you must enter the day (or days) of the week, specify the run time for the selected day (or days), and a start and end date. Monthly, you must enter the month (or months), the day (or range of days) to run, and a start and end date.
See also Run Time below. Public Save Data Save Output Run Date Run Time 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 Scheduled Reports view. By default, this field is checked. If checked, the output of the job is saved and is viewable in the Scheduled Reports view. By default, this field is checked. The date and time the report generates when you choose the run once frequency. The time the report generates when you choose a daily/weekly or monthly frequency. NOTE: For a run once frequency, time is converted to UTC (Coordinated Universal Time). For daily, weekly, or monthly frequencies, the date, time, and time zone are based on the Oracle BI Publisher Server.
10 1
Description If a date is set in either of these fields, then it restricts the dates for which scheduling is active. By default, the start date is the date you schedule the report and the end date is NULL. A start and end date are required for the daily/weekly and monthly frequencies. The default Start Date format is based on the date format of the current user preferences. The day (or days) of the week or date range you want the report to generate when you choose a daily/weekly frequency. The month (or months) you want the report to generate when you choose a monthly frequency. The day (or days) of the week or date range you want the report to generate when you choose a monthly frequency.
A message appears indicating the report (with Job ID) has been scheduled.
(Optional) If scheduling a parameterized report, enter the run-time parameters by doing the following:
NOTE: For this option to appear, the report developer must have indicated the report as a parameterized report in the applicable report template registration view.
5 6 7
(Optional) Schedule another report with different criteria. Click Close to exit the scheduling dialog box. NOTE: The scheduling dialog box remains open until you close it. To view or monitor the report, do the following:
Navigate to the BI Publisher Reports screen, then the Scheduled Reports view. NOTE: The Scheduled Reports view is an embedded Web page from the Oracle BI Publisher Enterprise application.
Drill down on the Job Name for more information, and then click Back if you want to view additional scheduled reports.
Related Topics About Scheduled Reports on page 99 Example of Scheduling an Opportunity Report on page 103 Monitoring and Viewing Scheduled Reports on page 104 Suspending and Resuming Scheduled Reports on page 104 Deleting Scheduled Reports on page 105
102
Report Name is By Sales Rep Opportunity Job Name is <Enter a job name> Output Type is HTML Time is Run Daily/Weekly Day of the Week is Tuesday and Thursday Start Date is 8/2/2009 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 100.
(Optional) Navigate to the BI Publisher Reports screen, then the Scheduled Reports view to monitor the scheduled report. For information about monitoring and viewing your scheduled reports, see Monitoring and Viewing Scheduled Reports on page 104.
Related Topics About Scheduled Reports on page 99 Scheduling Reports on page 100 Monitoring and Viewing Scheduled Reports on page 104 Suspending and Resuming Scheduled Reports on page 104 Deleting Scheduled Reports on page 105
10 3
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. Click the History tab to view a history of your report jobs.
Related Topics About Scheduled Reports on page 99 Scheduling Reports on page 100 Example of Scheduling an Opportunity Report on page 103 Suspending and Resuming Scheduled Reports on page 104 Deleting Scheduled Reports on page 105
2 3
Click the Schedules tab. Click the checkbox next to the applicable report, and then click Suspend or Resume.
104
Related Topics About Scheduled Reports on page 99 Scheduling Reports on page 100 Example of Scheduling an Opportunity Report on page 103 Monitoring and Viewing Scheduled Reports on page 104 Deleting Scheduled Reports on page 105
Related Topics About Scheduled Reports on page 99 Scheduling Reports on page 100 Example of Scheduling an Opportunity Report on page 103 Monitoring and Viewing Scheduled Reports on page 104 Suspending and Resuming Scheduled Reports on page 104
10 5
106
This chapter describes master-detail reports as well as how to create a master-detail layout template. It includes the following topics: About Master-Detail Reports Example of Comparing the Service Request Activity (All) Report with its Corresponding Layout Template Creating a Master-Detail Layout Template in Microsoft Word
Figure 10. Example of a Master-Detail Service Request Activity (All) Report 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 Example of Comparing the Service Request Activity (All) Report with its Corresponding Layout Template on page 108.
10 7
Using Master-Detail Reports Example of Comparing the Service Request Activity (All) Report with its Corresponding Layout Template
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 112. Many of the preconfigured reports that ship with Siebel Business Applications are master-detail reports. 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 Example of Comparing the Service Request Activity (All) Report with its Corresponding Layout Template on page 108 and Creating a Master-Detail Layout Template in Microsoft Word on page 112.
Example of Comparing the Service Request Activity (All) Report with its Corresponding Layout Template
This topic gives one example of how master-detail reports work by comparing a specific layout template with its corresponding report. You might use the feature differently, depending on your business model. This example compares the Service Request Activity (All) report and its corresponding layout template.
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
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).
108
Using Master-Detail Reports Example of Comparing the Service Request Activity (All) Report with its Corresponding Layout Template
d e
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 10 on page 107.
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 appropriate Template view (either Reports - Custom Templates or Reports - Standard Templates in the Administration - BI Publisher 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.
For more information, see Syntax and Description of the Fields for an Example Template on page 110.
10 9
Using Master-Detail Reports Example of Comparing the Service Request Activity (All) Report with its Corresponding Layout Template
Table 6. 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).
110
Using Master-Detail Reports Example of Comparing the Service Request Activity (All) Report with its Corresponding Layout Template
Table 6. 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 1
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 (http:// www.oracle.com/technetwork/indexes/documentation/index.html). For more information about creating master-detail templates, see Example of Comparing the Service Request Activity (All) Report with its Corresponding Layout Template on page 108 and Creating a Master-Detail Layout Template in Microsoft Word on page 112.
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.
(Optional) If you want to view descriptive text for the inserted sections, click Tools, Options, Build, and then Descriptive.
112
a b c 7 a b c 8
Select the detail data section. From the Oracle BI Publisher menu, click Insert, and then Repeating Group. Select the defaults, and then click OK.
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 Example of Comparing the Service Request Activity (All) Report with its Corresponding Layout Template on page 108.
After testing the report, register the report layout template in the usual manner. For information about registering report layout templates, see Registering Report Layout Templates on page 89.
For more information about master-detail reports, see About Master-Detail Reports on page 107 and Example of Comparing the Service Request Activity (All) Report with its Corresponding Layout Template on page 108.
11 3
114
10 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 115 Process of Packaging and Migrating Reports on page 116 Process of Migrating an Integration Object for a Report on page 120 Process of Migrating New Reports after Creating New Integration Objects on page 121
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.
11 5
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 115. Packaging the Report Files in the Source Environment on page 116 Migrating the Report Files to the Target Environment on page 117 Packaging Report Database Records in the Source Environment on page 118 Migrating Report Database Records to the Target Environment on page 119
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.
116
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.
11 7
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 117.
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 116) 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
118
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.
11 9
2 3
Click the Deployment Sessions Menu button, and select Deploy from File. In the Deploy from File dialog box, enter the file paths from which to migrate the database records by doing the following:
a b c
Enter the file path for the XML file that contains the Sample Data Generation file, and then click Import. Enter the file path for the XML file that contains the Report Template Registration file, and then click Import. Enter the file path for the XML file that contains the View Association file, and then click Import.
NOTE: Make sure to specify the shared location where the database records are stored. For example, you might enter the following shared locations:
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 118 in the Packaging Report Database Records in the Source Environment you created a report named Test Account List. To verify that report migrated correctly, navigate to the Accounts screen, and then the Account List view. Click Reports to verify the Test Account List report appears in the Reports menu.
Create and export a SIF file for the integration object by doing the following:
a b c d
Log in to Siebel Tools. In the Object Explorer, select Integration Object. In the Integration Object list, right-click the integration object for which you want to create the SIF file, and then click Add to Hot Fix. In the Generate Hot-Fix dialog box, enter a label, and then click Export. A directory containing this SIF file is placed in the Tools\ADM directory.
120
Migrating Reports Process of Migrating New Reports after Creating New Integration Objects
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 116.
Perform the steps as described in Packaging the Report Files in the Source Environment on page 116. 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 116.
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 - BI Publisher Reports screen, then the Sample Data File Generation view. Make sure the integration object appears in the Sample Data File Generation list.
1 2 3
Perform the procedure in Process of Migrating an Integration Object for a Report on page 120. Generate the XML data file for the report as described in Generating Sample XML Data Files for Siebel Reports on page 87. Copy the database record files in the related package folder along with the SIF file, and then migrate them.
12 1
Migrating Reports Process of Migrating New Reports after Creating New Integration Objects
122
11 Parameterized Reports
This chapter describes parameterized reports and how to create them. It is intended only for those who have report developer or administrator privileges. NOTE: Most 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 Reportsand Chapter 8, Scheduling Reports. This chapter includes the following topics: About Parameterized Reports on page 123 About Report Parameter Types and Attributes on page 124 About Referencing Parameters in the Report Layout Template on page 126 About Defining Report Parameters in the Siebel Application on page 127 About Report Parameter Validation on page 128 Process of Creating Parameterized Reports on page 129 Defining Report Parameters in the Siebel Application on page 131 Example of Generating a Parameterized Report on page 132
NOTE: Parameterized reports are not supported in Siebel Open UI for Siebel CRM version 8.2.2.2.
12 3
When scheduling a parameterized report, if a report template accepts run-time parameters, then a Parameters option appears in the Schedule a Report dialog box. You click Parameters to enter the parameter values from the Parameters dialog box. When you click Submit, the parameter values entered are held in memory. You can amend the parameter values by clicking Parameters again, upon which the parameter values you previously entered appear. To finalize the schedule report request, click Submit again. A message appears showing that the report is scheduled, and the parameter values entered are passed with the report request. CAUTION: To use the Parameters option with scheduled reports, you must have installed the appropriate Oracle BI Publisher patch level. For information about which patch to use, see 880452.1 (Article ID), Siebel Maintenance Release Guide on My Oracle Support.
Related Topics About Report Parameter Types and Attributes on page 124 About Referencing Parameters in the Report Layout Template on page 126 About Defining Report Parameters in the Siebel Application on page 127 About Report Parameter Validation on page 128 Process of Creating Parameterized Reports on page 129 Adding Scrollbars to the Parameters Dialog Box on page 130 Defining Report Parameters in the Siebel Application on page 131 Example of Generating a Parameterized Report on page 132
Table 7.
Report Parameter Types Behavior Displays a simple check box Boolean parameter. Displays a text box where the user can enter a date value and an associated calendar control which can be invoked using an icon. The date format is based on the user preferences.
124
Table 7.
Report Parameter Types Behavior Displays a picklist where the user selects a value from a list. You can define any application list of values (based on Picklist Generic BC). Dynamic list of values are not possible. An LOV must exist in the list of application list of values. The LOV parameter type supports MLOV translation. The list of values available are those defined in the application list of values. Hierarchical LOVs are not possible. NOTE: The picklist name chosen from the UI determines whether it is bounded or not. If the selected picklist is bounded, then the LOV parameter is bounded, but if the selected picklist is not bounded, then the LOV parameter is not bounded.
Displays a text box where the user can enter a string value. Displays a text box where the user can enter a numeric value. The number control invokes the standard calculator widget. Displays a text box where the user can enter a date and time value and an associated calendar control which can be invoked using an icon. The calendar control includes time and time zone options. The date format is based on the user preferences. This parameter type is simple text that you can use as descriptive text for a section separator. There is no control type related to this parameter. The only applicable property for this parameter type is Display Value and the Order attribute. All parameters of type Label align from the left when rendered in the user interface. The longest Label property of a Label type parameter is used for the alignment starting position. All other parameter types are then aligned relative to the starting position. NOTE: It is not possible to define font face, size, color, style, or alignment or wrap the Display Value with HTML formatting codes in order to determine the run-time appearance of labels.
Label
TextArea
Displays a text area (with small scrollbar) where the user can enter a large string value.
Related Topics About Parameterized Reports on page 123 About Referencing Parameters in the Report Layout Template on page 126 About Defining Report Parameters in the Siebel Application on page 127 About Report Parameter Validation on page 128 Process of Creating Parameterized Reports on page 129 Adding Scrollbars to the Parameters Dialog Box on page 130 Defining Report Parameters in the Siebel Application on page 131 Example of Generating a Parameterized Report on page 132
12 5
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. NOTE: You can also use parameters to filter data in a template, but this action is not recommended for performance reasons. It is more efficient to filter records in the user interface using a query than in the report layout template. You must define template parameter definitions at the beginning of an RTF report layout template using the following syntax: <?param@begin: Param1> NOTE: Default values are now defined in the user interface (in previous releases, default values were defined in the report layout template). For more information about defining default values, see Defining Report Parameters in the Siebel Application on page 131.
Related Topics About Parameterized Reports on page 123 About Report Parameter Types and Attributes on page 124 About Defining Report Parameters in the Siebel Application on page 127 About Report Parameter Validation on page 128 Process of Creating Parameterized Reports on page 129 Adding Scrollbars to the Parameters Dialog Box on page 130 Defining Report Parameters in the Siebel Application on page 131 Example of Generating a Parameterized Report on page 132
126
Define parameters using the New button. NOTE: It is recommended that you do not copy parameters using the Copy Record functionality.
Make a parameter required by setting the Required field to Y. A red asterisk appears next to the parameter at run time. Define the order in which parameters appear at run time by setting values in the Order field. Parameters must have a unique Order value. If the order values are left blank, then the parameters appear in the user interface after any other values.
The parameter choices a user can select at run time is displayed as a single list. If a large number of parameters is specified, then the list becomes too large and impedes the ability to select values correctly, especially with smaller screen resolutions. It is possible to configure a scrollbar to appear on the parameter applet (helpful for usability) when there are a large number of parameters you want to display. By default, the threshold at which the scrollbar automatically displays in the Parameters dialog box is 25 parameters. Using Siebel Tools, you can reconfigure that value. For information about configuring the threshold, see Adding Scrollbars to the Parameters Dialog Box on page 130. For each data type, the appropriate validation occurs at run time to check that a user has entered a correct value. Each parameter value a user enters at run time is passed to the Oracle BI Publisher Server as string values when the report is generated. Therefore, certain data types, such as Date, must address the appropriate functions for the value to be recognized as an official date value. For example, you can use the canonical date functions to convert a string value into a date value. The minimum and maximum validation (date values entered within a set range) and validation or defaults using date functions, such as Today()-7 and conditional value logic (a display of one parameter that depends on another value) are not currently possible. In the Parameter Translations list in the Templates views, you can associate a language translation by setting a display value.
12 7
By default, there are a set number of parameter definition fields available in the Report Parameters virtual business component. If you want to add more parameters of a certain data type than already exist, then you can create more fields in the virtual business component. By default, the number of parameter definition fields by data type that are provided are described in the following table. Number of Parameter Definition Fields 10 5 5 10 5 5 10
Data Type LOV Text Text Area Number Date Date/Time Check box
CAUTION: Although possible, it is recommended that you do not use parameters to filter data in a report layout template. Doing so can negatively affect performance.
Related Topics About Parameterized Reports on page 123 About Report Parameter Types and Attributes on page 124 About Referencing Parameters in the Report Layout Template on page 126 About Report Parameter Validation on page 128 Process of Creating Parameterized Reports on page 129 Adding Scrollbars to the Parameters Dialog Box on page 130 Defining Report Parameters in the Siebel Application on page 131 Example of Generating a Parameterized Report on page 132
128
Name attribute for each parameter in the Siebel application has an equivalent placeholder in the report layout template.
For information about when to perform parameter validation, see Defining Report Parameters in the Siebel Application on page 131.
Related Topics About Parameterized Reports on page 123 About Report Parameter Types and Attributes on page 124 About Referencing Parameters in the Report Layout Template on page 126 About Defining Report Parameters in the Siebel Application on page 127 Process of Creating Parameterized Reports on page 129 Adding Scrollbars to the Parameters Dialog Box on page 130 Defining Report Parameters in the Siebel Application on page 131 Example of Generating a Parameterized Report on page 132
Create parameter definitions (or make sure the definitions exist) in the report layout template. For example, you might have the following definition: <?param@begin: Param1?> NOTE: For this example, a parameter must also exist as a parameter definition in the Siebel application with the Name property set to Param1 for the value of the output above to populate. For information about parameter definitions in report layout templates, see About Referencing Parameters in the Report Layout Template on page 126.
2 3
(Optional) Adding Scrollbars to the Parameters Dialog Box on page 130 Defining Report Parameters in the Siebel Application on page 131
Related Topics About Parameterized Reports on page 123 About Report Parameter Types and Attributes on page 124 About Referencing Parameters in the Report Layout Template on page 126 About Defining Report Parameters in the Siebel Application on page 127 About Report Parameter Validation on page 128 Adding Scrollbars to the Parameters Dialog Box on page 130 Defining Report Parameters in the Siebel Application on page 131
12 9
Compile the SRF. The threshold is used for all parameterized reports and for all users in the application.
Related Topics About Parameterized Reports on page 123 About Report Parameter Types and Attributes on page 124 About Referencing Parameters in the Report Layout Template on page 126 About Defining Report Parameters in the Siebel Application on page 127 About Report Parameter Validation on page 128 Defining Report Parameters in the Siebel Application on page 131 Example of Generating a Parameterized Report on page 132
130
Scroll down to the Parameters list, click New, and then fill in the applicable fields. The following table describes some of the fields. Field Label Name Order Type Description Descriptive text for the parameter. You can use this field for translations. The name of the parameter. This field references the placeholder parameter name in the report layout template. The order in which parameters appear at run time. The type of parameter. Choices are: Checkbox, Date, LOV, Text, Number, DateTime, Label, and TextArea. For a description of each parameter, see About Report Parameter Types and Attributes on page 124. Use this field to provide the default value for the parameter. This default value appears in the Report Parameter dialog box and is passed to the Oracle BI Publisher Server for report generation. The name of the picklist from which users choose values in the parameter dialog box. Use this field for LOV parameter types. A value of Y indicates the parameter is required. If required, a value must be entered in the user interface.
Default
NOTE: Each parameter name value you define must have a correlating parameter definition in the report layout template. For example, if you define a parameter with the Name property as Param1, then the definition of Param1 must appear in the report layout template.
If there are translations, add the following information for each language:
Default Value
13 1
Display Name
Click Validate to check for inconsistencies between the template definitions you defined above and the report layout template. For more information about this feature, see About Report Parameter Validation on page 128.
Related Topics About Parameterized Reports on page 123 About Report Parameter Types and Attributes on page 124 About Referencing Parameters in the Report Layout Template on page 126 About Defining Report Parameters in the Siebel Application on page 127 About Report Parameter Validation on page 128 Process of Creating Parameterized Reports on page 129 Adding Scrollbars to the Parameters Dialog Box on page 130 Example of Generating a Parameterized Report on page 132
From the parameter pop-up applet, select the parameter values for the report, and then click Submit. NOTE: If the report does not have a default output type defined, you must select the output file type, and then click Submit again.
The report is generated by the Oracle BI Publisher Server, and then transferred to the Siebel application screen. For more information about generating reports, see Generating Reports on page 55.
132
Related Topics About Parameterized Reports on page 123 About Report Parameter Types and Attributes on page 124 About Referencing Parameters in the Report Layout Template on page 126 About Defining Report Parameters in the Siebel Application on page 127 About Report Parameter Validation on page 128 Process of Creating Parameterized Reports on page 129 Adding Scrollbars to the Parameters Dialog Box on page 130 Defining Report Parameters in the Siebel Application on page 131
13 3
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
Navigate to the Administration-Server Configuration screen, Servers, and then the Components view.
13 5
Troubleshooting Siebel Reports Enabling Logging for Siebel Reports in the Siebel Application
2 3 4 5 6 7
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. In the Component field, query for your AOM (Application Object Manager), for example, 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 Siebel Application Object Manager 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
136
Troubleshooting Siebel Reports About Enabling Logging for the Oracle BI Publisher Server
Shut down the XMLP Report Server component and then restart this component to make sure logging changes take effect.
ORACLE_HOME\oc4j_b\jdk\jre\lib directory
where:
13 7
Troubleshooting Siebel Reports Enabling and Disabling Debugging for Siebel Reports in Disconnected Mode
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.
138
Troubleshooting Siebel Reports Guidelines for Resolving Class Not Found Errors When Previewing Reports in Microsoft Word
Guidelines for Resolving Class Not Found Errors When Previewing Reports in Microsoft Word
This topic provides guidelines for resolving class not found errors when previewing reports in Microsoft Word.
Guidelines for Resolving Class Not Found Errors When Previewing Reports in Microsoft Word
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.
For instructions for resolving, see Resolving Class Not Found Errors When Previewing Reports in Microsoft Word on page 140.
13 9
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 (Rich Text Format) templates. To resolve these types of errors, 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. It is not necessary to associate .doc extensions with this batch file.
To resolve class not found errors when previewing reports in Microsoft Word 1 2
Navigate to C:\Program Files. 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 layout template, you associate the RTF files with the .bat file by doing the following:
a b c d
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.
140
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 140. The batch file sets an environment variable needed for publishing Oracle BI Publisher reports from within Microsoft Word.
NOTE: This workaround automatically associates the RTF file with the batch file. Now, when you double-click 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 standard 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.
Table 8.
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-OMS-00203) on page 146. 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 146. 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 146. 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)
14 1
Table 8.
Resolving Siebel Reports Error Messages Description and Solution 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 147. Connection Mode Disconnected only
Error Message or Symptom SBL-RPT-50504: Error occurred while saving the record. No data file provided for XLIFF generation.
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 148.
Disconnected only
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\WEB-INF\lib For Siebel Industry Applications, make sure the following files are in both paths: SiebelCustomXMLP_SIA.jar SiebelXMLP.jar
Connected only
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 the topic on starting and stopping OC4J and Oracle BI Publisher in 1501378.1 (Article ID) on My Oracle Support.
Not applicable
142
Table 8.
Resolving Siebel Reports Error Messages Description and Solution This error might occur if the report generation has extended the HTTP Sleep Time, typically only for very large or complex reports. To resolve, increase the HTTPSleepTime method argument for the XMLP Driver Service business service. Connection Mode Connected only
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 148.
Connected only
Verify whether the temp\xmlp directory exists in the Siebel Server root directory (SIEBSRVR_ROOT). If it does not, create one. Also make sure the Siebel File System is set appropriately. For information about setting the Siebel File System, see Siebel System Administration Guide. 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 (%)
PublicReportService::executeCreate Report Failure: due to Report Name contains special characters for report
Connected only
14 3
Table 8.
Resolving Siebel Reports Error Messages Description and Solution 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 Report Layout Templates on page 89. Connection Mode Connected only
Error Message or Symptom 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". Alignment issues with columns with HTML file output type
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 148.
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 148.
Connected only
144
Table 8.
Resolving Siebel Reports Error Messages Description and Solution This error occurs while uploading files to Oracle BI Publisher. To resolve, verify the following: JAVA_HOME variable is set correctly. The following JAR files (Siebel.JAR, SiebelXMLP.JAR, XSLFunctions.JAR, SiebelCustomXMLP.JAR, and SiebelCustomXMLP_SIA.JAR) are copied from the following directory: Connection Mode Not applicable
Error Message or Symptom SBL-EAI-05010: Class name incorrect or does not extend SiebelBusinessService : com/siebel/ data/SiebelPropertySet -- JVM Exception:java.lang.NoClassDefFoun dError: com/siebel/data/ SiebelPropertySetObjMgrBusService Log Object manager error: ([0] Class name incorrect or does not extend SiebelBusinessService : <?>
siebelroot\classes\original
Then make sure they are copied to the following directory: ORACLE_HOME\j2ee\home\ applications\xmlpserver\xmlpserve\ WEB-INF\lib The CLASSPATH variable is set correctly in the JVMSubSys profile. The JVM SubSystem Name parameter for XMLPReportServer is set to XMLPJvmSubsys. NOTE: If this value is JAVA, override it.
SBL-EAI-04308: Operation 'uploadReport' of Web Service 'http:/ /xmlns.oracle.com/oxp/service/v11/ PublicReportService.PublicReportSer viceService' at port 'PublicReportService_v11' failed with the following explanation: "oracle.apps.xdo.webservice.excepti on.InvalidParametersException: PublicReportService::executeUpload Report Failure: Due to Report with Path [/SiebelCRMReports/Application Activity/Application Activity.xdo] already exist!".
This error occurs while uploading files to Oracle BI Publisher. This error indicates that the Oracle BI Publisher Server already has a copy of the file that is currently being uploaded. The uploadReport method does not support uploading a new version of an existing file. To resolve, the administrator must either rename or delete the folder for the existing instance of the report on the Oracle BI Publisher Server. The Oracle BI Publisher Server stores the report layout templates in: ORACLE_HOME\xmlp\XMLP\Reports\ SiebelCRMReports
Not applicable
14 5
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).
146
a b c d e 2 3 4 5 6
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.
Restart the Siebel Server. Verify that the File System component is running. Verify that CLASSPATH is set in the JVMSubSys profile parameter. Verify that all the required JAR files are included and available in the CLASSPATH. Verify that the CLASSPATH separator is in the correct format for Windows or UNIX. In UNIX, the CLASSPATH separator is a colon (:). In Windows, the CLASSPATH separator is a semicolon (;).
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.
14 7
148
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:
14 9
150
15 1
152
Index
A
administering reports 31
G
Generate Report pane for Siebel Open UI, sample diagram of 64 using to generate reports in Siebel Open UI 64 generating reports for selected records, about 57 in Siebel Business Applications, about 56 monitoring the status of 68 using a Siebel high-activity client, example of 63 using the high-interactivity client, scenario for 60 using the Siebel high-interactivity client 61 using the Siebel high-interactivity client, about 59 using the Siebel high-interactivity client, diagram of 61 using the Siebel Open UI client 66 using the Siebel Open UI client, about 64 using the Siebel Open UI client, example of 67 using the Siebel Open UI client, scenario for 65 workflow for connected mode 20 workflow for generating in disconnected mode 21
C
custom reports creating new integration objects for 85 creating, process of 81 extending integration objects for Siebel Reports 84 process of creating, diagram of 82
D
debugging disabling for Siebel Reports in disconnected mode 139 enabling for Siebel Reports in disconnected mode 138 enabling on Oracle BI Publisher for Siebel Reports 137 deleting scheduled reports 105 deploying reports to the Siebel Web Client from a disconnected client 32 description of 78 directory structure for Siebel Reports DATA directory, described 23 FONTS directory, described 23 REPORTS, directory described 23 TEMPLATES directory, described 23 xliff directory, described 23 documentation, where to find previous versions of Siebel Reports 29
I
integrating Oracle BI Publisher with Siebel Business Applications guidelines for 29 integration objects for Siebel Reports creating new 85 extending to add new fields to a report 84 reducing the size of, about 53
E
error messages, troubleshooting for reports 141 Extensible Markup Language See XML Extensible Stylesheet Language See XSL Extensible Stylesheet Language Transformation See XSLT Extensible Stylesheet Language-Formatting Objects See XSL-FO
L
locales adding to report layout templates 43 deleting from report layout templates 43 logging for Siebel Reports enabling logging for in the Siebel application 135 setting log levels for using the GUI 135 setting log levels for using the Server Manager
15 3
Index M
(srvrmgr) 136 logging for the Oracle BI Publisher Server about enabling 137
M
master-detail reports about 107 creating master-detail layout templates in Microsoft Word 112 example of comparing the Service Request Activity (All) report with its corresponding layout template 108 using 107 migrating reports migrating an integration object for a report 120 migrating new reports after creating new integration objects 121 migrating the report files to the target environment 117 moving database records to the target environment 119 packaging and migrating reports, process of 116 packaging database records in the source environment 118 packaging the report files in the source environment 116 requirements for 115 multilingual reports about working with 40 adding and deleting locales from report layout templates 43 designing 41 uploading to the Siebel application, roadmap for 42
Oracle BI Publisher repository about 25 changing the location of for Siebel Reports 37 Oracle BI Publisher Server about 24 about installing 16 increasing the Java heap size for, about 52 Oracle BI Publisher-Siebel application interaction 26 Oracle Business Intelligence Publisher Addin for Microsoft Word about using with Siebel Reports 16 advantages of using 17 Excel Analyzer feature 18 menu and toolbar, example of 17 Template Builder feature 18 Template Viewer feature 18 using to create report layout templates 88
P
parameter type Check box, described 124 Date, described 124 DateTime, described 125 Label, described 125 LOV, described 125 Number, described 125 Text, described 125 TextArea, described 125 parameter validation, about 128 parameterized reports about 123 about defining parameters in the report template 126 about referencing parameters in the report layout template 126 creating, process of 129 example of generating 132 how they are generated 123 purging reports automatically purging from the Siebel File System 35 from the Oracle BI Publisher Server 36 purging scheduled reports 36
O
optimization enabling scalable mode for Siebel Reports 49 increasing EAI HTTP transport sleep time for 51 optimizing performance for large data volumes, process of 48 setting a temporary directory on the Oracle BI Publisher Server for 51 setting concurrency parameters for 47 setting the report execution wait time for 46 setting the server request processor wait time for 46 Oracle BI Publisher enabling debugging on Oracle WebLogic Server for Siebel Reports 137
R
registering report layout templates, about 78 report execution modes comparison, diagram of 26 report generation, copying fonts for 39
154
Index S
report layout template views 78 report layout templates creating using Oracle BI Publisher Add-in for Microsoft Word 88 defining for selected records 95 defining for selected records, about 80 diagram for uploading to a Siebel application 76 registering 89 registering and sharing, about 78 sharing 94 workflow for uploading to a Siebel application 76 report parameters about defining in the Siebel application 127 report sequence order, changing in the Reports menu 96 report templates about multiorganizational templates 78 visibility across organizations, scenario for 79 report translation, about 44 reports about parameterized reports 123 adding multiple integration objects to 93 associating registered reports with application views 96 creating 71 deleting 70 determining the report locale at run time 40 determining whether to modify existing or creating custom 79 generating an opportunity report using a Siebel high-interactivity client, example of 63 generating an opportunity report using the Siebel Open UI client, example of 67 generating in Siebel Business Applications 56 generating sample XML data files for 87 generating using the Siebel high-interactivity client 61 generating using the Siebel high-interactivity client, about 59 generating using the Siebel high-interactivity client, diagram of 61 generating using the Siebel Open UI client 66 generating using the Siebel Open UI client, about 64 parameter types and attributes, about 124 registering and sharing report layout templates, about 78 registering report layout templates 89
reporting across multiple Siebel business objects 74 scenario for creating custom 71 setting user preferences for Siebel Reports at the application level 57 troubleshooting 135 uploading report layout templates to a Siebel application, workflow for 76 using master-detail reports 107 viewing details for previously generated reports 69 Reports Business Service about 151 configuring 152 Reports menu changing the report sequence order 96 renaming menu items 34 sample diagram of 59 using to generate reports 59
S
scenario creating custom reports 71 scheduled reports about 99 adding scrollbars to the Parameters dialog box 130 deleting 105 example of 103 monitoring and viewing 104 procedure for 100 suspending and resuming 104 selected records defining report layout templates for 95 defining report layout templates for, about 80 sharing report layout templates, about 78 Siebel application-Oracle BI Publisher interaction 26 Siebel high-interactivity client, using to generate reports 61 Siebel Open UI client, using to generate reports 66 Siebel Reports about 13 about controlling access to 34 about integration objects for 72 about using 14 administering 31 architecture, described 19 development environment, described 19 directory structure, described 23 file types, described 24
15 5
Index T
overview of 13 report execution in connected mode 27 report execution in disconnected mode 27 report output files types 15 users, described 14 using integration object search specifications 73 using Oracle Business Intelligence Publisher Add-in for Microsoft Word with 16 workflow for generating reports in connected mode 20 workflow for generating reports in disconnected mode 21
files 141 Oracle BI Publisher run-time errors 142 Oracle BI Publisher Server login errors 143 report definition errors 144 XLIFF errors 142
U
uploading files to Oracle BI Publisher error SBL-EAI-04308 145 SBL-EAI-05010 145 user preferences setting at the application level for Siebel Reports 57 setting report parameters to change the default report output type 57
T
troubleshooting reports alignment problems in JPN and PSJ environments 144 class name incorrect errors 142 class not found errors when previewing reports in Microsoft Word 140 class not found errors when previewing reports in Microsoft Word, guidelines for 139 column alignment problems in HTML and EXCEL 144 custom Java classes 142 error after clicking Submit to generate a report 141 error due to special character violations 143 error messages for 141 error while uploading files to Oracle BI Publisher 145 errors relating to the Siebel File System or XMLP directory 143 errors while running 141 incorrect path settings in configuration
W
Web service PublicReportServiceService Web service, about 25 workflow generating reports in connected mode 20 generating reports in disconnected mode 21
X
XLIFF (XML Localization Interchange File Format), described 24 XML (Extensible Markup Language), described 24 XPath (XML Path Language), described 24 XSL (Extensible Stylesheet Language), described 24 XSL-FO (Extensible Stylesheet LanguageFormatting Objects), described 24 XSLT (Extensible Stylesheet Language Transformation), described 24
156