SlideShare a Scribd company logo
1 of 23
Course Title

: Reports 6i
Common report styles required
in a business report
Various report destinations
Main Report executables

Main components of Report Builder
• Main objects in a report

Different methods of building the report query
• Live Pre-viewer
– viewing of a reports output format without printing
it.
– It also provides a set of tools to allow the format of
the report to be altered.
– These include:
•
•
•
•
•

Precision of numbers
Left, right and centering of text
Bold, underline, italic options
Font type and size
add dollar signs, change colors etc.
• Add page number and current date to a report
– Create a report using the report wizard with no
template.
– Display the report in the Pre-Viewer.
– Click on the menu option insert

–Click on the date option and select the position of the
date and the format of the date required.
–Click on the ‘Page Number’ option and select the
page number type and location.
Report Columns

• Database columns

– Columns associated with the columns retrieved from the
database by the query.

• Summary columns
– Summarizes another column and may recalculate for each
group.

• Formula columns
– Uses a formula written in PL/SQL to calculate a value from one
or more other columns
Example
Function salcomm return Number is
Begin
Return(:sal+nvl(:comm,0));
End;

• Placeholder columns
– Holds a value that has been calculated and placed into by
formula column.
/* Does this child record compare to the max sal
for the dept ? If yes, and placeholder already
set (i.e. we have more than one max sal) set the
placeholder to the concatenated string. Else
set the placeholder to the employee's name */
if (:sal = :max_dept_sal) then
if (:highest_paid_emp <> ' ') then
:highest_paid_emp := :highest_paid_emp||' and ' ||:ename;
else
:highest_paid_emp := :ename;
end if;
end if;
return (:highest_paid_emp);
end;
Adding Charts
Using Chart Wizard
Report Runtime Parameter Form
Triggers Categories
• Report triggers
–
–
–
–
–

After Parameter Form trigger
After Report trigger
Before Parameter Form trigger
Before Report trigger
Between Pages trigger

• Data triggers
– Formula Triggers
– Validation Triggers
PL/SQL Editor
• After Parameter Form trigger :
--------------------------------• Example :Build a dynamic where clause
Function AfterPForm RETURN BOOLEAN IS
BEGIN
if :P_CUSTOMER is NULL then
:p_where_clause:= ' ';
else
:p_where_clause := 'where id >= :p_customer';
end if;
return(true);
end;
Query Syntax :
----------------SELECT ID,NAME FROM CUSTOMER &P_WHERE_CLAUSE
ORDER BY NAME
• FORMAT TRIGGER :
-------------------------EXAMPLE : HIDE FIELDS DYNAMICALLY
FORMAT TRIGGER ON SALARY FIELD
FUNCTION PAY_CLERKS_SEE_THIS RETURN BOOLEAN
IS
BEGIN
IF STANDARD.USER = 'PAY_CLERK' THEN
RETURN(TRUE);
ELSE
RETURN(FALSE);
END IF;
END;
EXAMPLE : CONDITANALLY SET THE ATTRIBUTES if
salary equals 2000.
FORMAT TRIGGER ON FIELD salary
FUNCTION sal_mask RETURN BOOLEAN IS
BEGIN
IF :SALARY = 2000 THEN
SRW.ATTR.MASK :=SRW.WEIGHT_ATTR +
SRW.STYLE_ATTR +
SRW.GCOLOR_ATTR +
SRW.HJUST_ATTR;
SRW.ATTR.WEIGHT :=SRW.BOLD_WEIGHT;
SRW.ATTR.STYLE :=SRW.UNDERLINE_STYLE;
SRW.ATTR.GCOLOR := 'MAGENTA';
SRW.SET_ATTR(0, SRW.ATTR);
END IF;
RETURN(TRUE);
END;
format trigger to add an alternating color scheme

•Highlight R_G_CATEGORY node in the Object Navigator
•Move the mouse to the Layout Editor without clicking on anything.
•Click the Fill Color icon and select the ‘Custom1’ color button
•Click the Fill Color icon again, set the ‘Patterns’ option to ‘Transparent’
•Click the Line Color icon and set it to ‘No Line’
Managing Report Templates

In a new template under the body node
• default node
• override node.
The default attributes of a template can be applied to any style of report.
E.g. The font of data in a template can be applied to the report,
regardless of its style.
The override attribute of a template, are attributes which can be applied
only to certain styles of reports.
Register a customized template in the predefined
template list
– To make file PORT.TDF available in the Reports Wizard,
predefined templates list do the following:– Search for file CAGPREFS.ORA, this is the reports global
preferences file name under windows.
– To the Reports.xxx_Template_Desc list, add the
description that you want to appear on the Template page
of the Report Wizard.
– To the corresponding Reports.xxx _Template_File list,
add the file name of your template in the same position as
the addition you made to the description list.
– Copy the template file (filename.tdf) to
ORACLE_HOME/REPORT60/ADMIN/TEMPLATE/US.
Sample image of your template in Report Wizard:
– For each report style (tabular, group left, etc.)
for which the template is defined, apply the
template to a sample report.
– Use a screen capture tool to capture a portion of
each sample report (no larger than 2 inches
wide and 3 inches high) in .bmp format using
the naming convention like yyyz.bmp where
– yyy matches the filename specified in the
Reports.xxx_Template_File list
• z

identifies the report style:

– a
Group Above
– f
Form-like
– g
Matrix with Group
– l
Group Left
– m
Mailing Label
– r
Form Letter
– t
Tabular
– X
Matrix
– Copy or create the .bmp file you want to use as a default
(i.e., displays if no bitmap exists for a specific report style)
and name it yyy.bmp.
– Copy each .bmp file to
ORACLE_HOME/REPORT60/ADMIN/TEMPLATE/US.
Creating an additional report layout
• Used when different queries need to be placed in
different styles. To do this :
– In the Layout Model view, click
in the tool palette.
– Click and drag a rectangular area for the default layout to
display the Report Wizard.
– Follow the wizard to select the data to display in the new
layout section.
– To reorder the layout sections, click and drag them to new
positions in the Layout Model view.
– Modify the report output in the Live Previewer view, or
choose Tools Report Wizard to re-enter the wizard.

More Related Content

What's hot

Oracle financials functional training on ap, ar & gl
Oracle financials functional training on ap, ar & glOracle financials functional training on ap, ar & gl
Oracle financials functional training on ap, ar & glmagnifics
 
Oracle Forms :Window and Canvases
Oracle Forms :Window and CanvasesOracle Forms :Window and Canvases
Oracle Forms :Window and CanvasesSekhar Byna
 
Oracle Process Manufacturing Setup EBS12.2
Oracle Process Manufacturing Setup EBS12.2Oracle Process Manufacturing Setup EBS12.2
Oracle Process Manufacturing Setup EBS12.2Mina Lotfy
 
Oracle apps-interview-questions
Oracle apps-interview-questionsOracle apps-interview-questions
Oracle apps-interview-questionsPakeera Mekala
 
Resume of Sugavanan - Oracle Apps Technical Consultant
Resume of Sugavanan - Oracle Apps Technical ConsultantResume of Sugavanan - Oracle Apps Technical Consultant
Resume of Sugavanan - Oracle Apps Technical ConsultantSugavanan Arunachalam
 
Expose your data as an api is with oracle rest data services -spoug Madrid
Expose your data as an api is with oracle rest data services -spoug MadridExpose your data as an api is with oracle rest data services -spoug Madrid
Expose your data as an api is with oracle rest data services -spoug MadridVinay Kumar
 
Lwc presentation
Lwc presentationLwc presentation
Lwc presentationNithesh N
 
Understanding credit check in oracle e business suite
Understanding credit check in oracle e business suiteUnderstanding credit check in oracle e business suite
Understanding credit check in oracle e business suiteOlumide Idowu
 
Power BI Made Simple
Power BI Made SimplePower BI Made Simple
Power BI Made SimpleJames Serra
 
Power BI vs Tableau
Power BI vs TableauPower BI vs Tableau
Power BI vs TableauDon Hyun
 
Oracle Application Express
Oracle Application ExpressOracle Application Express
Oracle Application ExpressHBoone
 

What's hot (20)

Oracle Apps - Forms
Oracle Apps - FormsOracle Apps - Forms
Oracle Apps - Forms
 
Oracle financials functional training on ap, ar & gl
Oracle financials functional training on ap, ar & glOracle financials functional training on ap, ar & gl
Oracle financials functional training on ap, ar & gl
 
Power BI Overview
Power BI OverviewPower BI Overview
Power BI Overview
 
Oracle Forms :Window and Canvases
Oracle Forms :Window and CanvasesOracle Forms :Window and Canvases
Oracle Forms :Window and Canvases
 
Oracle Process Manufacturing Setup EBS12.2
Oracle Process Manufacturing Setup EBS12.2Oracle Process Manufacturing Setup EBS12.2
Oracle Process Manufacturing Setup EBS12.2
 
Oracle apps-interview-questions
Oracle apps-interview-questionsOracle apps-interview-questions
Oracle apps-interview-questions
 
Resume of Sugavanan - Oracle Apps Technical Consultant
Resume of Sugavanan - Oracle Apps Technical ConsultantResume of Sugavanan - Oracle Apps Technical Consultant
Resume of Sugavanan - Oracle Apps Technical Consultant
 
Oracle Shop Floor Management R12
Oracle Shop Floor Management R12Oracle Shop Floor Management R12
Oracle Shop Floor Management R12
 
Basics of Oracle Purchasing
Basics of Oracle PurchasingBasics of Oracle Purchasing
Basics of Oracle Purchasing
 
Expose your data as an api is with oracle rest data services -spoug Madrid
Expose your data as an api is with oracle rest data services -spoug MadridExpose your data as an api is with oracle rest data services -spoug Madrid
Expose your data as an api is with oracle rest data services -spoug Madrid
 
Lwc presentation
Lwc presentationLwc presentation
Lwc presentation
 
Power bi
Power biPower bi
Power bi
 
Understanding credit check in oracle e business suite
Understanding credit check in oracle e business suiteUnderstanding credit check in oracle e business suite
Understanding credit check in oracle e business suite
 
Oracle Fusion Financial Report Centre Reporting Beginner course
Oracle Fusion Financial Report Centre Reporting Beginner courseOracle Fusion Financial Report Centre Reporting Beginner course
Oracle Fusion Financial Report Centre Reporting Beginner course
 
Power BI Made Simple
Power BI Made SimplePower BI Made Simple
Power BI Made Simple
 
Power BI vs Tableau
Power BI vs TableauPower BI vs Tableau
Power BI vs Tableau
 
Oracle Application Express
Oracle Application ExpressOracle Application Express
Oracle Application Express
 
Power BI
Power BIPower BI
Power BI
 
Oracle R12 Purchasing setup
Oracle R12 Purchasing setupOracle R12 Purchasing setup
Oracle R12 Purchasing setup
 
Customizing Oracle EBS OA Framework
Customizing Oracle EBS OA FrameworkCustomizing Oracle EBS OA Framework
Customizing Oracle EBS OA Framework
 

Similar to Reports 6i

Report_Painter_Abap_rp2.ppt
Report_Painter_Abap_rp2.pptReport_Painter_Abap_rp2.ppt
Report_Painter_Abap_rp2.pptYudie1
 
AIA101.3.Access Reports And Forms
AIA101.3.Access Reports And FormsAIA101.3.Access Reports And Forms
AIA101.3.Access Reports And FormsDan D'Urso
 
Report Builder Training 7i
Report Builder Training 7iReport Builder Training 7i
Report Builder Training 7iDydacomp
 
Sap S4 HANA PM Online training +918660816919
Sap S4 HANA PM Online training +918660816919Sap S4 HANA PM Online training +918660816919
Sap S4 HANA PM Online training +918660816919Senthil kumar
 
03 part 1_requirement_elicitation
03 part 1_requirement_elicitation03 part 1_requirement_elicitation
03 part 1_requirement_elicitationAnurag Rajandekar
 
Ps training mannual ( configuration )
Ps training mannual ( configuration )Ps training mannual ( configuration )
Ps training mannual ( configuration )Soumya De
 
Report painter in SAP
Report painter in SAPReport painter in SAP
Report painter in SAPRajeev Kumar
 
6.2 Creating a Report Using the Report Wizard
6.2 Creating a Report Using the Report Wizard6.2 Creating a Report Using the Report Wizard
6.2 Creating a Report Using the Report WizardPyi Soe
 
Mr20 enus 06-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...
Mr20 enus 06-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...Mr20 enus 06-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...
Mr20 enus 06-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...Sami JAMMALI
 
Ps training mannual ( configuration )
Ps training mannual ( configuration )Ps training mannual ( configuration )
Ps training mannual ( configuration )Soumya De
 
bi-publisher.pptx
bi-publisher.pptxbi-publisher.pptx
bi-publisher.pptxkjkombrink
 
Mr20 enus 02-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...
Mr20 enus 02-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...Mr20 enus 02-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...
Mr20 enus 02-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...Sami JAMMALI
 
QWeb Report in odoo
QWeb Report in odooQWeb Report in odoo
QWeb Report in odooexpertodoo
 
Mr20 enus 03-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...
Mr20 enus 03-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...Mr20 enus 03-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...
Mr20 enus 03-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...Sami JAMMALI
 

Similar to Reports 6i (20)

Report_Painter_Abap_rp2.ppt
Report_Painter_Abap_rp2.pptReport_Painter_Abap_rp2.ppt
Report_Painter_Abap_rp2.ppt
 
oracle-reports6i
oracle-reports6ioracle-reports6i
oracle-reports6i
 
AIA101.3.Access Reports And Forms
AIA101.3.Access Reports And FormsAIA101.3.Access Reports And Forms
AIA101.3.Access Reports And Forms
 
Report Builder Training 7i
Report Builder Training 7iReport Builder Training 7i
Report Builder Training 7i
 
Sap S4 HANA PM Online training +918660816919
Sap S4 HANA PM Online training +918660816919Sap S4 HANA PM Online training +918660816919
Sap S4 HANA PM Online training +918660816919
 
03 part 1_requirement_elicitation
03 part 1_requirement_elicitation03 part 1_requirement_elicitation
03 part 1_requirement_elicitation
 
006.report
006.report006.report
006.report
 
Dbms fast track 2/3
Dbms fast track 2/3Dbms fast track 2/3
Dbms fast track 2/3
 
Ps training mannual ( configuration )
Ps training mannual ( configuration )Ps training mannual ( configuration )
Ps training mannual ( configuration )
 
Report painter in SAP
Report painter in SAPReport painter in SAP
Report painter in SAP
 
6.2 Creating a Report Using the Report Wizard
6.2 Creating a Report Using the Report Wizard6.2 Creating a Report Using the Report Wizard
6.2 Creating a Report Using the Report Wizard
 
Oracle APEX
Oracle APEXOracle APEX
Oracle APEX
 
Mr20 enus 06-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...
Mr20 enus 06-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...Mr20 enus 06-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...
Mr20 enus 06-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...
 
Reporting
ReportingReporting
Reporting
 
Ps training mannual ( configuration )
Ps training mannual ( configuration )Ps training mannual ( configuration )
Ps training mannual ( configuration )
 
bi-publisher.pptx
bi-publisher.pptxbi-publisher.pptx
bi-publisher.pptx
 
Mr20 enus 02-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...
Mr20 enus 02-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...Mr20 enus 02-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...
Mr20 enus 02-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...
 
QWeb Report in odoo
QWeb Report in odooQWeb Report in odoo
QWeb Report in odoo
 
Copa implementation
Copa implementationCopa implementation
Copa implementation
 
Mr20 enus 03-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...
Mr20 enus 03-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...Mr20 enus 03-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...
Mr20 enus 03-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...
 

Recently uploaded

Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontologyjohnbeverley2021
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistandanishmna97
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxRemote DBA Services
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Victor Rentea
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusZilliz
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelDeepika Singh
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityWSO2
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Victor Rentea
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfOrbitshub
 

Recently uploaded (20)

Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 

Reports 6i

  • 2. Common report styles required in a business report
  • 4. Main Report executables Main components of Report Builder
  • 5. • Main objects in a report Different methods of building the report query
  • 6. • Live Pre-viewer – viewing of a reports output format without printing it. – It also provides a set of tools to allow the format of the report to be altered. – These include: • • • • • Precision of numbers Left, right and centering of text Bold, underline, italic options Font type and size add dollar signs, change colors etc.
  • 7. • Add page number and current date to a report – Create a report using the report wizard with no template. – Display the report in the Pre-Viewer. – Click on the menu option insert –Click on the date option and select the position of the date and the format of the date required. –Click on the ‘Page Number’ option and select the page number type and location.
  • 8. Report Columns • Database columns – Columns associated with the columns retrieved from the database by the query. • Summary columns – Summarizes another column and may recalculate for each group. • Formula columns – Uses a formula written in PL/SQL to calculate a value from one or more other columns Example Function salcomm return Number is Begin Return(:sal+nvl(:comm,0)); End; • Placeholder columns – Holds a value that has been calculated and placed into by formula column.
  • 9. /* Does this child record compare to the max sal for the dept ? If yes, and placeholder already set (i.e. we have more than one max sal) set the placeholder to the concatenated string. Else set the placeholder to the employee's name */ if (:sal = :max_dept_sal) then if (:highest_paid_emp <> ' ') then :highest_paid_emp := :highest_paid_emp||' and ' ||:ename; else :highest_paid_emp := :ename; end if; end if; return (:highest_paid_emp); end;
  • 12.
  • 13. Triggers Categories • Report triggers – – – – – After Parameter Form trigger After Report trigger Before Parameter Form trigger Before Report trigger Between Pages trigger • Data triggers – Formula Triggers – Validation Triggers
  • 15. • After Parameter Form trigger : --------------------------------• Example :Build a dynamic where clause Function AfterPForm RETURN BOOLEAN IS BEGIN if :P_CUSTOMER is NULL then :p_where_clause:= ' '; else :p_where_clause := 'where id >= :p_customer'; end if; return(true); end; Query Syntax : ----------------SELECT ID,NAME FROM CUSTOMER &P_WHERE_CLAUSE ORDER BY NAME
  • 16. • FORMAT TRIGGER : -------------------------EXAMPLE : HIDE FIELDS DYNAMICALLY FORMAT TRIGGER ON SALARY FIELD FUNCTION PAY_CLERKS_SEE_THIS RETURN BOOLEAN IS BEGIN IF STANDARD.USER = 'PAY_CLERK' THEN RETURN(TRUE); ELSE RETURN(FALSE); END IF; END;
  • 17. EXAMPLE : CONDITANALLY SET THE ATTRIBUTES if salary equals 2000. FORMAT TRIGGER ON FIELD salary FUNCTION sal_mask RETURN BOOLEAN IS BEGIN IF :SALARY = 2000 THEN SRW.ATTR.MASK :=SRW.WEIGHT_ATTR + SRW.STYLE_ATTR + SRW.GCOLOR_ATTR + SRW.HJUST_ATTR; SRW.ATTR.WEIGHT :=SRW.BOLD_WEIGHT; SRW.ATTR.STYLE :=SRW.UNDERLINE_STYLE; SRW.ATTR.GCOLOR := 'MAGENTA'; SRW.SET_ATTR(0, SRW.ATTR); END IF; RETURN(TRUE); END;
  • 18. format trigger to add an alternating color scheme •Highlight R_G_CATEGORY node in the Object Navigator •Move the mouse to the Layout Editor without clicking on anything. •Click the Fill Color icon and select the ‘Custom1’ color button •Click the Fill Color icon again, set the ‘Patterns’ option to ‘Transparent’ •Click the Line Color icon and set it to ‘No Line’
  • 19. Managing Report Templates In a new template under the body node • default node • override node. The default attributes of a template can be applied to any style of report. E.g. The font of data in a template can be applied to the report, regardless of its style. The override attribute of a template, are attributes which can be applied only to certain styles of reports.
  • 20. Register a customized template in the predefined template list – To make file PORT.TDF available in the Reports Wizard, predefined templates list do the following:– Search for file CAGPREFS.ORA, this is the reports global preferences file name under windows. – To the Reports.xxx_Template_Desc list, add the description that you want to appear on the Template page of the Report Wizard. – To the corresponding Reports.xxx _Template_File list, add the file name of your template in the same position as the addition you made to the description list. – Copy the template file (filename.tdf) to ORACLE_HOME/REPORT60/ADMIN/TEMPLATE/US.
  • 21. Sample image of your template in Report Wizard: – For each report style (tabular, group left, etc.) for which the template is defined, apply the template to a sample report. – Use a screen capture tool to capture a portion of each sample report (no larger than 2 inches wide and 3 inches high) in .bmp format using the naming convention like yyyz.bmp where – yyy matches the filename specified in the Reports.xxx_Template_File list
  • 22. • z identifies the report style: – a Group Above – f Form-like – g Matrix with Group – l Group Left – m Mailing Label – r Form Letter – t Tabular – X Matrix – Copy or create the .bmp file you want to use as a default (i.e., displays if no bitmap exists for a specific report style) and name it yyy.bmp. – Copy each .bmp file to ORACLE_HOME/REPORT60/ADMIN/TEMPLATE/US.
  • 23. Creating an additional report layout • Used when different queries need to be placed in different styles. To do this : – In the Layout Model view, click in the tool palette. – Click and drag a rectangular area for the default layout to display the Report Wizard. – Follow the wizard to select the data to display in the new layout section. – To reorder the layout sections, click and drag them to new positions in the Layout Model view. – Modify the report output in the Live Previewer view, or choose Tools Report Wizard to re-enter the wizard.