E92130 01
E92130 01
E92130 01
December 2017
Copyright Notice
Oracle® Transportation Management Report Designer’s Guide, Release 6.4.3
Part No. E92130-01
Copyright © 2010, 2017, 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 error-
free. 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, then 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 about 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 unless otherwise set forth in an applicable agreement between you and Oracle. 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, except as set forth in an applicable
agreement between you and Oracle.
Documentation Accessibility
For information about Oracle's commitment to accessibility, visit the Oracle Accessibility Program
website at http://www.oracle.com/pls/topic/lookup?ctx=acc&id=docacc.
Access to Oracle Support
Oracle customers that have purchased support have access to electronic support through My Oracle
Support. For information, visit http://www.oracle.com/pls/topic/lookup?ctx=acc&id=info or visit
http://www.oracle.com/pls/topic/lookup?ctx=acc&id=trs if you are hearing impaired.
Copyright © 2010, 2017, Oracle and/or its affiliates. All rights reserved. iii
Contents
COPYRIGHT NOTICE ................................................................................. III
CONTENTS................................................................................................. IV
TABLE OF FIGURES.................................................................................... VI
TABLES...................................................................................................... VI
iv Copyright © 2010, 2017, Oracle and/or its affiliates. All rights reserved.
LAYOUT EDITOR TEMPLATES ................................................................................................... 3-13
RTF AND EXCEL REPORT LAYOUT TEMPLATES ................................................................................ 3-14
UPLOADING THE LAYOUT TEMPLATE FILE TO THE REPORT DEFINITION .................................................... 3-15
CONFIGURING LAYOUT SETTINGS FOR REPORTS ............................................................................. 3-15
Copyright © 2010, 2017, Oracle and/or its affiliates. All rights reserved. v
REPORT LOGGING ................................................................................................ 11-1
ORACLE TRANSPORTATION MANAGEMENT LOGGING ......................................................................... 11-1
BI PUBLISHER LOGGING ........................................................................................................ 11-1
Table of Figures
Figure 2-1: Reporting Architecture .......................................................................................... 2-1
Tables
Table 3-1: Report Components ............................................................................................... 3-1
vi Copyright © 2010, 2017, Oracle and/or its affiliates. All rights reserved.
Send Us Your Comments
Oracle® Transportation Management Report Designer’s Guide, Release 6.4.3
Oracle welcomes your comments and suggestions on the quality and usefulness of this publication.
Your input is an important part of the information used for revision.
Copyright © 2010, 2017, Oracle and/or its affiliates. All rights reserved. vii
Preface
This document is intended for Oracle Transportation Management clients, Oracle Transportation
Management System administrators, or Oracle Transportation Management Consultants who have an
interest in creating or configuring reports intended for use within the Oracle Transportation
Management Application.
Change History
Date Document Revision Summary of Changes
viii Copyright © 2010, 2017, Oracle and/or its affiliates. All rights reserved.
1. Overview
Oracle Transportation Management’s (OTM) report infrastructure uses Oracle Business Intelligence
Publisher as a report generation component. It enables you to extract data from OTM/GTM, create a
template to layout the data in a report, and generate the report to numerous formats. The OTM report
infrastructure also enables you to schedule reports and deliver the reports to any delivery channel
(email, printer, or store it in a content management system) required by your business. This guide is
for report consumers and report designers.
Report Consumer
A report consumer may perform the following tasks
Report Designer
A report consists of a data model, a layout, a set of properties, and a link to the report in OTM. A
report designer may perform the following tasks:
• Create the report data model, including parameters and a list of values, using BI Publisher’s
report editor.
• Design the layout template of the report. The layout can be created using different tools
depending on your output requirements, including Microsoft Word, Adobe Acrobat, Microsoft
Excel, and Adobe Flex Builder.
• Set up runtime configuration properties for the report.
• Establish a link between OTM reports to BI Publisher’s report.
It is strongly recommended that you refer to BI Publisher Installation, BI Publisher Administration
Guide, BI Publisher Report Designer’s Guide, BI Publisher User’s Guide, the OTM Administration Guide,
and the OTM Installation Guide before you proceed with the below guide.
Accessing BI Publisher
BI Publisher can be made available in a few ways.
http(s)://<host>:<port>/analytics
In this case the catalog used by OBIEE is used as the BI Publisher repository. All of the administration
activities (i.e. changing roles and permission, creating data sources, configuring printers, etc.) are
performed using ‘Manage BI Publisher’ link in the administration section of OBIEE.
Copyright © 2010, 2017, Oracle and/or its affiliates. All rights reserved. 1-1
BI Publisher Component
Install just the BI Publisher component. In this case BI Publisher can be accessed using the following
URL. This same URL can be used even in case of complete OBIEE install too.
http(s)://<host>:<port>/xmlpserver
It is recommended to perform the administration tasks, data modeling and layout editing using the
analytics URL rather than using the xmlpserver URL in case of complete OBIEE installation.
1-2 Copyright © 2010, 2017, Oracle and/or its affiliates. All rights reserved.
2. Architecture
Oracle Transportation Management supports generation of reports using an external reporting system
such as BI Publisher. Report requests are sent via HTTP to an external report server. The report server
may begin an interactive session or simply return the report content.
Report System
Reports in OTM are always associated with a report system type that defines the communication type
between OTM and the external report server. The following report systems are supported in Oracle
Transportation Management:
• BI Publisher: A SOAP request is sent to the BI Publisher service and the SOAP response is
parsed for content and errors. It includes details of the BI Publisher Server, such as report
path prefix, host, port, and user credentials. These account for format, locale, and VPD user
information.
• Other via HTTP: Use Other via HTTP for non-BI Publisher integration. It is assumed that the
report path is a URL to the report with an optional {report} parameter that is replaced with
the report path. This URL report parameter is appended as HTTP request parameters. Each
request parameter name matches the name of the report parameter. This includes setting
&P_DESIRED_MIME_TYPE=<requested MIME type>.
It is strongly recommended that you use BI Publisher as the report system type. This document
describes the information pertaining to the BI Publisher report system type.
Report Content
The report content returned by the external report server can be used in different ways within OTM.
You have to specify the report content type for each report in OTM. The following types of report
content are supported in OTM.
• Embedded: Embedded content means that report content returned by the external report
server can be distributed to a browser, email, printer, or stored in content management
systems without needing links or nested frames. You may, however, get back an HTML page
that references other URLs from the report server. If a third party generator returns
embedded content, it can be used as a replacement for BI Publisher.
Copyright © 2010, 2017, Oracle and/or its affiliates. All rights reserved. 2-1
• Browser Only: Browser-only content means that report content returned by the external
report server will be piped to a browser. Selecting this option lets you optionally include links
or fields applicable to report content. OTM does not support distribution or storing of content
for this option.
• None: This means that report content is not generated and returned by external report
server, and an alternative URL link is used to generate the report on the report manager.
These reports cannot be transactional as they do not accept business object information from
OTM. The standard Run/Schedule links to the report are not supported, nor are the reports
included on any action menu. Instead, there is a single Report link in the Third Party Reports
section of the Report Manager that directs the browser directly to the third party URL. OTM
does not add any implicit or explicit query parameters to the URL.
Report Generation
Report generation in Oracle Transportation Management can triggered as follows:
• Ad Hoc Reports: For ad hoc reports, an HTTP request is sent to the application server which
sends an HTTP request to the report server and assumes the response, if successful, contains
report content. This content is piped back through HTTP to the browser. The content may also
be distributed via email, IPP printing, and/or stored with an associated business object.
• Scheduled Reports: Scheduled report requests, or requests triggered by a workflow agent,
similarly send a HTTP request to the report server. The response content is distributed via
email, printed via IPP, or stored with an associated business object.
The scheduling of the reports has nothing to do with the scheduling capabilities of the external
report server. The scheduling is OTM’s own scheduling which is used for forming the report
requests and receiving the response.
Streamlined support is available when generating reports on a remote BI Publisher server or a server
farm. Requests are sent directly from the application server to BI publisher via a SOAP web service
call. Results or errors are returned by the service.
Important Notes
• All the report content generation only happens on the external reporting server. The support
for embedded report content generation within OTM using query and format template has
been removed.
• OTM no longer supports the use of the “Use Parameters Operator” on the Report manager.
This means reports parameters do not have operators like “Begins With”, “Same As”, or “Ends
With”. Instead it is free-form text that you enter.
• Consolidated reports are not supported.
• It is strongly recommended to use the OTM reporting capability only for transactional
reports1. All analytical reports should be generated directly on the BI Publisher server and
should not be triggered from OTM.
• By default, all reports are executed with “Use Report Parameter as Bind Variable” as Yes. This
change in behavior was done to prevent performance and security issues. Additionally, the
parameter operators give the query wild cards, make the query to hard parse, and may not go
through indexes properly.
1
A transactional report is one that is focused on a single business object. A shipment document, such
as a Bill of Lading, is an example of a transactional report.
2-2 Copyright © 2010, 2017, Oracle and/or its affiliates. All rights reserved.
3. Create a New Report in BI Publisher
Use reports to generate and print documents for internal operations, external business transactions,
or legal requirements. To meet specific requirements, you may need to create or edit reports to
capture different data, or present data in another way. This section provides general guidelines to
design new reports and use them in Oracle Transportation Management. Refer to BI Publisher Report
Designer’s Guide for more options and details.
Report Components
Each report has components that you can configure, as described in this table:
Data model Defines the data source, data structure, and Data model editor in the
parameters for the report. Multiple reports application.
can use the same data model. Each report
has one data model.
Layout Defines the presentation, formatting, and Depending on the template file
visualizations of the data. A report can have type:
multiple layouts. There are different types of
layout templates, for example Excel and • XPT: Layout editor in the
RTF. application
• RTF: Microsoft Word
• PDF: Adobe Acrobat
Professional
• Excel: Microsoft Excel
• eText: Microsoft Word
Properties Specifies formatting and other settings for Report editor in the application
the report.
Task Example
Edit the layout of Add your company logo to the report output.
a report.
Add a new layout Design a new layout template that provides less detail than the existing
to a report. template.
Edit a data model. Add two fields to the data model used by a report so you can add those
new fields to a customer-defined layout for the report.
Copyright © 2010, 2017, Oracle and/or its affiliates. All rights reserved. 3-1
Task Example
Create a new Create a new data model based on data from an external system, and
report based on a create reports using the customer-defined data model.
new data model.
Process Overview
Note: You must be assigned the BI Publisher Developer or BI Publisher Administrator role
to create or edit the reports.
1. Create the report data source. Your report data would come from the OTM operational
database or archive database.
2. Create the report entry in the desired folder on the Reports page.
3. Open the Report Editor.
4. Specify the general properties for the report.
5. Define the Data Model. Your report data may come from a SQL query, an HTTP feed, a Web
service, an Oracle BI Answers request, or a file.
6. Define the parameters that you want users to pass to the query and define lists of values for
users to select parameter values.
7. Test your data model.
8. Design the layout template.
9. If you are designing an RTF template, load the data to the Template Builder for Word. Use the
Template Builder in conjunction with the instructions in Creating an RTF Templates to build
your report layout.
10. If you are designing a PDF template, follow the instructions in Creating a PDF Templates to
build your report layout.
11. If you are using a predesigned PDF form (such as a government form), follow the instructions
in Creating a Layout from a Predefined PDF Form.
12. Upload your templates to the Report Editor.
13. (Optional) Add translations for your reports. See Translating Reports.
Data Source
On-premise customers will need to configure Data Sources to connect to the corresponding Database.
Follow the instruction at Setting Up Data Sources. A typical setup uses the JDBC connection.
You can create a new data source to read the data from OTM. It is recommended that you create two
data source as follows:
3-2 Copyright © 2010, 2017, Oracle and/or its affiliates. All rights reserved.
Username: globalreportuser
Password: <password for globalreportuser>
Notes
It is highly recommend for security reasons to use the "globalreportuser" database user, provided by
default, for the “otmoltp” data source. That user has the minimal rights needed to create and run
reports.
• The above data source connections are defined for viewing standard reports and for designing
any new reports using the globalreportuser and archive databases schema users.
• When the OTM connects with BI Publisher, it does not send the same DB credentials that are
defined above.
• For Online reports the OTM application sends the database credentials defined by the
PRIMARY_THIN data source of OTM application.
• For Offline reports the OTM application sends the database credentials defined by the ODS
data source of OTM application.
• For Archive Reports the OTM application sends the database credentials defined by the
ARCHIVE data source of OTM application.
• Since the users with which the report is designed and accessed may be different, any
customer-defined tables need to be provided with necessary grants. For example, if you are
designing an online report that involves any customer-defined table or view (other than the
table or view provided by OTM), then you will have to provide grants for the table or view for
both globalreportuser and the schema defined by the PRIMARY_THIN data source.
• You will need to provide grants for customer-defined packages if they are used in any of the
queries.
• Reports run from BI Publisher server will not have any VPD context applied.
• Reports run from OTM run with the VPD Context of the user running the report.
Report Folders
All sample reports shipped with OTM are created in the Reports folder under Shared Folders. It is
highly recommended to create a folder named “custom” under Shared Folders and create all new
reports and their corresponding data models in a separate folder for each report (like Invoice
Summary) under ”custom”. This will enable you to move the report artifacts across environments,
such as Stage to Prod. For Cloud customers, the “custom” folder is mandatory in order to ensure their
customer Reports are preserved during upgrades.
For more information on creating the folders please refer to the section Creating a Folder or Subfolder
in the chapter Managing Reports in Fusion Middleware User's Guide for Oracle Business Intelligence
Publisher.
Copyright © 2010, 2017, Oracle and/or its affiliates. All rights reserved. 3-3
Data Models
A data model defines where data for a report comes from and how that data is retrieved and how the
data is structured. If the existing data model cannot give you all the data that you need in your
report, then you can either copy and edit an existing data model or create a new one.
Notes
Below are some of points to remember about the data model components while creating the data
model.
• Event triggers will not be useful for the Logistics cloud as the customers will not have the
access to create or edit PL/SQL packages, procedures.
• Lists of values will only be useful if the customers are trying to run the reports from the BI
Publisher. The LOVs cannot be used from OTM application.
• Bursting definitions are not used by OTM for the distribution of reports to different
destinations. OTM uses its own infrastructure to distribute the reports to email and printers.
• Custom Metadata is not supported for reports integrated to OTM.
• Though we have so many options for creating the Data Sets, OTM supports only data sets
created using SQL Query.
3-4 Copyright © 2010, 2017, Oracle and/or its affiliates. All rights reserved.
Utility Packages
OTM provides a number of PL/SQL functions/procedures that can be used in BI Publisher Data Models.
Error! Reference source not found. summarizes the available procedures and functions. For more
information, please review the create_rpt scripts in OTM_INSTALL_DIR>\glog\oracle\script8.
Oracle
Transportation
Management user
role GID
Copyright © 2010, 2017, Oracle and/or its affiliates. All rights reserved. 3-5
Package Procedure/Function Description Parameters Returns
Oracle
Transportation
Management user
role GID
3-6 Copyright © 2010, 2017, Oracle and/or its affiliates. All rights reserved.
Package Procedure/Function Description Parameters Returns
Copyright © 2010, 2017, Oracle and/or its affiliates. All rights reserved. 3-7
Package Procedure/Function Description Parameters Returns
3-8 Copyright © 2010, 2017, Oracle and/or its affiliates. All rights reserved.
Package Procedure/Function Description Parameters Returns
Parameters
Adding parameters to your data model enables users to interact with data when they submit or view
reports. OTM passes standard and ad hoc parameters to the report generator 2. Error! Reference
source not found. summarizes the standard parameters passed to every report.
P_REPORT_GID The requested report External systems are responsible for mapping
the Oracle Transportation Management report
GID to a valid report. Alternatively, the report
URL can embed the mapping within a request
parameter.
P_GL_USER The user requesting the This may be used by external systems to
report enforce VPD data security on report queries.
P_LANGUAGE The ISO language code For embedded reports, XLIFF translations are
requested for the report automatically applied.
P_COUNTRY The ISO country code For embedded reports, XLIFF translations are
requested for the report automatically applied.
2
If external report generators do not support these parameters, their content type should be set to
None.
Copyright © 2010, 2017, Oracle and/or its affiliates. All rights reserved. 3-9
Name Description Comments
P_DATE_FORMAT The Oracle date format For input parameters, use the
for both input TO_DATE(:P_MY_DATE, :P_DATE_FORMAT)
parameters and output function.
fields.
For output parameters, use the
TO_CHAR(field, :P_DATE_FORMAT) function.
The above defined list of standard parameters can be used in any of the report you are designing. If
you define any of these standard parameters as a parameter for the report, you do not have to define
it as a parameter when defining the report in OTM.
You will have to define any other parameter required for the report apart from the standard
parameters as a report parameter when defining the report definition in Oracle Transportation
Management.
For sending multiple values for a parameter of the data model, please refer to FAQ section How do I
send multiple values for a parameter of the reports?
• Converting date parameters for where clause comparison. All date parameters are sent as
strings, formatted according to your date preferences. To compare one to a data field, the
designer should use Oracle’s TO_DATE function, applying the standard P_DATE_FORMAT
parameter:
where accessorial_cost.effective_date > TO_DATE(:P_EARLIEST_DATE,
:P_DATE_FORMAT)
and accessorial_cost.effective_date < TO_DATE(:P_LATEST_DATE,
:P_DATE_FORMAT)
3-10 Copyright © 2010, 2017, Oracle and/or its affiliates. All rights reserved.
• Converting timestamp parameters for where clause comparison. Like dates, timestamp
parameters are sent as strings, formatted according to your date/time preferences 3. To
compare one to a timestamp field, the designer should use Oracle’s TO_DATE function, applying
the standard P_DATE_TIME_FORMAT parameter:
where shipment.start_time > TO_DATE(:P_EARLIEST_START, :P_DATE_TIME_FORMAT)
and shipment.start_time < TO_DATE(:P_EARLIEST_START,
:P_DATE_TIME_FORMAT)
• Applying date and time preferences. Depending on the use case, designers may want to apply
user preferences to dates displayed on the final report. If so, the SQL query should convert
selected date and timestamp values using Oracle’s TO_CHAR function:
select TO_CHAR(accessorial_cost.effective_date, :P_DATE_FORMAT) …
select TO_CHAR(shipment.start_time, :P_DATE_TIME_FORMAT) …
• Accounting for UTC storage. Nearly all timestamp fields in Oracle Transportation Management
are converted to UTC before persisting to the database. A report designer who simply queries
shipment.start_time, for example, receives the time in UTC. To convert the stored time to
the application or report server’s time zone, use the vpd.gmt_offset function:
select TO_CHAR(shipment.start_time-(vpd.gmt_offset/24), :P_DATE_TIME_FORMAT)
…
• Accounting for UTC storage. To compare timestamp fields to some offset of current time,
designers can either convert the field or use vpd.gmt_sysdate. This function returns the
current time in UTC. E.g. to query shipments starting in the next three days:
select shipment.gid
where shipment.start_time > vpd.gmt_sysdate
and shipment.start_time < vpd.gmt_sysdate+3
Layouts
The layout determines what and how data is displayed on report output. Each report has at least one
layout template. This topic describes the following aspects of report templates:
• Layout templates
• Layout template types
• Overall process of managing layouts
• Deleting layout templates
Layout Templates
To configure a layout, you edit the layout template, which:
There are a few types of template files to support different report layout requirements.
3
Note that the reporting has never applied user time preference. Time preference is assumed to be
HH24:MI:SS.
Copyright © 2010, 2017, Oracle and/or its affiliates. All rights reserved. 3-11
• RTF: Rich text format (RTF) templates created using Microsoft Word.
• XPT: Created using the application's layout editor, these templates are for interactive and
more visually appealing layouts.
• eText: These templates are specifically for Electronic Data Interchange (EDI) and electronic
funds transfer (EFT) information.
You can also create and edit other types of templates using Adobe PDF, Microsoft Excel, Adobe Flash,
and XSL-FO.
1. Copy the original report and save the customer-defined version in Shared Folders - custom in
the business intelligence (BI) catalog. You create or edit templates for the customer-defined
copy of the report.
Tip: You can use the Customize option if the original is a predefined report.
2. Review report settings for online viewing.
3. Generate sample data for the report.
4. Edit or create the layout template file.
5. Upload the template file to the report definition. Skip this step if you're using the layout editor.
6. Configure the layout settings.
Deleting Layout Templates
To remove a layout template for a report:
1. Select your data model in the business intelligence (BI) catalog and click Edit. Alternatively:
a. In the catalog, find the report to generate sample data for and click Edit.
b. Click the data model name in the report editor.
2. In the data model editor, click View Data.
3-12 Copyright © 2010, 2017, Oracle and/or its affiliates. All rights reserved.
3. Enter values for any required parameters, select the number of rows to return, and click View.
4. To save the sample data to the data model, click Save As Sample Data.
5. If you're designing a .rtf template, click Export to save the file locally.
6. Save the data model.
Saving Sample Data from the Report Viewer
For reports that are enabled for online viewing, you can save sample data from the report viewer:
For reports that are enabled for scheduling (not necessarily as a scheduled process), you can save
sample data from the scheduler:
Prerequisite
Make sure that sample data is generated from the data model that your report is using.
1. Select the report in the business intelligence (BI) catalog and click Edit.
2. In the report editor, click Edit to update a template.
Or, click Add New Layout and select a template type under the Create Layout section.
3. Create or edit the layout.
4. Click Save to save the layout to the report definition.
Copyright © 2010, 2017, Oracle and/or its affiliates. All rights reserved. 3-13
RTF and Excel Report Layout Templates
You can use Microsoft Word or Microsoft Excel to create or edit RTF and Excel layout templates, in
addition to the layout editor in the application. If you use Word or Excel directly, you must download
and install the appropriate add-in so that the Microsoft application has the features you need to design
report layouts.
Note: If you're designing a new layout for your report, consider using the layout editor
instead unless you are an experienced layout designer.
1. Open the Reports and Analytics work area, or the Reports and Analytics pane if available in
other work areas.
2. Click the Browse Catalog button.
3. Click Home.
4. Under the Get Started pane, click Download BI Desktop Tools.
5. Select the add-in for the type of template you're working with.
• Template Builder for Word: RTF templates
• Analyzer for Excel: Excel templates
6. Save and then run the installer.
Creating and Editing RTF Report Layout Templates: Procedure
An RTF template is a rich text format file that contains the layout instructions to use when generating
the report output. Use Microsoft Word with the Template Builder for Word add-in to design RTF
templates.
Prerequisites
Install the Template Builder for Word add-in, and generate sample data.
An eText template is an RTF-based report template that is used for Electronic Funds Transfer (EFT)
and Electronic Data Interchange (EDI). The template is applied to an input XML data file to create a
flat text file that you transmit to a bank or other organizations. Use Microsoft Word to create or edit
eText templates.
3-14 Copyright © 2010, 2017, Oracle and/or its affiliates. All rights reserved.
File Format
Because the output is for electronic communication, not printing, you must follow specific format
instructions for exact placement of data on the template. You design eText templates using tables.
You must set up special handling of the data from the input XML file. This table describes the two
levels of handling and where you declare the corresponding commands.
Sequencing
Record Sorting Declare functions in command rows, in the same table as the data.
1. Select your report in the business intelligence catalog and click Edit.
2. In the report editor, click View a list.
3. In the table that lists the layouts, click Create.
4. Under Upload or Generate Layout, click Upload.
5. In the Upload Template File dialog box:
a. Enter a layout name.
b. Browse for and select the layout template file that you created or edited.
c. Select the template file type.
d. Select the locale, which you can't change once the template file is saved to the report
definition.
e. Click Upload.
6. Save the report definition.
Configuring Layout Settings for Reports
As part of creating or editing layout, you can set report properties related to layout. These settings
determine, for example, which layouts users can choose from when viewing or scheduling the report.
The settings apply only to your report.
Copyright © 2010, 2017, Oracle and/or its affiliates. All rights reserved. 3-15
Setting Layout Properties
1. Select your report in the business intelligence catalog and click Edit.
2. In the report editor, click View a list.
3. Set layout properties, some of which are described in this table.
Table 3-6: Layout Properties
Setting Usage
Output Depending on the requirements for a report, you may want to limit the output
Formats file formats (for example. PDF or HTML) that users can choose. The available
output formats vary depending on the template file type.
Default When multiple output formats are available for the report, the default output
Format format is generated when users open the report in the report viewer.
Default When multiple layouts are available for the report, you must select a default
Layout layout to present it first in the report viewer.
Active Active layouts are available for users to choose from when they view or
schedule the report.
View Online Select this check box so that layouts are available to users when they view
the report. Otherwise, the layout is available only for scheduling the report.
For more information on designing the Layouts refer to Oracle® Fusion Middleware Report Designer's
Guide for Oracle Business Intelligence Publisher.
3-16 Copyright © 2010, 2017, Oracle and/or its affiliates. All rights reserved.
4. Use BI Publisher Report in OTM
This section provides general guidelines to use the newly created report in Oracle Transportation
Management. You would need to refer to Oracle Transportation Management online help topics about
Reports for more options and details.
Note: The Report System is automatically configured for Cloud customers, so this section is
not relevant to Cloud customers.
Setup
Note: You must be assigned the OTM Administrator role to use the newly created report in
Oracle Transportation Management.
1. Create the report systems that represent the connection to BI Publisher Server.
2. Create the report, by specifying report details like content type, report system, report URL,
default format type, report parameters, and other details.
3. Test your Oracle Transportation Management Report.
Report System
The report system is used to define the BI Publisher host, port, user, password, and report path prefix
common to all reports sent to that host. Oracle Transportation Management provides a report system
named “DEFAULT”. This report system uses property macros to substitute property values at run time.
These properties facilitate easy move from Stage to Prod BI Publisher instances. The following
properties should be configured:
• glog.bip.externalFarm.host=
• glog.bip.externalFarm.port=9704
• glog.bip.externalFarm.user=bipreportuser
• glog.bip.externalFarm.password=
• glog.bip.externalFarm.reportPath=/
Report
The report is used to define the link to BI Publisher report from Oracle Transportation Management by
specifying the report path. Additional details that are specified include report system, content type,
display format type, report parameters, and other details. You can use “Select via UI” to allow the
report to explicitly run as an OTM user.
Report Parameters
Oracle Transportation Management passes standard and ad hoc parameters to the report generator 4.
For more details on the standard parameters please refer to the Parameters section under the Data
Models section.
The report designer may add additional, ad-hoc parameters to a report using the Report Parameters
grid of the Report Manager. Before submitting a report request, you are presented with a list of these
additional parameters and must enter information for any marked as mandatory. 5
4
If external report generators do not support these parameters, their content type should be set to
None.
Copyright © 2010, 2017, Oracle and/or its affiliates. All rights reserved. 4-1
For external reports other than BI Publisher, report parameters are added as HTTP request parameters
to the URL.
Data Security
Oracle Transportation Management implements data security via Oracle’s Virtual Private Database
(VPD). Given a user and their role, the system limits row access to tables. The default VPD policies
implement a domain model, where a user’s domain determines their read/write privileges. Specific
implementations, however, can enhance this model to restrict access based on other columns and
grant access across domains.
When running BI Publisher reports from within OTM, VPD security is automatically enforced by the
system. The database credentials passed to the BI Publisher web services has the user and role in
context, applying VPD policies on any queries that are executed for the report.
External report generators other than BI Publisher, however, have two options regarding data
security:
• Suppress it. The standard glogdba database user requires a VPD context. If a report logs in as
glogowner, however, VPD is suppressed. The report queries have access to all data. This may
be appropriate for transactional reports where the data is restricted to a particular business
object. Alternatively, each report can implement its own data security model independent of
Oracle Transportation Management.
• Set the user context before issuing any queries. The GLOGOWNER.VPD package provides the
following procedures and functions to set the context for VPD:
procedure set_user (user VARCHAR2);
procedure set_user_r (user VARCHAR2, user_role varchar2);
By passing the standard P_GL_USER (and optionally P_ROLE_ID) parameter to one of these functions,
VPD returns the proper rows.
5
Note that transactional reports have at least one mandatory parameter matching the business object
type. If requested from a transactional manager, the system automatically populates this parameter.
E.g., a shipment document with one mandatory P_SHIPMENT_ID parameter with a Query Name of
BUY_SHIPMENT can be selected from the shipment manager. The P_SHIPMENT_ID parameter is
automatically populated with the relevant shipment GID.
4-2 Copyright © 2010, 2017, Oracle and/or its affiliates. All rights reserved.
5. Sample OTM Reports
Some sample reports are included as part of the OTM software installation. Since Oracle
Transportation Management does not automatically install BI Publisher, loading the sample reports
into the BI Publisher repository is a post-installation process. The sample reports are located in the
OTM installation in the following directory, where <otm_install> is the directory where OTM is being
installed:
<otm_install>/otm/
The BI Publisher catalog utility enables administrators and report developers to import Reports into
the BI Publisher catalog. For more details on this subject, please refer to the “Moving Catalog Objects
between Environments” section of the Oracle Fusion Middleware Administrator’s Guide for Oracle
Business Intelligence Publisher. The following section gives sample instructions used to do the import
the reports.
If the Oracle Transportation Management app server and BI Publisher report server are on two
different machines, make sure to copy the report artifacts from the app server to a folder on the BI
Publisher report server, e.g. temp_otm_reports.
Copyright © 2010, 2017, Oracle and/or its affiliates. All rights reserved. 5-1
6. Export and Import Reports to BI Publisher Repository
This chapter provides general guidelines on how to move report between environments. One can use
the same guidelines to import the sample reports. There are two major artifacts for any report once
completely designed.
Assume [BI Publisher Home] to be the directory where BI Publisher is installed. The following steps
and commands are given for Linux machine with bash shell.
If you do not want to store this information in the configuration file, then at the time of
import/export you can also set the bipurl, username, and password as parameters in the
command line to overwrite values defined in xmlp-client-config.xml.
7. Add below variables to your environment
export BI_EXPORT_HOME=[BI Publisher Home]/BIPCatalogUtil
export PATH=$BI_EXPORT_HOME/bin:$PATH
export BIP_LIB_DIR=$BI_EXPORT_HOME/lib
export BIP_CLIENT_CONFIG=$BI_EXPORT_HOME/config
Copyright © 2010, 2017, Oracle and/or its affiliates. All rights reserved. 6-1
Add the above commands into your .bashrc file if you are using a batch shell, so that every
time a user logs into a shell, these commands are automatically executed.
Export Command
BIPCatalogUtil.sh -exportfolder catalogpath=/[folder-name-to-export]
basedir=[dest-folder-to-place-exported] subfolders=true extract=true
overwrite=true
Import Command
BIPCatalogUtil.sh -import basedir=<temp_otm_reports> subfolders=true
overwrite=true
For more information on this please refer to the section Performing Tasks on Catalog Objects and
Downloading and Uploading Catalog Objects in the chapter Managing Objects in the BI Publisher
Catalog in Oracle® Fusion Middleware User's Guide for Oracle Business Intelligence Publisher.
6-2 Copyright © 2010, 2017, Oracle and/or its affiliates. All rights reserved.
7. Intermediate File Persistence
During report generation, content and report files are written to the disk before being distributed. By
default, these files have a short lifespan. Once the report is generated, the content file is deleted.
Once the report is distributed, the report file is deleted. For troubleshooting, it may be useful to view
these files. They can be persisted via the following properties:
Copyright © 2010, 2017, Oracle and/or its affiliates. All rights reserved. 7-1
8. Printing Reports
Oracle Transportation Management supports the printing of reports to an Internet Printing Protocol
(IPP) compliant printer with specific support for a Common UNIX Printing System (CUPS) printer.
• The printer must support printing over the internet for which there are two options:
• The printer is IPP (Internet Printing Protocol) enabled i.e. it natively supports printing over
the internet.
• If the printer doesn't support printing over the internet which can be the case for older
printers, you need to set up an IPP print server at your location. Examples of IPP printer
servers are CUPS (Common UNIX Printing System) and Windows IPP Print Server. For
information on setting up CUPS or Windows IPP print servers and connecting network
printers to them, refer to the CUPS or Windows IPP software vendor documentation.
Note: It is strongly recommended that a print server (CUPS or Windows) be used
instead of connecting directly to the printer. This type of setup ensures that the printer
is IPP enabled and that it can accept and process cloud-based print requests. A print
server also allows for easier debugging through the availability of server level logs.
Note: CUPS refers to setting up a CUPS print server on site at your facility as a
gateway to a printer. We use the CUPS print server URL to configure that printer in
Oracle Business Intelligence Publisher (BI Publisher). It does not refer to setting up a
CUPS server within BI Publisher which is no longer supported as of Release 9 (see Doc
ID 2089912.1).
• The print server must present a valid SSL certificate signed by a trusted CA (Certificate
Authority) such as GoDaddy, Verisign etc. Self-signed SSL certificates are NOT supported.
• The on-site printer must be accessible from the Oracle Public Cloud via the internet over a
secure connection. If there is a firewall that is protecting customer internal servers, then a
firewall policy/rule needs to be configured to allow incoming traffic to the onsite print server.
For list of trusted Oracle IP addresses to add to white list for your firewall, please open a
Support Request.
• The print server host must be registered with the McAfee Site Address Filter. Please review the
Trusted URL Registration section of the Oracle Logistics Cloud Getting Started Guide for more
details.
• The printer should be set up with the authentication option enabled.
• The printer should be using either Basic or Digest authentication schemes. NTLM is currently
not supported.
If you are going to use a printer running through CUPS, your system administrator needs to add the
printer to the CUPS server. Once your CUPS printer is set up, complete the following:
Copyright © 2010, 2017, Oracle and/or its affiliates. All rights reserved. 8-1
1. Click Sign In.
2. Click Administration.
3. Click the Printer tab.
4. Click Add Server.
5. For a CUPS or direct IPP printer:
6. Enter the Server Name. You will need to enter this into OTM later, so make note of it.
7. Enter the URI for your server. For CUPS the form is “ipp://<CUPS host>:631/printers/<printer
name>
IPP uses the TCP port 631 for printing, so any firewalls between the client and the server must
be configured to allow bi-directional traffic on that port. Please consult your network
administrator if you think any configuration changes are necessary.
8. Check with your system administrator for any Filter requirements.
9. It is required to use SSL Encryption. Select SSL for the Encryption Type in the Security
section.
10. It is also required to protect the Printer/Print Server using User Authentication. Please enter
the corresponding details in the Username, Password, and Authentication Type fields. The
Authentication Type must be Basic or Digest.
11. The Proxy Server needs to be configured for the Printer. Open an SR to request Cloud
Operations to configure the Proxy Server settings for BI Publisher. In a future release, these
will automatically be configured.
12. Click “Apply”.
A Direct IPP printer is set up the same way except for one difference. Instead of going through the
CUPS server, you set up the URI to point to the server and IPP port directly. The URI would be entered
in the following format, “ipp://<PRINTER_FQDN>:631”
8-2 Copyright © 2010, 2017, Oracle and/or its affiliates. All rights reserved.
Configure Printer in OTM
After confirming that printing is working from within BI Publisher, you need to configure OTM to use
the printer defined in BI Publisher.
Option 2
1. Navigate to Shipment Management > Shipment Management > Buy Shipments.
2. Click Search.
3. Select the check box next to a shipment.
4. Click Actions > Business Process Administration > Reports > Domestic Packing List.
5. Enter the following:
a. Report Format: PDF
b. Delivery Method: Print
c. Printer ID
6. Click Submit.
You should get an Information screen saying, “The report print request has been submitted to
<YOUR_PRINTER>”.
Copyright © 2010, 2017, Oracle and/or its affiliates. All rights reserved. 8-3
Enable OTM Print Logging
Additionally you can turn on some printing logging as follows:
1. Navigate to Configuration and Administration > Power Data > General > Log Files.
2. Select a Type of System.
3. Click Search.
4. Edit the SYSTEM log.
Note: To edit the SYSTEM log you must be logged into OTM as DBA.ADMIN.
View Logging
1. Open any Process Management screen. For example, Shipment Management > Process
Management.
2. Under Logs, click System.
3. In the From field, change the time to when you submitted the first print job.
4. In the Log field, select SYSTEM.
5. In the Severities field, leave default setting.
6. Select the following IDs:
a. Print
b. Print Debug
c. PrintDetails
7. Leave the Top Level Process field blank.
8. Click View Results.
8-4 Copyright © 2010, 2017, Oracle and/or its affiliates. All rights reserved.
Debugging Using CUPS Print Server
It is highly recommended to use a CUPS printer server. Using a print server will make it easier to
diagnose issues since you can view the status of the printer and printer jobs.
You will see a list of CUPS printers and ancillary information. Look for the “Status”.
3. Click on your printer in the queue Name column.
4. Click Show Active Jobs.
5. Scroll to the bottom of the page, and you should see a job “spooling”.
If your job spools it’s in the printer queue which indicates that your job has been recognized and is
being processed.
Yes. Reports can be viewed and printed on a local printing using a web browser.
What is the standard Protocol for printing directly from the Oracle Logistics Cloud?
Does direct printing from the Oracle Logistics Cloud require an SSL certificate from a
Certification Authority?
Yes, the print server must present a valid SSL certificate signed by a trusted certificate authority such
as GoDaddy.
Can a self signed SSL certificate be used, rather than a certificate from a Certification
Authority?
Can the print server be the printer itself, or, must a print server be, for example, a CUPS
(Common UNIX Printing System) server?
The IPP print server can be the printer itself. Newer printers already have built in IPP over HTTPS
support. Consult the printer’s user guide for specific setup requirements and availability.
If the printer does not natively support IPP over HTTPS, then a CUPS server (or print server that
supports IPP over HTTPS) can be used. For CUPS (or similar) based setup, ERP Cloud BI Publisher will
connect to the print server, and then the print server would connect to the printer. All required setups
will need to be completed and tested by Cloud customers.
Yes. For cloud customers, those are enforced by default and should not be modified by the customer.
Copyright © 2010, 2017, Oracle and/or its affiliates. All rights reserved. 8-5
You can run any report and redirect the print output to the newly setup printer. If the job completes
successfully and the printer receives the print request then the setup is good.
Can we use client side certificate instead of username/password for cloud printer
authentication?
No. Supported authentication methods are basic or digest both of which use username/password.
Are there any troubleshooting tips in case the print request doesn’t go through?
Verify the print server logs to check if it received the print request. Refer the IPP print server, CUPS or
Windows IPP software vendor documentation for more details on where to find the logs.
In case you are still unable to receive the print requests on the print server from Oracle cloud, please
log an SR to engage Oracle Support in debugging any setup issues on Oracle cloud. When logging the
SR, please provide the following details:
8-6 Copyright © 2010, 2017, Oracle and/or its affiliates. All rights reserved.
9. BI Publisher 10g Migration
Oracle Transportation Management provides the following reports as the sample reports.
• BILL_OF_LADING
• DOMESTIC_PACKING_LIST
• INVOICE
• DEMURRAGE_FINANCIAL
• AES_FILING
• CUSTOMER_COMMERCIAL_INVOICE
• PICKUP_SUMMARY
• AWARD_BY_CARRIER
• AWARD_BY_LANE
• BID_ROUND_STATUS
• LTL_LANE_SUMMARY
• LTL_SHIPMENT_HISTORY
• MANUAL_AWARDS_REPORT
• OUTLIER_BIDS
• SAVINGS_BY_LANE
• WINNING_VS_OTHER_BIDS
These reports are available for new installations and systems that were migrated from a version prior
to 6.4. However, these reports need to be loaded into the BI Publisher instance installed by the
customer.
In addition to migrating the report itself, it will be necessary to modify the existing Report Registration
in Oracle Transportation Management. The follow changes should be made to have a report execute
using the external BI Publisher instance.
Copyright © 2010, 2017, Oracle and/or its affiliates. All rights reserved. 9-1
4. Select the Report System created previously. See BI Publisher Configuration section for more
detail.
5. Specify the Report Path corresponding to the Report in BI Publisher.
6. Click Finish.
9-2 Copyright © 2010, 2017, Oracle and/or its affiliates. All rights reserved.
10. Report Storage and Cleanup
Report Storage
Depending on your use of reports, you may want to adjust how temporary report files are stored.
These files are used to provide report content to emails, printers and the browser and are managed
via common Store functionality. A store represents a stream of data:
• In memory: If the data is generally small, a customer can configure the data to be stored in
memory. This increases performance at the cost of memory usage.
• On disk where the caller determines the data lifespan: This is referred to as an 'owned'
cache as the items are owned by the caller. An owned cache is typically used when the data
has a short, deterministic lifespan; or to allow debugging of persistent content. Owned caches
leverage the standard glog.util.cache.TemrporaryFileCache, which in turn extends our
common glog.util.cache.OwnedCache.
• On disk in an LRU file cache: This store leverages the standard
glog.util.cache.TemporaryFileLRUCache, which in turn extends our common
glog.util.cache.LRUCache.
The following list contains properties that control the report store. Note that the store can be
monitored via App-Tier Caches accessible as DBA.ADMIN under Technical Support. The cache name is
Reports.
• glog.bipreports.report.store
• glog.bipreports.report.path
• glog.bipreports.report.prefix
• glog.cache.Reports.capacity
Report Persistence
Regardless of the store type, most report use cases are synchronous. A user requests a report from
the browser and either receives a synchronous HTTP response or immediately generates an email with
a report attachment. In both these cases, caller code can remove the content or report as soon as it's
used. Only when reports are retrieved asynchronously by a user via an email link does a report store
truly need to manage generated files.
The following table details the lifespan of reports. For each use case, you can suppress the automatic
removal of data and rely on the store or periodic cleanup (see below) to limit file growth. This is
recommended for asynchronous reports but may also be useful for debugging of synchronous reports.
Copyright © 2010, 2017, Oracle and/or its affiliates. All rights reserved. 10-1
Use Case Report Removal Suppress Removal With Default
• If Oracle Transportation Management application servers fail or are cycled, the owned and LRU
stores lose all state. Any files currently on disk will remain.
• If you choose to suppress report removal for debugging, files can build up on disk.
To address these cases, the report engine includes a cleanup poller that wakes up periodically and
scans the specified directories for files older than a given threshold. These files are then removed.
Properties include:
• glog.bipreports.cleanup.type=report
• glog.bipreports.cleanup.report.path=<directory to scan>. This defaults to
$glog.bipreports.report.path$
• glog.bipreports.cleanup.report.files=<comma-delimited list of file wildcards to clean. See
WildcardFileSearch for syntax.>. This defaults to report-*, *.html, *.rtf, *.pdf, *.xls.
• glog.bipreports.cleanup.report.threshold=<# of days old a file must be for cleaning>. This
defaults to 30 days.
• glog.bipreports.cleanup.report.frequency=<# of minutes between cleanup checks>. This
defaults to 360 minutes.
10-2 Copyright © 2010, 2017, Oracle and/or its affiliates. All rights reserved.
11. Troubleshooting
When generating a report, errors can occur in BI Publisher. If fatal, an exception is thrown to Oracle
Transportation Management. For an ad-hoc report request, the exception is shown to the user; for
scheduled or automated reports, it is written to the exception log.
Report Logging
Two types of logging are available to diagnose report issues:
• Oracle Transportation Management logging. The Report log ID outputs the major steps of
report creation. The ReportDetails log ID provides more detailed information.
• BI Publisher logging. The BI Publisher engine maintains a separate logging subsystem to track
data generation and transformation progress. Please refer to BI Publisher documentation for
more details on this topic
Oracle Transportation Management Logging
As mentioned above, you can enable logging in Oracle Transportation Management by enabling the
Report and ReportDetails log IDs. This logging will can give the details of which report is being
accessed and the SOAP request being posted to the BI Publisher external server web service.
BI Publisher Logging
You can enable detailed logging on the BI Publisher server to track what is being done by BI Publisher
while generating the report. For more information on the type of log files, the categorization of the log
levels, and configuration of the log files refer to chapter 12 Diagnostics and Performance Monitoring in
the administrators guide at Oracle® Fusion Middleware Administrator's Guide for Oracle Business
Intelligence Publisher.
Copyright © 2010, 2017, Oracle and/or its affiliates. All rights reserved. 11-1
b. Take the Report path prefix defined in the report system into consideration since the
absolute path provided for the web service will be a concatenation of the report path
prefix and the absolute path given in the report definition.
c. Define report parameters. The parameter name should match the parameter name
defined for the data model in BI Publisher.
Which database user is used for generating reports?
The application uses the database user pointed by the PRIMARY_THIN data source defined in OTM for
generating online reports. Typically it is glogdba.
For generating offline reports which connect to a replicated offline database, the application uses the
database user pointed by the ODS data source defined in OTM.
For generating archive reports which connect to an archive schema, the application uses the database
user pointed by the ARCHIVE data source defined in OTM.
Another important point to note here is the reports run from the BI Publisher server will not have any
VPD context applied. Reports run from OTM run with the VPD Context of the user running the report.
I am upgrading from pre 6.4 releases to 6.4.2. What are the steps I need to follow?
In pre 6.4 releases, reports are generated in two ways:
A report definition is linked to a data template (query template) and the format template. Using the
Java API provided by the BI Publisher we used to generate the reports with in OTM. This was available
from release 6.1 to 6.3.7.
In this case we used to have a data template or query template which used to generate the structured
data i.e. xml data and a format template which defines the layout of the report.
When upgrading from 10g to 11g reports one will have to understand the changes made to the report
architecture. The following link provides more details on the upgrade from 10g to 11g.
https://docs.oracle.com/middleware/11119/core/FUGBI/upgrade_bip.htm#FUGBI308
Follow the steps given under section 6.5.2 for migrating the data templates to data models given in
the below link
https://docs.oracle.com/middleware/11119/core/FUGBI/upgrade_bip.htm#FUGBI589
In step 4, please use the Upgrade E-Business Suite Data Template Directory option to specify the path
of the data templates to be upgraded.
You can use the same format template as before provided the path to access the elements are same
as before.
Using the data model and format template you will have to create a BI Publisher 11g report.
Integration is provided with a standalone BI Publisher report server which has the report artifacts
(data template and format template). OTM will call into the stand alone server using web services and
get the report.
11-2 Copyright © 2010, 2017, Oracle and/or its affiliates. All rights reserved.
The following link provides details on BI Publisher upgrade.
https://docs.oracle.com/middleware/11119/core/FUGBI/upgrade_bip.htm#FUGBI308
Can I use the data template and format template I have in pre 6.4 releases for
reports in 6.4.2?
No. Please follow the steps outlined in the section “I am upgrading from pre 6.4 releases to 6.4.2.
What are the steps I need to follow?”
Why do I get Invalid format requested error when trying to view selected format of
the report?
After designing the report and registering it with OTM, when trying to generate the report for a
particular format, if there is an error like:
oracle.xdo.webservice.exception.OperationFailedException:
PublicReportService::generateReport for reportAbsolutePath
[/Reports/pickup_summary/pickup_summary.xdo] failed: due to
oracle.xdo.servlet.data.DataException: Invalid format requested: excel2000
[000717] Invalid format requested: excel2000
This is because the report is not enabled for the format being requested.
https://docs.oracle.com/middleware/12212/bip/BIPDM/GUID-FD8752C2-D398-4F8F-BB80-
7C1347021FA4.htm#BIPDM310
When defining a new parameter enable the check box for Text field contains comma-separated values.
Copyright © 2010, 2017, Oracle and/or its affiliates. All rights reserved. 11-3
Please follow the steps as outlined in chapter 6 of this guide.
If analytical reports are configured, these reports can return a large amount of data which in turn can
occupy the space in the java heap and can lead to OutOfMemoryError.
While OTM can receive a small amount of data for the transactional reports, it may not have enough
space to handle the large amount data that can be generated in case of analytical reports.
It is recommended that you use transactional reports within OTM for this reason. The analytical report
can still be used by leveraging the BI Publisher report server capabilities.
Use Business Process Automation > Reporting > View Completed Jobs to view the report jobs
which were generated during the scheduled period.
Note that the scheduling that happens in the application has no relation with the scheduling that BI
Publisher provides. OTM uses the BI Publisher server only to send the report generation SOAP
requests.
Scheduled reports are not being received as emails, what should I check?
A scheduled report, even though it got generated, can back up on the mail queue in the application if
the mail queue does not have enough threads to process the queued items. The report once generated
will be queued up for email processing. The queue used for this is “transport – SMTP”. Check the
number of threads given for this queue and check the backlog on this queue. If there are backlog
items on the queue, please increase the number of threads for this queue using the following
property.
glog.process.threadGroup.mail
By default it has a value of 1. Please increase this value but do not increase it to a high value which
will result in burdening of the mailing system.
Even if the security level allows you to attach, there is a limit of size of the reports which can be
attached. The property that governs this is
glog.notify.report.maxPdfSize
glog.mail.maxContentSize
11-4 Copyright © 2010, 2017, Oracle and/or its affiliates. All rights reserved.
This property defines the maximum content of the email size. So if you decide to increase the first
property you should check that the limit does not exceed the second property.
Why does the report give me the same output for the same set of parameters
even though I change the user?
When a report is designed in BI Publisher, you need to pay attention to the caching properties of the
reports. If the caching is enabled when you have the same set of parameter the report can be cached
for a certain period of time. Please refer to the following link for more details.
https://docs.oracle.com/middleware/12212/bip/BIPRD/GUID-921F37EA-3956-4244-BFBF-
2B942DF10E22.htm#BIPRD2125
Though it is a different application user, the report has no way of telling that it is different user unless,
the user is also defined as one of the report parameters.
Copyright © 2010, 2017, Oracle and/or its affiliates. All rights reserved. 11-5
12. Additional Resources
Oracle Business Intelligence Suite Enterprise Edition Documentation Library:
• http://download.oracle.com/docs/cd/E10415_01/doc/nav/portal_booklist.htm
A BI Publisher developer's diary
• http://blogs.oracle.com/BIDeveloper/
BI Publisher Forum
• http://forums.oracle.com/forums/forum.jspa?forumID=245
Copyright © 2010, 2017, Oracle and/or its affiliates. All rights reserved. 12-1
13. Appendix: General Properties
See the “Advanced Configuration: Customer-defined Properties” chapter in the Administration Guide
for instructions on how to manage reserved properties.
Default: $temp.dir$/bipublisher/
glog.bipreports.cleanup.report.files=<comma-
delimited list of file wildcards to clean.
glog.bipreports.cleanup.report.threshold=<# of
days old a file must be for cleaning>.
glog.bipreports.cleanup.report.frequency=<# of
minutes between cleanup checks>.
Default: $temp.dir$
(e.g. /opt/otm-61-wl/temp)
Default: /bipublisher/temp/
Copyright © 2010, 2017, Oracle and/or its affiliates. All rights reserved. 13-1
13-2 Copyright © 2010, 2017, Oracle and/or its affiliates. All rights reserved.