Report_FCR_BIP_11g_Guide
Report_FCR_BIP_11g_Guide
All rights reserved. No part of this work may be reproduced, stored in a retrieval system, adopted or
transmitted in any form or by any means, electronic, mechanical, photographic, graphic, optic recording
or otherwise, translated in any language or computer language without the prior written permission of
Oracle Financial Services Software Limited.
Due care has been taken to make this statement of work and accompanying software package as
accurate as possible. However, Oracle Financial Services Software Limited makes no representation or
warranties with respect to the contents hereof and shall not be responsible for any loss or damage
caused to the user by the direct or indirect use of this document and accompanying software package.
Furthermore, Oracle Financial Services Software Limited reserves the right to alter, modify or otherwise
change in any manner of the content hereof, without obligation of Oracle Financial Services Software
Limited to notify any person of such revision or changes.
All company and product name are trademarks of the respective companies with which they are
associated.
Table of Contents
1. Introduction............................................................................................................3
2. Prerequisites..............................................................................................................3
3. Create Data Model for New Report...........................................................................10
4. Design Layout Template…………………………………………………………………………………………….12
4.1 Format Setup………………………………………………………………………………………………….13
5. Report Build................................................................................................................22
5.1 Creating build Setup.............................................................................................22
5.1.1 Pre-requisites............................................................................................22
d. Report Build
2. Prerequisites:
1. Login to BI Publisher Server using username/password as Administrator/admin
Click on Apply
Fig 1.6
b. Group name should be in sequence G1, G2, G3,G4…. Value for source
attribute for group tab is always Q1.
For design e-text template open a word document. Save the file inside the
report data model folder (CH113.xdm). Extension of the file should be .rtf.
Name of the file should be report name (CH113.rtf).
There are two types of E-text template: fixed-position based and Delimiter-
based. In our design there are only fixed-position based template is used.
Entire E-text template design can be divided into mainly three parts :
a. Format Setup
b. Define Sequence
Fig 3.1
Fig 3.2
<END LEVEL> - Declares the end of the current level. Parameter for end
level command must be a XML element. Name of the end level must be
in capital letter.
<POSITION> - specifies the starting position of the data field in a record.
For starting element in the record, value for position is always 1. The unit
is in number of character.
<LENGTH> - specifies the length of the data field. The unit is in number of
character. If the data is less than the specified length, it is padded. If the
data is longer, it is truncated.
<FORMAT> - specifies the data type and format setting. Value for format
column can be Alpha, Number or Date. Alpha is used for any alpha
numeric values. For custom number format the syntax is
“Number,###,###,###,###,##0.00”. For other than custom number
format the syntax is “Number,###,###,###,##0.00”. For any date field
used in report header section the syntax is “Date, DD-MON-YYYY”. For
any date field used in detail section the syntax is “Date, dd/mm/yyyy”.
<PAD> - Specifies the padding style and padding character. Padding style
can be Left (L) or Right(R). Both numeric and alpha numeric character can
be used as a padding character.
<DATA> - Specifies the data source and dynamic data are represented
with the element name in capital letter. It can be static or dynamic. Static
data are represented with in single quote in order to represent any group
header or data level. Dynamic data can simply contain the XML tag name,
or it can contain expressions and functions.
<COMMENT> - Use this column to note any free form comments to the
template.
Report Header
Page Header
Group Header G1
Group Header G2
Group Footer G2
Group Footer G1
Report Footer
Page Footer
Fig 3.4
For design format data record we need to start design from detail section then
header section and finally footer section.
Group summary label should be placed near to the summary field and not at the
start of the line.
Amount Fields along with Column headers should always be right aligned.
For repeating group header section on every page '[PAGE_HEADER]' tag is used.
For making the report to be split based on any field (like branch code) then“%%
ReportName.out” is used (%% CH113.out).
Every number data type column having number format must be used with nvl ()
function.
Design Methodologies:
First design detail group (inner most group G3).
Fig 3.6
Report Header
This is the First section in format data record part. This part should execute only
once during the entire report execution. If there is no content need to display in
report header section then we need to start the level and end the level. In the
below example there is no content for report header section.
Fig 3.7
Do not use page header tag in Report header.
Page Header
This is the Second section in format data record part. This part should execute on
every page during the entire report execution. There must be minimum two
sections with report name before start Group level. First one for Report header
and second one for Page header. If there is no content need to display in page
header section then we need to start the level and end the level.
Fig 3.8
All the parameters displayed in page header must use xpath syntax. Xpath syntax
for any parameter is /reportName/ParameterName. Eg:/CH113/P_COD_BANK).
All the database element displayed in page header need not required any xpath
syntax.
For display page number in page header use the user define tag [PAGE_NO]'.
Page header and report header should start and end with solid line (Length of
this line should be equal to total length of fields in inner most group).
Starting Location for middle text ( FLEXCUBE, SAVING INTERESTS etc) in all the
lines should be calculated as (Length of the line/2) –(Length of the Text/2) . This
will give you exact starting location to centre the text. Starting position for level
bank code, branch code and op. id should be same.
Starting position for bank code and branch code should be same.
Starting position for bank name and branch name should be same.
Starting position for level run date, run time and report no. should be same.
Fig 3.9
Report Footer
This is the Second last section in format data record part. This part should
execute only once during the entire report execution.
Generally summary for the report are displayed in this section “No data found
for this report” should always be in report footer with appropriate condition
based on session id.
“No Data found for this report” should always be center aligned.
“End of Report” text should be in report footer if report is not to be split based
on any field (like Branch_code).
Page Footer
This is the last section in format data record part. This part should execute at the
end of every page during the entire report execution.
Fig 3.10
5. Report Build :
5.1 Creating build setup
5.1.1 Pre-requisites :
1. jdk1.7:
Open Command prompt, type <java –version>, this will show you current
version of JDK. Message should be like below:
java version "1.7.0_51"
Java(TM) 2 Runtime Environment, Standard Edition (build jdk1.7.0_51)
Java HotSpot(TM) Client VM (build jdk1.7.0_51, mixed mode)
If java version is not 1.7x or java is not installed at all, then install jdk 1.7.
2. Jars:
Copy ‘collections.jar’,‘i18nAPI_v3.jar’,‘ojdbc14.jar’,‘versioninfo.jar’,‘xdo-
core.jar’,'xdoparser.jar','xdoparser11g.jar' and ‘xmlparserv2.jar’ to
“D:\Reports_11g\Reports_WorkSpace\Host\TOOL_LIB\” folder.
3. Java Source:
1. GenerateXSL.java
2. GenerateMSXSL.java
3. GenerateCHINTXSL.java
4. GenerateCMBXSL.java
5. GenerateWebServiceXDM.java
6. GenerateMSXDOsAndXDMs.java
7. GenerateCHINTXDOsAndXDMs.java
8. GenerateCMBXDOsAndXDMs.java
9. BIP.properties
Note: you can directly copy Reports_11g folder under Xsltool_11g from
VSS without follow step 4.1.2.
1. Environment Setting:
D:\Reports_11g\Reports_WorkSpace\Host\RTF
D:\Reports_11g\Reports_WorkSpace\Host\RTF\eTEXT
D:\Reports_11g\Reports_WorkSpace\Host\RTF\PDF
D:\Reports_11g\Reports_WorkSpace\Host\TOOL_LIB
D:\Reports_11g\Reports_WorkSpace\Host\ws_rpt
D:\Reports_11g\Reports_WorkSpace\Host\XDM
D:\Reports_11g\Reports_WorkSpace\Host\XSL
2. Batch File:
“<BIP_11g_Home>\user_projects\domains\bifoundation_domain\config\bipubli
sher\repository\Users\~administrator”
Fig 5.1
Fig 5.2
All the six static parameter defined in the specification part of the package.
Sixteen dynamic parameter are defined in the specification part of the package.
If any report need more than sixteen dynamic parameter then we have to add
parameter in the package specification (Ex: FUNC_PARAM17).
Function “AP_GEN_REP” is defined in the body part of “PK_AP_GEN_REP”.
Fig 6.1
Fig 6.2
8. Annexure B (Handled in DB Function):
Some changes that are required in database function in order get required
output.
Changes are two type out of some are generic (changes required in all report)
and some are report specific.
Generic Changes:
Every function must have order by condition.