Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword
Like this
5Activity
0 of .
Results for:
No results containing your search query
P. 1
Interview Questions on Oracle Reports 6i

Interview Questions on Oracle Reports 6i

Ratings: (0)|Views: 576|Likes:
Published by Pakeera Mekala M

More info:

Published by: Pakeera Mekala M on May 17, 2011
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as DOCX, PDF, TXT or read online from Scribd
See more
See less

08/28/2012

pdf

text

original

 
Applications User Exits in Reports
 
 
Posted on
August 12th, 2007
by
Sanjit Anand
 
|
 Print This Post 
|
 Email This Post 
H
ave you joined
H
ub CommunityNetwork Forums of OracleaApps professionals? Don't wait. Doittoday We can integrate Oracle reports with Oracle Application Object Library, and run them as concurrentprograms from your forms or through standard request submission.
 
These are the user exits available in Oracle Reports that makes AOL integration. 
â¼¢
FND SRWINIT
â¼¢
FND SRWEXIT
â¼¢
FND FORMAT_CURRENCY
â¼¢
FND FLEXIDVAL
â¼¢
FND FLEXSQL
 
y
 
FND SRWINIT
 
o
 
This is a User Exit which sets your profile option values and allows Oracle AOL userexits to detect that they have been called by oracle repots. 
o
 
FND SRWINIT also allows your report to use the correct organization automatically. 
o
 
Can be used in BEFORE-REPORT Trigger. 
y
 
FND_SRWEXIT
 
o
 
This user exit ensures that all the memory allocated for AOL user exits has been freedup properly. 
o
 
Can be used in AFTER- REPORT Trigger 
y
 
USER EXITS
 
o
 
are used in Oracle APPS to access user profile values and perform proper calculation. 
o
 
Ex. of Other AOL User exits available in Reports are given below. 
y
 
FND FORMAT_CURRENCY
 
o
 
To format the currency amount dynamically depending upon the precision of the actualcurrency value, standard precision, users profile values and location (country) of thesite. 
o
 
Y
ou obtain the currency value from the database into an Oracle Reports column.Define another Oracle Reports column, a formula column of type C
H
AR, whichexecutes the FORMAT_CURRENC
Y
user exit to format the currency value. A displayedfield has this formula column as its source so that the formatted value is automaticallycopied into the field for display. 
Syntax
FND FORMAT_CURRENC
Y
 CODE=â¼:column containing currency codeâ¼
 
DISPLA
Y
 _WIDT
H
=â¼field width for displayâ¼AMOUNT=â¼:source column nameâ¼DISPLA
Y
=â¼:display column nameâ¼[MINIMUM_PRECISION=â¼:P_MIN_PRECISIONâ¼][PRECISION=â¼{STANDARD|EXTENDED}â¼][DISPLA
Y
 _SCALING_FACTOR=â¼â¼:P_SCALING_FACTORâ¼] 
y
 
FND FLEXSQL
 
o
 
This user exits allows you to use Flex fields in Reports. 
Syntax:
FND FLEXSQLCODE="flexfield code"APPL_S
H
ORT_NAME="application short name"OUTPUT=":output lexical parameter name"MODE="{ SELECT | W
H
ERE |
H
AVING | ORDER B
Y
}"[DISPLA
Y
="{ALL | flexfield qualifier | segmentnumber}"][S
H
OWDEPSEG="{
Y
| N}"][NUM=":structure defining lexical" |MULTINUM="{
Y
| N}"][TABLEALIAS="code combination table alias"][OPERATOR="{ = | < | > | <= | >= | != | "||" |BETWEEN | QBE}"][OPERAND1=":input parameter or value"][OPERAND2=":input parameter or value"] 
y
 
FND FLEXIDVAL
 
y
 
This user exits allows you to use Flex fields in Reports 
Syntax:
FND FLEXIDVALCODE="flexfield code"APPL_S
H
ORT_NAME="application short name"DATA=":source column name"[NUM=":structure defining source column/lexical"][DISPLA
Y
="{ALL|flexfield qualifier|segment number}"][IDISPLA
Y
="{ALL|flexfield qualifier|segmentnumber}"][S
H
OWDEPSEG="{
Y
| N}"][VALUE=":output column name"][DESCRIPTION=":output column name"][APROMPT=":output column name"][LPROMPT=":output column name"][PADDED_VALUE=":output column name"][SECURIT
Y
=":column name"] 
 
This is an AOL user exit available to populate key flexfields for display CODE means Key flexfield code(GL# is for Accounting Flex field, for all other check the tableFND_ID_FLEXS)NUM is the structure of the key flex field(Chart of Accounts Number)DATA is where you store the retrieved data (your sql output). 
Example
 SRW.USER_EXIT('FND FLEXSQL CODE="GL#"NUM=":P_STRUCT_NUM"APPL_S
H
ORT_NAME="SQLGL"OUTPUT=":P_SEC_SEG"MODE="SELECT"DISPLA
Y
=":P_SEC_SEG_VAL" ') The userexit call FND FLEXIDVAL : SRW.REFERENCE(:SEC_SEG);SRW.USER_EXIT('FND FLEXIDVAL CODE="GL#"DATA=":SEC_SEG"APPL_S
H
ORT_NAME="SQLGL"VALUE=":SEC_SEG_DISP"DISPLA
Y
="ALL"NUM=":P_STRUCT_NUM" ');return(:sec_seg_disp); 
Interview Questions on Oracle Reports 6i
1. What are the various types of reports ?* Tabular, Master Detail, Form, Form Letter, Mailing Labels, Matrix2. What is the difference between Master - Detail Report and report created by breaks ?* Master/detail data models are very similar to break report data models. However, a master/detaildata model is created using two queries, each of which owns at least one group, and a data link. A breakreport data model is created using one query and at least two groups. While reports based on a singlequery are usually more efficient than reports based on multiple queries, sometimes the structure of your data tables may require you to link multiple tables.3. What are Anchors ?* An anchor defines the relative position of an object to the object to which it is anchored. Anchors areused to determine the vertical and horizontal positioning of a child object relative to its parent. Sincethe size of some layout objects may change when the report runs (and data is actually fetched), youneed anchors to define where you want objects to appear relative to one another.

Activity (5)

You've already reviewed this. Edit your review.
1 thousand reads
1 hundred reads
bsenthamarai liked this
Amit Kasana liked this
payakkamron liked this

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->