This document discusses reporting tools in Oracle Applications 11i, focusing on Oracle Reports 6i. It provides an overview of character and bitmap reports in Oracle Reports 6i, how to design reports in each mode, and differences between the two. It also covers building queries, adding parameters, using the layout model, and integrating PL/SQL code through triggers.
This document shows the complete Pick,Pack and Ship Confirm Process in Oracle Apps using Public APIs(includes sample codes and table names from various sources)
This document shows the complete Pick,Pack and Ship Confirm Process in Oracle Apps using Public APIs(includes sample codes and table names from various sources)
How to remove disable and cancel shipment functionality in enter purchase or...Ahmed Elshayeb
How To Remove Disable Cancel Shipment Functionality In Enter Purchase Order and Purchase Order Summary Forms
منع المستخدم من إستخدام إمكانية إلغاء شحنة علي أمر توريد تم الإستلام عليها من علي شاشة ملخص أوامر الشراء ومن شاشة إدخال أوامر التوريد
Oracle Advanced Pricing (Creating a discount modifier using qualifiers)Ahmed Elshayeb
Oracle Advanced Pricing (Creating a Discount Modifier Using Qualifiers)
أمثلة علي كيفية عمل تخفيض أو عروض علي قائمة الأسعار الخاصة بأمر البيع حسب شروط معينة وسوف يتم إستكمالها ان شاء الله
Understanding Flex Fields with Accounting Flexfields(Chart of Accounts) in O...Gurpreet singh
A flexfield is a flexible data field that your organization can customize to your business needs without programming.
A flexfield is a field which is made up of subfields or segments.
A flexfield appears on your form as a popup window that contains a prompt for each segment. Each segment has a name and a set of valid values.
Also covers how to create custom Key Flexfield
A business group is the highest level of organization and the largest grouping of employees across which you may report. A Business Group holds a complete, self-contained set of information on work structures, remuneration policies and employees. Each Business Group can have just one particular set of segments defined for its Job, Position, Grade, Employee Group and Cost Allocation key flex fields.
A business group is a basically Human Resources organization to which you assign employees. You assign each operating unit to a business group in the financial options setup. You can assign the same business group to different operating units including to operating units in different financial sets of books. You can setup a separate business group for each operating unit if you want to segregate and maintain each group of employees separately. Oracle provides one setup business group you can use.
How to remove disable and cancel shipment functionality in enter purchase or...Ahmed Elshayeb
How To Remove Disable Cancel Shipment Functionality In Enter Purchase Order and Purchase Order Summary Forms
منع المستخدم من إستخدام إمكانية إلغاء شحنة علي أمر توريد تم الإستلام عليها من علي شاشة ملخص أوامر الشراء ومن شاشة إدخال أوامر التوريد
Oracle Advanced Pricing (Creating a discount modifier using qualifiers)Ahmed Elshayeb
Oracle Advanced Pricing (Creating a Discount Modifier Using Qualifiers)
أمثلة علي كيفية عمل تخفيض أو عروض علي قائمة الأسعار الخاصة بأمر البيع حسب شروط معينة وسوف يتم إستكمالها ان شاء الله
Understanding Flex Fields with Accounting Flexfields(Chart of Accounts) in O...Gurpreet singh
A flexfield is a flexible data field that your organization can customize to your business needs without programming.
A flexfield is a field which is made up of subfields or segments.
A flexfield appears on your form as a popup window that contains a prompt for each segment. Each segment has a name and a set of valid values.
Also covers how to create custom Key Flexfield
A business group is the highest level of organization and the largest grouping of employees across which you may report. A Business Group holds a complete, self-contained set of information on work structures, remuneration policies and employees. Each Business Group can have just one particular set of segments defined for its Job, Position, Grade, Employee Group and Cost Allocation key flex fields.
A business group is a basically Human Resources organization to which you assign employees. You assign each operating unit to a business group in the financial options setup. You can assign the same business group to different operating units including to operating units in different financial sets of books. You can setup a separate business group for each operating unit if you want to segregate and maintain each group of employees separately. Oracle provides one setup business group you can use.
Overzicht van geweldige gratis technologie: Oracle application Express. Met deze tool heb ik voor vele gebruikers snel verschillende applicaties gebouwd
Ten Steps To Empowerment Convert Custom Reports To Oracle Business Intelligence Publisher and Empower your IT organization as well as your business users
Operation “Blue Star” is the only event in the history of Independent India where the state went into war with its own people. Even after about 40 years it is not clear if it was culmination of states anger over people of the region, a political game of power or start of dictatorial chapter in the democratic setup.
The people of Punjab felt alienated from main stream due to denial of their just demands during a long democratic struggle since independence. As it happen all over the word, it led to militant struggle with great loss of lives of military, police and civilian personnel. Killing of Indira Gandhi and massacre of innocent Sikhs in Delhi and other India cities was also associated with this movement.
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdfTechSoup
In this webinar you will learn how your organization can access TechSoup's wide variety of product discount and donation programs. From hardware to software, we'll give you a tour of the tools available to help your nonprofit with productivity, collaboration, financial management, donor tracking, security, and more.
Palestine last event orientationfvgnh .pptxRaedMohamed3
An EFL lesson about the current events in Palestine. It is intended to be for intermediate students who wish to increase their listening skills through a short lesson in power point.
The Art Pastor's Guide to Sabbath | Steve ThomasonSteve Thomason
What is the purpose of the Sabbath Law in the Torah. It is interesting to compare how the context of the law shifts from Exodus to Deuteronomy. Who gets to rest, and why?
Read| The latest issue of The Challenger is here! We are thrilled to announce that our school paper has qualified for the NATIONAL SCHOOLS PRESS CONFERENCE (NSPC) 2024. Thank you for your unwavering support and trust. Dive into the stories that made us stand out!
Instructions for Submissions thorugh G- Classroom.pptxJheel Barad
This presentation provides a briefing on how to upload submissions and documents in Google Classroom. It was prepared as part of an orientation for new Sainik School in-service teacher trainees. As a training officer, my goal is to ensure that you are comfortable and proficient with this essential tool for managing assignments and fostering student engagement.
The French Revolution, which began in 1789, was a period of radical social and political upheaval in France. It marked the decline of absolute monarchies, the rise of secular and democratic republics, and the eventual rise of Napoleon Bonaparte. This revolutionary period is crucial in understanding the transition from feudalism to modernity in Europe.
For more information, visit-www.vavaclasses.com
This is a presentation by Dada Robert in a Your Skill Boost masterclass organised by the Excellence Foundation for South Sudan (EFSS) on Saturday, the 25th and Sunday, the 26th of May 2024.
He discussed the concept of quality improvement, emphasizing its applicability to various aspects of life, including personal, project, and program improvements. He defined quality as doing the right thing at the right time in the right way to achieve the best possible results and discussed the concept of the "gap" between what we know and what we do, and how this gap represents the areas we need to improve. He explained the scientific approach to quality improvement, which involves systematic performance analysis, testing and learning, and implementing change ideas. He also highlighted the importance of client focus and a team approach to quality improvement.
2. 2
Topics
Reporting Tools
Reporting Tools for Oracle Applications
Oracle application with Reports 6i
Character/Bitmapped Reports
Building a Report
Report Registration Process in OA
Usage of User Exits
3. 3
Reporting Tools
Many organizations struggle with the
question – What is the best
applications reporting solution for its
requirements?
4. 4
Reporting Tools
Decision Making
Type of Reporting tool, Which satisfies the
Reporting Needs of organization.
5. 5
Reporting Tools
Following Points influence in Decision Making:
Different User communities with potentially Different
Information accessing the same Information Source.
The version of Oracle Applications.
Expertise in User Community.
Level of Technical Support.
8. 8
Reporting Tools
Determine Appropriate Tool Category.
Ensure that the selection process (mentioned in the previous slides)
does not overlook business requirements that are not met by reports
6i, XML Publisher, BIS and discoverer.
Oracle Reporting Tools (Major).
Oracle Reports.
Oracle XML Publisher
Oracle Discoverer.
Oracle’s business intelligence suite (BIS).
9. 9
Scope
The Scope of this presentation is
Oracle Reports 6i
10. 10
Reporting Tools for 11i
Oracle Reports6i
Oracle reports is an enterprise reporting tool that allows
organizations to build and publish high quality, dynamically
generated reports.
Most often reporting consists of multiple queries within a single
report that may span across several functional areas.
Oracle reports fits into this reporting category where reporting
tends to answer questions like daily sales, current available
inventory against today’s sales reservations etc.
These are real-time reports accessing the production database
directly.
11. 11
Reports 6i
Character Mode Reports
Character mode reports run faster.
Following are the Pre requisites for designing a report in
character mode
Set the Reports Design in Character Units property to
‘yes’
Set the report width and report height
For Landscape 132 or 180 as width and 66 as
height
For Portrait 102 as width and 85 or 116 as height
12. 12
Oracle Apps11i With Report 6i
In the properties of the mode system parameter set
the initial value field to character.
In the layout editor’s view menu: switch grid snap on,
and in options ~ ruler settings set the number of snap
points per grid spacing to one.
Don’t use objects that are not consistent with
character mode output e.g. images, colors , drawings,
italics, ellipses, diagonal lines, drill down buttons,
multimedia etc.
13. 13
Oracle Apps11i With Report 6i
Bitmap Reports
Bitmap reports are used for generating either PCL or
Postscript type Reports.
These reports use different fonts or incorporate
graphics images into a report.
We can also build reports of type PDF, but these are
set up differently and are not bitmap reports.
14. 14
Oracle Apps11i With Report 6i
Following are the Pre requisites for designing a report in
Bitmap mode
Go to reports designer, under data model, open up
the system parameters, right click on DESTYPE and
select properties, enter printer as the initial value and
click OK.
Right click on MODE and select properties enter
BITMAP as the initial value and click OK.
15. 15
Oracle Apps11i With Report 6i
Differences Between Character and Bitmap Report
Character Mode Bitmap Mode
Output uses Fixed Font Output uses Proportional Fonts.
Font type, size, or style does not hold
any meaning.
Font type, size, or style does hold
meaning
Object gets mapped exactly to a set
of character-cells without any
overlapping
Objects gets mapped with
overlapping.
42. Summary Column
Specific properties:
Function
Source
Reset At
Datatype depends on Source Datatype
43. Formula Column
Performs a user-defined computation
Executes a PL/SQL function
Must return a value
Can be Character, Number, or Date
Returned value must match datatype
function CF_Total_salFormula return Number is
begin
return(:sal+nvl(:comm,0));
end;
44. Placeholder Column
An empty container at
design time
Populated by another
object at run time
Before Report trigger
Formula column at report
level
Formula column in same
group or below placeholder
CP_1
CF_1
46. User Parameters
Restrict values in a WHERE clause
SELECT EMPNO,ENAME,JOB
FROM EMP
WHERE DEPTNO = <a value>
Substitute any part of a SELECT statement
SELECT EMPNO,ENAME,JOB
FROM EMP
<a where clause>
Substitute a single column or expression
SELECT
<a column/expression>
FROM EMP
48. Referencing Parameters
In Report Query
Bind reference replaces a value:
:parameter_name
Parameter object may be created by default
Lexical reference replaces a clause:
¶meter_name
Parameter object may be created by default
49. Using Bind References
SELECT empno, ename,job
FROM emp
WHERE deptno = :dept_id
Restrict values in a WHERE clause
50. Using Lexical References
Use to Substitute any part of the query
SELECT empno,ename,job
FROM emp
&P_WHERE_CONDITION
&P_ORDER_BY
Note: Ensure that the number of values and datatypes
match at runtime
51. Layout Model - Different Sections of Report
Main
section
Employees
Report
Page 1 of 1
Header
section
End of report Trailer
section
52. Layout Objects
The tool palette contains:
Standard GUI drawing tools
Frame, repeating frame, field objects
Other layout objects
Drawing Tools
Text
Repeating Frame
Link File
Button
OLE2
object
Frame
Field
Chart
Anchor
Additional Default Layout
53. Layout Object Properties
Objects with common properties:
Frames
Repeating Frames
Fields
Boilerplate Objects
Some common properties affect:
Sizing
Pagination
Frequency of display
55. Print Frequency
Employee Report Employee Report
-1-
-2-
Employee Report
Employee Report
Print Object On = All Pages
Base Printing On = Enclosing Object
-3-
56. PL/SQL Triggers in Reports
• Describe the different types of triggers
• Describe sample uses of triggers
• Write and reference common code
• Create a PL/SQL library
57. Types of Triggers in Reports
Report Level:
Five triggers
Report Triggers node in Object Navigator
Layout:
Format trigger on most objects
59. Sequence of Firing
Before Parameter Form
After Parameter Form
Before Report Between pages After Report
60. Using Report Triggers
After Parameter Form
Example : Build Dynamic Where Clause
SELECT empno,ename,job,sal,deptno
FROM emp
&P_WHERE_CLAUSE
function AfterPForm return boolean is
begin
IF :p_dept_id is null then
:p_where_clause:='';
ELSE
:p_where_clause:='where
deptno=:p_dept_id';
END IF;
return (TRUE);
end;
61. Using Layout Triggers
Format triggers:
Exist on most layout objects
Can suppress an entire layout section (master group
frame): No records fetched
Can suppress the display of individual records (repeating
frame): All records fetched
62. Writing Common Code
At Report level:
Object Navigator, Program Units
Menu: Program—>PL/SQL Editor
In a library:
Object Navigator, PL/SQL Library
File—>New: Create new library
File—>Open: Add to existing library
Attach library to report
63. Report Builder Built-in Package
• Describe the package contents
• Output messages at run time
• Execute a drill-down report
• Create and populate temporary tables
• Modify visual attributes dynamically
64. SRW Package
Standard Report Writer Package
A collection of PL/SQL constructs that contains many
functions, procedures, and exceptions
You can reference in any of your libraries or reports.
Note: You cannot reference constructs in the SRW package
from another product, e.g., from SQL*Plus.
66. Displaying Messages
Warning
WHEN <exception> THEN
SRW.MESSAGE(999,
'Warning: An error occurred in report');
Error
WHEN <exception> THEN
SRW.MESSAGE(999,
'Error: Table creating failed.’);
67. Performing SQL Statements
Example
SRW.DO_SQL('CREATE TABLE LOG_TABLE
(USER_NAME VARCHAR2(40),
DATE_EXEC VARCHAR2(11)' );
SRW.DO_SQL('INSERT INTO
LOG_TABLE(USER_NAME,DATE_EXEC)
VALUES(:P_USER_NAME,sysdate)');
Exception
SRW.DO_SQL_FAILURE
68. 68
Usage of User Exits
Oracle reports provides a suite of PL/SQL procedures in the SRW
package. The user_exit procedure in this package allows you to call
user exits (pro C routines) and oracle apps reports use quite a lot of
these calls. The user exits available in oracle reports are:
—FND SRWINIT
—FND SRWEXIT
—FND FLEXIDVAL
—FND GETPROFILE & FND PUTPROFILE.
—FND calculate.
—FND FORMAT_CURRENCY
69. 69
Usage of User Exits
FND SRWINIT
Sets your profile option values and allows oracle application
object library user Exits to detect that they have been called by
a oracle reports program.
You always call FND SRWINIT from the before report trigger
as follows:
SRW.User_exit('FND SRWINIT');
This user exit is important, where, in a multi-org environment to
ensure your report displays data from the user’s organization.
70. 70
Usage of User Exits
FND SRWEXIT
Ensures that all the memory allocated for application object
library user exits has been freed. Up properly.
You always call FND SRWEXIT from the after report
trigger as follows:
SRW.USER_EXIT('FND SRWEXIT');
71. 71
Usage of User Exits
FND GETPROFILE & FND PUTPROFILE.
These user exits let you retrieve and change the value of a
profile option.
FND calculate.
Use this routine to calculate the result of an unlimited number
of operands and operators.
72. 72
Usage of User Exits
FND FLEXSQL
This user exit can be called to create a SQL fragment.
Used by the report to tailor the SELECT statement that retrieves
flexfield values.
This fragment allows you to SELECT flexfield values or to
create a WHERE, ORDER BY, GROUP BY or HAVING clause
to limit or sort the flexfield values returned by your SELECT
statement.
The flexfield columns defined in the report should be of data
type CHARACTER even though the table may use NUMBER /
DATE.
73. 73
Usage of User Exits
FND FLEXIDVAL
This user exit is called to populate fields for display. Pass the
key flexfield data retrieved by the query into this user exit
from the formula column and the display values and
descriptions and prompts by passing appropriate token.
FND format_currency
This user exit formats the currency amount dynamically depending
upon:
The precision of the actual currency value.
The user's positive and negative format profile options
The location (country) of the site : The location of the site
determines the thousands separator and radix to use when
displaying currency values.
74. 74
Usage of User Exits
Ensure you have required parameters.
Ensure that the following parameters are defined using the oracle
reports parameter screen, these will be used in the user exit calls and
SQL statements.
P_CONC_REQUEST_ID.
You always create this lexical parameter. "FND SRWINIT" uses this
parameter to retrieve information about this concurrent request.
P_MIN_PRECISION.
You reference this lexical parameter in your FND
FORMAT_CURRENCY user exit call.
P_FLEXDATA Character 600-6000
P_STRUCT_NUM Character15 Initial value = 101
75. 75
Report Registration Process in OA
Report Deployment.
Typically the report will be developed on a PC, so when it is ready to test
in the oracle applications environment, you must:
Upload your .rdf file to the server box, ensure file is uploaded
properly. If the .rdf is not properly not uploaded the report will fail
with a signal 10 error.
Place the .rdf file it in the correct directory.
Each product (eg. GL, AP etc) will have a directory structure and you
will need to place the report in the report sub-directory of the
appropriate product. Typically the directory structures will have
names like ONT_TOP and are relatively easy to identify. You should
always place your custom reports in “mod” directories.
Ensure your report has the appropriate file permission’s which allow
the oracle concurrent manager to execute it (using chmod etc).
76. 76
Report Registration Process in OA
Register your report within oracle applications
Navigate to application developer responsibility after logging in to Oracle Applications
78. 78
Report Registration Process in OA
Identify the report to the AOL layer.
The execution file name is the operating system file name
(without the extension)
The application field tells the AOL layer where to look for
this file.
80. 80
Report Registration Process in OA
This step sets up the report so it can be submitted by the concurrent
manager, identifying parameters which must be passed etc. The Executable
Name field is the link to the previous step. The Program name field and
Description will appear in the List of Values users see, so they should be
functionally descriptive.
81. 81
Report Registration Process in OA
Request Section
MLS Function
The Multilingual Concurrent Request feature allows a user to submit a
request once to be run multiple times, each time in a different language. If
this program utilizes this feature the MLS function determines which installed
languages are needed for the request.
Use in SRS
Run Alone
Enable Trace
Allow disabled values
Restart on system failure
82. 82
Report Registration Process in OA
Output Section
Format
Save
Print
Columns
Rows
Style
Style Required
Printer
83. 83
Report Registration Process in OA
Oracle Reports Parameters.
Use the Parameters button to open the window shown below and define the parameters that
the report should prompt the user for. Notice that the Token field links the parameters you
list here to the parameters which your report is expecting. It is not case sensitive.
84. 84
Report Registration Process in OA
Concurrent manager passes program arguments to your.
Oracle reports program using tokens (so that their order does not
matter), you should write your program to receive arguments in the
same order that you specify when you call your program and pass
arguments for easier maintenance.
Oracle reports program parameters should not expect NULL.
Values. The concurrent manager cannot pass a NULL value to your
program.
Tip :It is always suggested to start the parameter sequence
from 10 and increment by 10 or as desired.
85. 85
Report Registration Process in OA
If your report should not be run at the same time as any other report or process
(perhaps even itself) then use the Incompatibilities button to open the window
shown below and identify them.
86. 86
Copy the report
Copy
Report Registration Process in OA
87. 87
Report Registration Process in OA
Add your report to the appropriate request groups.
This is usually performed by the (functional) system administrator however you may
need to do it in the test environment at least.
Using the system administrator responsibility,
Menu path: Security Responsibility Request.
88. 88
Report Registration Process in OA
Reports are made available to users by adding them to the Request Group
assigned to a Responsibility which in turn is assigned to users. This
effectively makes your report appear in the List of Values which the user sees
in the Standard Report Submission screen.
In the top half of the screen, query back the Request Group to which you
wish to add your report and then in the lower half of the screen create a
new record, select your report name and save.
89. 89
FND Packages
Concurrent Program and Request Set Loaders
FND_Program and FND_Request
Used to programmatically create:
Concurrent executables
Concurrent Programs
Parameters for Concurrent Programs
Concurrent Request Sets
Recommended when maintaining multiple instances (i.e. development,
test, production)
90. 90
FND Packages
FND_Program Functionality
Most procedures correspond to functionality provided by System
Administration forms:
FND_Program
Procedure
Corresponding System Administration
Window
Executable Concurrent Program Executable
Register Concurrent Program
Parameter Concurrent Program Parameters
Incompatibility Incompatible Programs
Request_Group Request Groups, master region
Add_To_Group Request Groups, Requests region
Others allow for checking for the existence of programs and
components, and deleting existing programs and components
Use FND_Program.Message to display error messages.
98. 98
Tips
Report in Microsoft excel.
A character mode report that saves its output to a file with an extension of .Csv, will
automatically be recognizable by MS excel.
Beware of traps when modifying existing reports!
If you are modifying an existing report, you begin by FTP’ing it up to your PC and
opening it in the reports designer there. Very often the report will give you error
messages about missing packages. The messages should give you the name of the
packages and you will be able to find them in the plsql subdirectory of the application
to which the report belongs on the server side.
99. 99
Definitions
APPS schema.
An ORACLE schema that has access to the complete oracle applications data model.
Standard report submission (SRS).
The procedure to submit a background report to the concurrent manager using SRS is the same
regardless of the product that owns the report. SRS takes advantage of shared flexfield value sets.
Custom reports can be integrated into standard report submission so that they can be submitted and
monitored using the same procedures as other oracle applications reports. Developers can set up
certain menus and responsibilities to access custom reports or standard objects.
Repeating frames
Repeating frames are used to display the rows of data that are retrieved for a group. Thus, they
"repeat" until all the data is retrieved.
Frames
Frames are used to keep layout objects together and can be used to protect layout objects from being
overwritten by repeating frames at runtime.
Fields
Fields define how columns appear in a report, such as the format of currency amounts and dates
Anchors
Anchors are used to determine the relative positioning of one object to another in a report. The anchor
attaches the anchored object, or child, to an anchoring object, or parent.
1.you must type this accurately including the correct case!.
2.Applications are also “registered” which links the descriptive name seen here to an OS
environment variable which in turn identifies the specific OS path to use to find your report.
3.It is therefore important that when you place your report in a mod directory, you also select the
appropriate application name here. Otherwise oracle will not be able to “find” your report.
If you are relatively new to Oracle Financials, it may be helpful to think of a Responsibility as the equivalent of a database role and Request Groups as “grants” on reports to that role.