Beruflich Dokumente
Kultur Dokumente
10/7/2011 1
October 7, 2011 Slide 1
Pre Requisite for the Course
Architecture
Connection Setting
$ORACLE_HOME/network/admin/TNSNAMES.ora
Information :
<name of connection string > =
(DESCRIPTION=
(ADDRESS=(PROTOCOL=tcp)(HOST=<database host
name>)(PORT=<database_port>))
(CONNECT_DATA=
(SID=<sid instance database>)
)
)
Connect to Database : File Connect ( Ctrl J )
7
October 7, 2011 Slide 7
Oracle Reports Developer Interface
Object Navigator
Property Inspector
Editors
Tool palettes and toolbars
9
October 7, 2011 Slide 9
Object Navigator
Navigation F4 or double
click every object
12
October 7, 2011 Slide 12
Palettes and Toolbars
Data Model
Paper Layout
Web Source
Parameter Form
Report Trigger
Program Unit
15
October 7, 2011 Slide 15
Data Model
19
October 7, 2011 Slide 19
Web Source
Web source
To do this, you define and modify parameter form objects (fields and
boilerplate). You can select pre-defined system parameters for your
report using the Parameter Form Builder, or you can create your
own.
22
October 7, 2011 Slide 22
Report Trigger
23
October 7, 2011 Slide 23
Report Trigger
24
October 7, 2011 Slide 24
Program Unit
25
October 7, 2011 Slide 25
Report Style
Tabular Report
Form-like reports
A form-like report displays one record per page, displaying field values to the right
of field labels.
Matrix reports
29
October 7, 2011 Slide 29
Creating Report Using Wizard
Report Style
34
October 7, 2011 Slide 34
Create Report Using Wizard
36
October 7, 2011 Slide 36
Create Report Using Wizard
37
October 7, 2011 Slide 37
Create Report Using Wizard
38
October 7, 2011 Slide 38
Create Report Using Wizard
39
October 7, 2011 Slide 39
Exercise I
Create Report Using Wizard
42
October 7, 2011 Slide 42
Simple Reports (Tabular)
43
October 7, 2011 Slide 43
Simple Reports (Tabular)
44
October 7, 2011 Slide 44
Exercise 2
Create Tabular Report
45
October 7, 2011 Slide 45
Group Reports
46
October 7, 2011 Slide 46
Group Reports
Formula columns
Placeholder columns
51
October 7, 2011 Slide 51
Report using Formula
Summary computation
53
October 7, 2011 Slide 53
Report using Formula
Summary computation
54
October 7, 2011 Slide 54
Exercise 5
Report using Formula
Create Report which have Formula Column
This report includes the following formulas:
TAX, a computation that calculates the tax due for each order 7% from total
SALES_TOTAL, a computation that calculates the sum of the order total plus the
tax calculated by the first computation
Sub Total for Tax and Sales Tax for each custid
55
October 7, 2011 Slide 55
Reports With Parameter
56
October 7, 2011 Slide 56
Report With Parameter
A matrix report looks like a grid. As shown by the example report above,
it contains one row of labels, one column of labels, and information in a
grid format that is related to both the row and column labels.
63
October 7, 2011 Slide 63
Paper Size and Layout
64
October 7, 2011 Slide 64
Property Inspector
Source
Format Mask
Vertical and Horizontal Elasticity
Page Break Before, Page Break After
Page Protect
Print Object On
Format Trigger
65
October 7, 2011 Slide 65
Property Inspector
Source
Format Mask
Vertical and Horizontal Elasticity
Page Break Before, Page Break After
Page Protect
Print Object On
Format Trigger
66
October 7, 2011 Slide 66
Property Inspector
Source
Format Mask
Vertical and Horizontal Elasticity
Page Break Before, Page Break After
Page Protect
Print Object On
Format Trigger
67
October 7, 2011 Slide 67
Format Trigger
68
October 7, 2011 Slide 68
Exercise 8
Using Format Trigger
Create a format Trigger from exercise Create Report With
Parameter
The Condition if the JOB is President and Manager hide the value
of Salary
69
October 7, 2011 Slide 69
Report Template
70
October 7, 2011 Slide 70
Report Builder For Oracle E-Business Suit
Base on View which being apply the policy for VPD (virtual Private Directory)
begin
mo_global.init(v_application_code);
mo_global.set_policy_context(p_access_type, p_org_id);
end;
p_access_type : S single access code
A all access code
M multiple access code
X no access
note : for multiple access to run outside apps environment use the following initializations :
begin
fnd_global.apps_initialize(v_user_id,v_resp_id,v_resp_appl_id);
mo_global.init(v_application_code);
mo_global.set_policy_context(M',null);
end;
73
October 7, 2011 Slide 73
Operating Unit Level
Function : MO_GLOBAL.get_current_org_id
74
October 7, 2011 Slide 74
Ledger Level
Profile : $PROFILES$.GL_ACCESS_SET_ID
select ledger_id
from gl_access_set_ledgers
where acccess_set_id = :$PROFILES$.GL_ACCESS_SET_ID
75
October 7, 2011 Slide 75
Deploying The Report
in the E-Business Suite
Copying the report File
Create Parameter and data type of parameter
Register report
Register report for user access
76
October 7, 2011 Slide 76
Copying the report File
77
October 7, 2011 Slide 77
Creating Parameter and
data type of parameter
Create value set :
(R) System Administrator >Application > Validation > Set
78
October 7, 2011 Slide 78
Creating Parameter and
data type of parameter
Create validation value set for table validation type :
(R) System Administrator >Application > Validation > Set>(B)
Edit Information
79
October 7, 2011 Slide 79
Register report in
Oracle E-Business
Register The Executable :
(R) System Administrator >Concurrent > Program> Executable
80
October 7, 2011 Slide 80
Register report in
Oracle E-Business
Register The Concurrent Program :
(R) System Administrator > Concurrent > Program> Define
81
October 7, 2011 Slide 81
Register report in
Oracle E-Business
Register The Concurrent Program :
(R) System Administrator > Concurrent > Program> Define
82
October 7, 2011 Slide 82
Register report in
Oracle E-Business
Register The Parameter
(R) System Administrator > Concurrent > Program>
Define>(B) Parameters
83
October 7, 2011 Slide 83
Register report in
Oracle E-Business
Register The Parameter
(R) System Administrator > Concurrent > Program>
Define>(B) Parameters
84
October 7, 2011 Slide 84
Register report in
Oracle E-Business
Register The Concurrent Program :
(R) System Administration > Concurrent > Program
85
October 7, 2011 Slide 85
Register reports for user access
86
October 7, 2011 Slide 86
Exercise 9
Create Report in Oracle E-Business
Create Report using AR_CASH_RECEIPTS_V
Operating Unit Mode Single
Parameter : Receipt Date From , Receipt Date to, Receipt Number
(option)
Receipt Date From : xxxx Print Date : <curr date>
Receipt Date To : xxxx Receipt List
87
October 7, 2011 Slide 87
Report Debugging
EMP
DEPT
SALES
ORD
ORDPICT