Oracle Apps
Oracle Apps
html
oracle apps interview questions and answers
1. What is the Diff between APPS Schema and other Schemas?
Apps schema contains only Synonyms we can't create tables in apps
schema,where as other schema s contains tables, & all the objects. Here
only we will create the tables and giving grants on created tables. Almost
all every time we will connect to apps schema only.
6.
What are the Folders we will find below the 11.5.0 Folder?
Reports,forms,sql,lib,log,out,bin,admin,html,xml,msg,def, etc
7.
Can we create Tables in the Apps Schema?
No.
8.
Can we have custom schema when it it required?
yes, we can have custom schema, when we want to create a new table we
required custom schema.
9.
What is meant by concurrent Program?
It is nothing but Instance of the execution along with parameters &
Incompatables. Here Incompatables nothing but if we are submiting cc
programs if any one can be execute in those program , which programs r not
imp yet this time we will mention those programs in incompatables
tab.
10.
What are the steps we will follow to register Reports as Concurrent
Program?
First develop the report & save it in local machine. upload into
custom_top/11.5.0/reports/us/ go to system administrator open executable
form create executable by mentioning executable method as reports
,executable as report name which was created. go to cc program form
create ccprogram by attach executable name in executable section. then
attach this ccprogram to request group, Request group to
Responsibility.Responsibility to User.
11.
What is meant by Request group?
It is nothing but collection of cc programs.
12.
What is Application Top? What are the types and Purpose?
A) When we connect to the server we will find the top called
application top. Under application top we have
Product top.
Custom top
Product top is the default top built by the manufacturer. Custom top
is used to select the Client for his business purposes. Customizations are
done with the Custom top.
13.
What is US folder in the Custom Top?
It is a language specific folder used to store the G.U.I like
reports and forms.
14.
What are mandatory parameters of Procedures and what the use of those?
Errorbuf: It is used to returns the error messages and sent it to the log
file.
Retcode: It is used to show the status of the Procedure with 0, 1, and 2 0
for Completed Normal
1 for Completed Warning
2 for Completed Error
15
What is Apps Schema and Schema?
Schema: Schema is the location in database contains database objects like
views, tables, and synonyms.
Apps Schema: It is used to connect the all schemas to get the
information from The database.
16.
What is Token?
a) Use to transfer values to report builder and it is not case
sensitive.
17.
Difference between FORM, Function and Menu?
a) A menu is a hierarchical arrangement of functions and menus. Each
responsibility has a menu assigned to it. A function is a part of an
application that is registered under a unique name for the purpose of
assigning it to be including it from a menu.
18.
Tell me something about SQL-LOADER.
Sql * loader is a bulk loader utility used for moving data from external
files into the oracle database.
Sql* loader supports various load formats, selective loading, and multitables loads.
1) Conventional --The conventional path loader essentially loads the data
by using standard insert statement.
2) Direct -- The direct path loader (direct = true) by possess of logic
involved with that, and loads directly in to the oracle data files.
EX:- My data.csv file
1001, scott tiger,1000,40
1002,gvreddy,2345,50
Load data
Infile c:\data\mydata.csv
insert Into table emp Fields terminated by , optionally enclosed by
(empno, empname,sal,deptno)
>sqlldr scott/tiger@vis control=loader.ctl log= gvlog.log bad=gvbad.bad
discard=gvdis.dsc .
19.
What is SET-OF-BOOKS?
SOB
20.
Tell me what r the Base tables in the AR?
FND SRWINIT sets your profile option values, multiple organizations and
allows
Oracle Application Object Library user exits to detect that they have been
called by an Oracle Reports program.
FND SRWEXIT ensures that all the memory allocated for AOL user exits have
been freed up properly.
FND FLEXIDVAL are used to display flex field information like prompt, value
etc
FND FLEXSQL these user exits allow you to use flex fields in your reports
FND FORMAT_CURRENCY is used to print currency in various formats by using
formula column
22.
What is Value Set?
a. Identify the Short name of the standard report in which module we have
to customize
Ex: - if u wants to customize in the AR module path is
Appl top\ar\11.5.0\reports\US\ .rdf
b. Open the .rdf file in Report builder and change the name of the module.
c. Open the data module and modify the query (what is client requirements)
assign the columns to the attributes.
d. Go to report wizard and select, what r the newly created columns.
e. Then Compile it. Then u will get a .rep file in the specified module. If
it is
not in the specified directory then we have to put in the server directory.
f. Then Register in the AOL Concurrent Executable and
Concurrent Program.
g. Go to system administrator Security Responsibility request.
h. Add and assign a concurrent program to a request group
25.
FLEX FIELDS?
DFF
KFF
Additional
Segment prefixed
the
help of [].
For example Oracle General uses a key Flex field called Accounting Flex
field to uniquely identify a general account.
FLEX FILED : KEY : REGISTER
26.
Difference between Bind and Lexical parameters?
BIND VARIABLE:
are used to replace a single value in sql, pl/sql
bind variable may be used to replace expressions in select, where, group,
order
by, having, connect by, start with cause of queries.
bind reference may not be referenced in FROM clause (or) in place of
reserved words or clauses.
LEXICAL REFERENCE:
You can use lexical reference to replace the clauses appearing AFTER
select,
from, group by, having, connect by, start with.
You cant make lexical reference in pl/sql statements.
27.
what is Flex mode and Confine mode?
Confine mode:
On: child objects cannot be moved outside their enclosing parent objects.
Off: child objects can be moved outside their enclosing parent objects.
Flex mode:
On: parent borders "stretch" when child objects are moved against them.
Off: parent borders remain fixed when child objects are moved against
them.
28.
What is Place holder Columns?
Ans.
Role of Technical Consultant:
a. Designing New Forms, Programs and Reports
b. Forms and Reports customization
c. Developing Interfaces
d. Developing PL/SQL stored procedures
e. Workflow automations
Role of System Administrator:
a. Define Logon Users
b. Define New/Custom Responsibility
c. Define Data Groups
d. Define Concurrent Managers
e. Define Printers
f. Test Network Preferences
g. Define/Add new Modules
Role of an Apps DBA:
a. Installing of Application
b. up gradation
c. Migration
d. Patches
e. Routing maintenance of QA
f. Cloning of OA
33.
What are Flex fields?
Ans.
Ans. A Flex field is a customizable field that opens in a window from a
regular Oracle Applications window. Defining flex fields enables you to
tailor Oracle Applications to your own business needs. By using flex
fields, you can:
(a) Structure certain identifiers required by oracle applications according
to your own business environment.
(b) Collect and display additional information for your business as needed.
Key Flex fields: You use key flex fields to define your own structure for
many of the identifiers required by Oracle Applications. Profile
Flexfields:Open Key Window (FND_ID_FLEXS)
Descriptive Flex field: You use descriptive flex fields to gather
additional information about your business entities beyond the information
required by Oracle Applications. Profile Flex fields: Open Descr Window
(FND_DESCRIPTIVE_FLEXS)
34.
Report registration process?
Ans.
1. Create the report using the report builder.
2. Place the report definition file in the module specific reports
directory.
3. Create an executable for the report definition file.
Ans.
A request security group is the collection of requests, request sets, and
concurrent programs that a user, operating under a given responsibility,
can select from the Submit Requests window.
36.
Value Sets?
Ans.
Oracle Application Object Library uses values, value sets and validation
tables as important components of key flex fields, descriptive flex fields,
Flex Builder, and Standard Request Submission.
When you first define your flex fields, you choose how many segments you
want to use and what order you want them to appear. You also choose how you
want to validate each of your segments. The decisions you make affect how
you define your value sets and your values.
You define your value sets first, either before or while you define your
flex field
segment structures. You typically define your individual values only after
your flex field has been completely defined (and frozen and compiled).
Depending on what type of value set you use, you may not need to predefine
individual values at all before you can use your flex field.
You can share value sets among segments in different flex fields, segments
in
different structures of the same flex field, and even segments within the
same flex field structure. You can share value sets across key and
descriptive flex fields. You can also use value sets for report parameters
for your reports that use the Standard Report Submission feature.
Navigation Path:
Login Application Developer -> Application -> Validation -> Set
37.
Value Validation Types?
Ans.
1. Dependant
2. Independent
3. None
4. Pair
5. Special
6. Table
7. Translate Independent
8. Translate Dependent
38.
Incompatibility in report registration and Run Alone?
Ans.
Identify programs that should not run simultaneously with your concurrent
program because they might interfere with its execution.
You can specify your program as being incompatible with itself.
Application: Although the default for this field is the application of your
concurrent program, you can enter any valid application name.
Name: The program name and application you specify must uniquely identify a
concurrent program. Your list displays the user-friendly name of the
program, the short name, and the description of the program.
Scope: Enter Set or Program Only to specify whether your concurrent program
is zincompatible with this program and all its child requests (Set)
or only with this program (Program Only).
Run Alone: Indicate whether your program should run alone relative to all
other programs in the same logical database. If the execution of your
program
interferes with the execution of all other programs in the same logical
database (in other words, if your program is incompatible with all programs
in its
logical database, including itself), it should run alone.
1.
What are the various types of Exceptions ?
User defined and Predefined Exceptions.
2.
Can we define exceptions twice in same block ?
No.
3.
What is the difference between a procedure and a function ?
Functions return a single variable by value where as procedures do not
return any variable by value. Rather they return multiple variables by
passing variables by reference through their OUT parameter.
4.
Can you have two functions with the same name in a PL/SQL block ?
Yes.
5.
Can you have two stored functions with the same name ?
Yes.
6.
Can you call a stored function in the constraint of a table ?
No.
7.
What are the various types of parameter modes in a procedure ?
IN, OUT AND INOUT.
8.
What is Over Loading and what are its restrictions ?
OverLoading means an object performing different functions depending upon
the no. of parameters or the data type of the parameters passed to it.
9.
Can functions be overloaded ?
Yes.
10.
Can 2 functions have same name & input parameters but differ only by
return datatype
No.
11.
What is Ref Cursor in Oracle ?
By using Ref cursor we can change the select statement
dynamically at runtime which is available in the cursor
definition based on some validation.For this we need to
define ref cursor type by using following syntax.
type <type_name> is ref cursor return <return_type>;
end if;
end;
What Is a Collection?
A collection is an ordered group of elements, all of the same type. It is a
general concept that encompasses lists, arrays,
and other familiar datatypes. Each element has a unique subscript that
determines its position in the collection.
PL/SQL offers these collection types:
Index-by tables, also known as associative arrays, let you look up elements
using arbitrary numbers and strings for subscript values.
(They are similar to hash tables in other programming languages.)
Nested tables hold an arbitrary number of elements. They use sequential
numbers as subscripts. You can define equivalent SQL types,
allowing nested tables to be stored in database tables and manipulated
through SQL.
Varrays (short for variable-size arrays) hold a fixed number of elements
(although you can change the number of elements at runtime).
They use sequential numbers as subscripts. You can define equivalent SQL
types, allowing varrays to be stored in database tables.
They can be stored and retrieved through SQL, but with less flexibility
than nested tables.
INBOUND INTERFACES
Invoice Inbound Interface
Interface Tables:
AP_INVOICES_INTERFACE
AP_INVOICE_LINES_INTERFACE
AP_INTERFACE_REJECTIONS (Error Table)
Base Tables:
AP_INVOICES_ALL
AP_INVOICE_LINES_ALL (in R12)
AP_INVOICE_DISTRIBUTIONS_ALL
Concurrent Program:
Payables Open Interface Import
Supplier Inbound Interface
Interface tables:
AP_SUPPLIERS_INT
AP_SUPPLIER_SITES_INT
AP_SUP_SITE_CONTACT_INT
AP_SUPPLIER_INT_REJECTIONS (Error table for Supplier, Site and Contact
inbound based on parent_table column)
Base Tables:
PO_VENDORS
PO_VENDOR_SITES_ALL
PO_VENDOR_CONTACTS
Concurrent programs:
Supplier Open Interface Import
Supplier Sites Open Interface Import
Supplier Site Contacts Open Interface Import
Request Set:
Supplier Open Interface Request Set (Contain all 3 above mentioned
concurrent programs)
Item Inbound Interface
Interface Tables:
MTL_SYSTEM_ITEMS_INTERFACE
MTL_ITEM_REVISIONS_INTERFACE
MTL_ITEM_CATEGORIES_INTERFACE
MTL_INTERFACE_ERRORS (Error Table)
Base Tables:
MTL_SYSTEM_ITEMS_B
MTL_ITEM_REVISIONS_B
MTL_CATEGORIES_B
MTL_CATEGORY_SETS_B
Concurrent program:
Import Items
Receipt Inbound Interface
Interface Tables:
RCV_TRANSACTIONS_INTERFACE
RCV_HEADERS_INTERFACE
PO_INTERFACE_ERRORS (Error Table)
Base Tables:
RCV_SHIPMENT_HEADERS
RCV_SHIPMENT_LINES
RCV_TRANSACTIONS
Concurrent Program:
Receiving Transaction Processor
Purchase Order Inbound Interface
Interface Tables:
PO_HEADERS_INTERFACE
PO_LINES_INTERFACE
PO_DISTRIBUTIONS_INTERFACE
PO_LINE_LOCATIONS_INTERFACE
PO_INTERFACE_ERRORS where interface_type = PO_DOCS_OPEN_INTERFACE (Error
Table)
Base Tables:
PO_HEADERS_ALL
PO_LINES_ALL
PO_DISTRIBUTIONS_ALL
PO_LINE_LOCATIONS_ALL
Concurrent Program:
Import Standard Purchase Orders (To import Standard Purchase Orders)
Import Price Catalogs(To import Catalog Quotations, Standard Quotations,
and Blanket Purchase Agreements)
Requisition Inbound Interface
Interface Tables:
PO_REQUISITIONS_INTERFACE_ALL
PO_REQ_DIST_INTERFACE_ALL
PO_INTERFACE_ERRORS where interface_type =REQIMPORT (Error Table)
Base Tables:
PO_REQUISITIONS_HEADERS_ALL
PO_REQUISITION_LINES_ALL
PO_REQ_DISTRIBUTIONS_ALL
Concurrent Program:
Requisition Import
Interview for general .......
*********************************************************..................
.............**************************************************************
*
1) What is SET-OF-BOOKS OR Ledgers?
HZ_CUST_A/C_VZPUB.UPDATE_CUST_A/C
HZ_CUST_A/C_VZPUB.CREATE_CUST_A/C
4) PL/SQL stored procedure parameters or what are the two parameters that
are mandatory for pl/sql type concurrent program
values
based on a prior values; translated value can be used.
7) What is template
a) The TEMPLATE form is the required starting point for all development of
new Forms.
b) The TEMPLATE form includes platformindependent attachments of several
Libraries.
APPSCORE :- It contains package and procedures that are required of all
forms to support the MENUS ,TOOLBARS.
APPSDAYPK :- It contains packages that control the oracle applications
CALENDER FEATURES.
FNDSQF :- it contains packages and procedures for MESSAGE DICTONARY, FLEX
FIELDS, PROFILES AND CONCURRENT PROCESSING.
CUSTOM :- it allows extension of oracle applications forms with out
modification of oracle application code, you can use the custom library for
customization such as zoom ( such as moving to another form and querying up
specific records)
9) What is responsibility
Legal entity has more than one operating unit is called as multi org
a) Business group --- Human resources information is secured by Business
group
b) Legal entity. --- inter-company and fiscal/tax reporting.
operating unit.
c) Operating unit --- secures AR, OE, AP, PA and PO Information.
d) Organizations --- is a specialize unit of work at particular locations
A) FND - ID - FLEXS
B) FND-ID-FLEX-STRUCTURES 5
FND_PROGRAM.EXECUTABLE
FND_PROGRAM.REGISTER
FND_PROGRAM.PARAMETER
FND_PROGRAM.ADD_TO_GROUP
FND_REQUEST.SUBMIT_REQUEST
FND_PROFILE.VALUE
FND_PROFILE.GET
APP_REGION 7
APP_STANDARD
APP_WINDOW
22)FNDSQF APIS
FND_CURRENCY
FND_DATE
FND_GLOBAL
FND_ORG
FND_STANDARD
FND_UTILITIES.OPEN_URL
FND_UTILITIES. PARAM_EXISTS
.PUT_NAMES
.CLOSE
4. FND-PROGRAM . MESSAGE
. EXECUTABLE
. REGISTER
. PARAMETER
. IN COMPATIBILITY
. EXECUTABLE_EXISTS
5. FND_REQUEST . SET-OPTIONS
.SET_REPEAT_OPTIONS
.SET_PRINT_OPTIONS
.SUBMIT_REQUEST
.SET_MODE
6. FND_REQUEST_INFO . GET_PARAM_NUMBER
. GET_PARAM_INFO
. GET_PROGRAM
. GET_PARAMETER
7. FND_SET . MESSAGE
.ADD_PROGRAM
.ADD_STAGE
.IN COMPATIBILITY
8. FND_SUBMIT . SET_MODE
.SET_REQUEST_STATUS
.SUBMIT_PROGRAM 9
.SUBMIT_SET
FND_PROGRAM.EXECUTABLE
- is used to define a concurent program executable
- AD_DD BPI doesnt check for the existence of the registered table or
column in the data base schema, but only updates the required SQL tables.
- It should be ensured that, all the tables and columns registered exist
actually and have the same format as that defined using AD_DD API.
- Views need not be registered.
26)Function FND_REQUEST.SUBMIT_REQUEST
( application in varchar2 default null,
program in varchar2 default null,
description in varchar2 default null,
start-time in varchar2 default null,
sub_request in bookan default False,
argument1,
arguemnt2,
argument 100) return number;
If this is submitted from oracle forms, all the arguments ( 1 to 100 )
must be specified. 12
FND_REQUEST.SET_MODE
29. What is the reason for not getting any data when a multi org view is
quired
- to get the data correctly, the xxx-ALL must be referenced and the ORG_ID
value should be specified to extract portioned data.
- Multiorg views are partitioned by using ORG_ID.
- So access through multiorg views will not return any roes, as the
CLIENT_INFO Value is not set
- Use HR_OPERATING UNITS to identify the organization _id of the OU on
which query is based.
- Use FND_CLIENT_INFO package to set the value in CLIENT INPO using
set_org_contest.
- Execute fnd_client_info. Set_org_context (<org_id>);
- Now qurying of multiorg views can be done. 15
40)FND_PROGRAM Package
FND_PROGRAM.Executable:Procedure FND_PROGRAM. Executable IS 23
(executable in Varchar2,
application in varchar2, (full name)
short_name in varchar2, (executable short name)
description in varchar2 default NULL,
execution_method in varchar2,
execution_file_name in varchar2 default null,
Subrowline_name in varchar2 default null, (only for spawned immediate)
Icon_name in varchar2 default null,
Language_code in varchar2 default US,
Execution_file_path in varchar2 default null);
For Java Concurrent Program.
44. What is the relation between Responsibility, Menu and Request Group
Responsibility: - A responsibility is a set of authority in Oracle Apps
that lets users access only that functionality of the application
appropriate to their roles.
Menu: - A menu is a hierarchical arrangement of functions and menus of
functions that appears in the Navigator. Each responsibility has a menu
assigned to it.
Request Group: - it is a collection of reports or concurrent programs. A
system Administrator defines report groups in order to control user access
to reports and concurrent programs. Only a system administrator can create
a request group.
47. Explain briefly where are the Custom.pll, Forms, Reports, Sql Loader
Control files, Shell Script source
code and executables files kept
Custom.pll - $AU_TOP/resource
Forms - $PROD_TOP/Forms/US
Reports - $PROD_TOP/Reports/US
SQL Control Files - $PROD_TOP/Bin
Shell Scripts - $PROD_TOP/Bin
49. What are profile options; at what levels can these be set
A user profile is a set of changeable options that affects the way the
applications run. Oracle
Applications object Library establishes a value for each option in a users
profile when the
User logs on or changes responsibility.
System Profile: - Profile option can be set for the user community.
User Profile: - Provide Oracle Apps with standard information which
describes a user,
Application, Responsibility and site. At each profile level user profile
options can be set.
50. How can you know the form (fmb) name when you open a form in Apps
Help
Is it APPS schema
27
53. How can you tell who last updated a particular row in a form
54. You have logged onto a Responsibility, how do you know what operating
unit are you on
If so how
Report parameters. You can also use value sets that you use in your flex
fields to validate
Your report parameters.
59. How do you create a table validated value set dependent on another
value set
Use :$FLEX$.<Value set name> in the where condition.
61. What are the two mandatory parameters required for running a PL/SQL
Procedure based concurrent program
Errbuf, Retcode
62. How can you ensure that only one instance of a concurrent program runs
Check the "Run Alone" check box in Concurrent program registration window.
65. Can you submit a concurrent request from the operating system directly
Write a Shellscript.
Login to database
66. Explain how to generate a trace file for a pl/sql concurrent program
for tuning
Check theEnable Trace check box in concurrent program registration
window.
67. How do you write to the concurrent request Log and Output file
FND_FILE.PUT(FND_FILE.LOG or FND_FILE.OUTPUT, <Text>);
71. Mention the table or views where Inventory Org, Items, Set of Books, GL
Code Combinations,
Operating Unit, Location, Customers, Vendors, and Invoices are stored in
Apps.
Inventory Org: - MTL_PARAMETERS/ORG_ORGANIZATION_DEFINITIONS
Items: - MTL_SYSTEM_ITEMS_B
Set of Books: - GL_SETS_OF_BOOKS
GL Code Combinations: - GL_CODE_COMBINATIONS
Operating Unit: - HR_ALL_OPERATING_UNITS
Location: - MTL_ITEM_LOCATIONS
Customers: - RA_CUSTOMERS
Vendors: - AP_SUPPLIER_CONTACTS_ALL
Invoices: - AP_INVOICES_ALL
72. What is the profile to be read to find out what Inventory Organization
and Operating Unit are you on
(mfg_organization_id is the Inventory Org)
Desc Flex is used to just capture extra information. Key Flexfields have
qualifiers whereas Desc Flexfields do not. Desc Flexfields can have context
sensitive segments while Key flexfields cannot.
And one more differenct that KFF displays like text item but DFF displays
like [ ] .
76)Which procedure should be used to make the DFF read only at run time
FND_DESCR_FLEX.UPDATE_DEFINITION()
84)What is the name of the API parameter when they are True,False and NULL
Ans. apps.fnd_api.g_true, apps.fnd_api.g_false and apps.fnd_api.g_miss_char
respectively.
85)What are the different steps in sending a mail from PL/SQL
Ans. PROCEDURE glp_send_mail_po_cancel
( p_org_id IN VARCHAR2
, p_feeder_source IN VARCHAR2
, p_subject IN VARCHAR2
, p_message_body IN VARCHAR2
, p_return_status OUT VARCHAR2
, p_error_message OUT VARCHAR2
)
v_host_name := utl_inaddr.get_host_name();
v_host_ip := utl_inaddr.get_host_address(v_host_name);
v_mailconn := utl_smtp.open_connection(v_host_ip, 25);
utl_smtp.helo(v_mailconn,v_host_ip);
utl_smtp.mail(v_mailconn,v_from_email_id);
utl_smtp.rcpt(v_mailconn,v_to_email_tab(v_addr_cnt));
, apps.fnd_user f5
, apps.fnd_profile_options f1
, apps.fnd_profile_option_values f2
, apps.fnd_responsibility f3
, apps.fnd_responsibility_tl f4
WHERE SYSDATE BETWEEN f6.start_date AND NVL(f6.end_date,SYSDATE)
AND f5.user_id = f6.user_id
AND UPPER(f5.user_name) like '%GLOBALPARTS%'
AND f6.responsibility_id = f4.responsibility_id
AND f2.profile_option_value = TO_CHAR(13) -- Putting the ORG ID Value
AND f2.profile_option_id = f1.profile_option_id
AND f1.profile_option_name = 'ORG_ID'
AND f3.application_id = 201
AND f2.level_value = f3.responsibility_id
AND f3.responsibility_id = f4.responsibility_id
AND UPPER(f4.responsibility_name) LIKE UPPER('GEMS%PO%MANAGER%') 36
AND ROWNUM = 1;
91) What resources are provided for developing applications which will be
integrated into Oracle Applications Release 11
a. The Oracle Applications Developer's Guide Release 11 and the Oracle
Applications User Interface Standards Release 11.
Release 11.
92. What are the supported versions of Forms and Reports used for
developing
on Oracle Applications Release
Answer-----a. The following supported versions are provided in Developer/2000
Release 1.6.1:
i. Forms 4.5
ii. Reports 2.5
96. How to get the data from the views in Multi_ORG views
A. Using the profiles and client info package.
Eg:
SELECT
If we cant get the data with the above query then we have to write a
procedure as shown below.
DECLARE
x NUMBER:=0; 39
BEGIN
x:=fnd_profile.value('org_id');
fnd_client_info.set_org_context (204);
END;
Compile and run the query once again.
110)What is MultiOrg
42
113) what are the setup we need to do before running into Oracle Apps.
Ans: Go to Oracle Apps > System Administraror (Responsibility) > Create a
User using SSO > Add responsibility
Switch to COE Dev Sys Administrator (Responsibility) > Add the
Responsibility that is attached to the newly created User > menue > exclude
/ include the function according to the requirement
116) What is the basic requirement that we need to set before starting a
form in Oracle Apps
Ans:
a) FTP the templet.fmb From $au_top/bin To Local m/c
b) Rename the templet.fmb as User defined name
c) Trigger Level Change: Pre_Form :
app_window.set_window_position('BLK_ORG', 'FIRST_WINDOW'); -- 1st Window
Name
set_window_property('BLK_ORG',title,'Form name') -- 1st Window Name,
caption
Block Level Change: Rename Default_block
Form Level Change: Property Panel > Navigation > First Navigation Data
Block > (Set A Block Name)
Program Unit Level: App_custom > (set the 1st window name)
118) What is the API we use to see the message from log file
Ans:
When we use an API, it automatically stores the error message in a pl/sql
table i.e creating a log of the errors.
We can see those error messages thougt fnd_message_pub API
123) Why do we call FND FLEXSQL from the Before Report Trigger
A. One need to pass the concatenated segment values from the underlying
code combinations table to the user exit so that it can display appropriate
data and derive any description and values from switched value sets as
needed. One gets this information by calling the AOL user exit FND FLEXSQL
from the before report Trigger. 44
124. If u call the user exit FND FLEXSQL with MODE = WHERE from the
Before Report Trigger. What will it do
A. This user exit populates a lexical parameter that you specify with the
appropriate SQL fragment at run time. You include this lexical parameter in
the WHERE clause of the report query. This user exit is called once for
each lexical to be changed.
125. If u call the user exit FND FLEXSQL with MODE = ORDER BY from the
Before Report Trigger. What will it do
A. This user Exit populates the lexical parameter that one specifies with
the appropriate SQL fragment at run time. One includes this lexical
parameter in the ORDER BY clause of the report query. This user exit is
called once for each lexical to be changed.
126. How can we display flexfield segment values, descriptions, and prompts
on the report
A. Create a formula Column. Call the user exit FND FLEXIDVAL as the formula
for this column. This user exit automatically fetches more complicated
information such as descriptions and prompts so that one does not has to
use complicated table joins to the flex field tables.
129. Describe the APP_SHORT_NAME option of the FND FLEXSQL user exit
A. Specifies the short name of the application that owns the flex field
(for example: SQLGL, INV)
130. Describe the OUTPUT option of the FND FLEXSQL user exit
A. Specify the name of the lexical parameter to store the SQl fragment. One
uses this lexical later in the report when defining the SQL statement that
selects the flexfield values. the datatype of this parameter should be
character.
131. Describe the MODE option of the FND FLEXSQL user exit
A. Specify the mode to use to generate the SQL fragment . valid mode are :
SELECT: Retrieves all segments values in an internal (non- displayable
format).
WHERE: Restrict the query by specifying constraints on flexfield columns.
The fragment returned includes the correct decode statement if one
specifies MULTINUM. One must also specify an OPERATOR and OPERANDS.
HAVING: Same calling procedures and functionality as WHERE.
ORDER BY: Order required information by flexfield columns. The fragment
Orders your flexfield columns and separates them with a comma. The fragment
returned includes the correct decode statement, one specifies in MULTINUM.
132. Describe the DISPLAY option of the FND FLEXSQL user exit
A. One uses the DISPLAY token with the MODE token . the DISPLAY parameter
allows you to specify segments that represent specified flexfield
qualifiers or specified segments numbers , 45
where the segment numbers are the order in that the segments appear in the
flexfield window, not the segment number specified in the Define Key
Segments form.
Eg. If your MODE is SELECT and you specify DISPLAY = ALL then the SELECT
statement includes all the segments of the flexfield. . Similarly, if your
MODE is WHERE and you specify DISPLAY = ALL, then your WHERE clause
includes all segments.
133. Describe the SHOWDEPSEG option of the FND FLEXSQL user exit
A. SHOWDEPSEG = N disables automatic addition of depended upon segments
to the order criteria. The default is Y. This token is valid only for
MODE = ODER BY In FLEXSQL.
134. Describe the NUM option of the FND FLEXSQL user exit
A. Specify the name or lexical or source column that contains the flexfield
structure information. If the flexfield uses just one structure, specify
NUM only and use a lexical parameter to hold the value. If the flexfield
uses multiple structures, specify MULTINUM only and use a source column to
hold the value. The default value is 101.
135. Describe the TABLE ALIAS option of the FND FLEXSQL user exit
A. You use TABLE ALIAS if your SELECT joins to other flexfield tables or
uses a self join.
136. Describe the OPERATOR option of the FND FLEXSQL user exit
A. Specify an operator to use in the WHERE clause.
137. Describe the OPERAND1 option of the FND FLEXSQL user exit
A. Specify an operand to use in the WHERE clause,
138. Describe the OPERAND2 option of the FND FLEXSQL user exit
A. Specify a second operand to use with OPERATOR = BETWEEN
140) Name the interface tables used for the customer interface
A. 1. RA_CUSTOMERS_INTERFACE_ALL
2. RA_CUSTOMER_BANKS_INT_ALL
3. RA_CUST_PAY_METHOD_INT_ALL
4. RA_CUSTOMER_PROFILES_INT_ALL
5. RA_CONTACT_PHONES_INT_ALL
CREATED_BY
CREATION_DATE
If you are importing an address and a business purpose, you must also
populate the following columns:
PRIMARY_SITE_USE_FLAG (if you are inserting an address)
LOCATION (if you are not using Automatic Site Numbering)
SITE_USE_CODE (if you are inserting an address)
ADDRESS1
144) List some of the production tables that Customer Interface transfers
customer data from the interface tables into
A. AR_CUSTOMER_PROFILES
AR_CUSTOMER_PROFILE_AMOUNTS
RA_ADDRESSES
RA_CONTACTS
RA_CUSTOMERS
RA_CUSTOMER_RELATIONSHIPS
RA_CUST_RECEIPT_METHODS
RA_PHONES
RA_SITE_USES
AP_BANK_ACCOUNT_USES
AP_BANK_ACCOUNTS
AP_BANK_BRANCHES
150). What are the names of the parameters u pass to the Procedure which u
register in the apps
A. 1) retcode in varchar2
2) errbuf in varchar2
151). What is the use of Auto lock Box
A Auto Lockbox (or Lockbox) is a service that commercial banks offer
corporate customers to enable them to outsource their accounts receivable
payment processing.
153). What is the order in which Autolock box searches for the types of the
matching number
A. 1. Transaction Number
2. Sales Order Number
3. Purchase Order Number
4. Consolidated Billing Invoice Number
5. Other, user-defined number.
154. What is application short name for General Ledger you specify in FND
FLEXSQL user exit
A. SQLGL
A. REPLACE
158). How do you set profile in oracle applications In Application
Developer responsibility
A Open "Profile" Function
159). What is the syntax for loading data through SQL
multiple files simultaneously
Loader from
161). Tell me names of important production tables & their purpose AP, AR,
GL, PO
A AP: AP_INVOICES_ALL, AP_INVOICE_LINES_ALL
To store invoices
AR: RA_SHIPMENT_HEADERS/ _LINES, RA_CUSTOMERS, RA_CONTACTS
PO: PO_VENDORS, PO_VENDOR_SITES - For storing vendor data.
162). Name the interface tables used for the LockBox Interface
A Interface table : AR_PAYMENTS_INTERFACE_ALL
Lockbox transfers the receipts that pass validation to the Receivables
interim tables AR_INTERIM_CASH_RECEIPTS_ALL and
AR_INTERIM_CASH_RCPT_LINES_ALL
When you run Post QuickCash, the receipt data is transferred from the
QuickCash tables to the following Receipt tables:
AR_CASH_RECEIPTS_ALL
AR_RECEIVABLES_APPLICATIONS_ALL
AR_CASH_RECEIPT_HISTORY_ALL
163) Name the interface tables used for the Auto Invoice Interface.
A Auto Invoice transfers transaction data from the interface tables
RA_INTERFACE_LINES_ALL,
RA_INTERFACE_SALESCREDITS_ALL, and
RA_INTERFACE_DISTRIBUTIONS_ALL
into the following Receivables tables:
RA_BATCHES_ALL
RA_CUSTOMER_TRX _ALL
RA_CUSTOMER_TRX_LINES _ALL
RA_CUST_TRX_LINE_GL_DIST_ALL
RA_CUST_TRX_LINE_SALESREPS_ALL
AR_PAYMENT_SCHEDULES_ALL
AR_RECEIVABLE_APPLICATIONS_ALL 49
AR_ADJUSTMENTS_ALL
(Note:- When you first define your flexfields, you choose how many segments
You want to use and what order you want them to appear. You also
Choose how you want to validate each of your segments. The decisions
You make affect how you define your value sets and your values.)
165) How to run a concurrent program. What all concurrent programs u have
created.
Ans:- (Definition :- A concurrent program is an instance of an execution
file, along with
parameter definitions and incompatibilities. Concurrent programs use
concurrent program executables to locate the correct execution file.)
Oracle Tool Concurrent Program
166) What is parameter in apps and from where u can create it.
Ans:- Parameters only using in report, you can create in defining the
report in
apps (you can create the parameter there only).
167)What all are the tables used in the modules u have worked on.
168)What is Profile
Ans:- A user profile is a set of changeable options that affects the way
your
applications run. Oracle Application Object Library establishes a value
for each option in a users profile when the user logs on or changes 50
responsibility. Your user can change the value of profile options at any
time a) To create Profile Option. ( Profile Option can created by developer
in application developer area) b)set the value (Values of the profile
option , who will have what value at various levels is set by SYSADMIN).
Oracle Application Object Library provides many options that. (Edit profile
feature for every user is available to set any value to allow the
user).your users can set to alter the user interface of your applications
to satisfy their individual preferences.
Profile Option set at run time like User Related, responsibility,
Sequence, Printer, Security.
Values in 4 Levels(HIEARCHY WISE) :A. USER
B. RESPONSIBILITY
C. APPLICATION
D. SITE
Application Developer create the profile.
System Administrator make profile option.
(NOTE:- If any change in value, it will active when you re-login or switch
to the responsibility.)
( Usage in the multi-tier, the profile is biggest impact)
189) What are the different types of value sets and also explain each
briefly
Different types of Value sets are,
1) Independent- This Value set contains list of values which does not
depends on any other value
2) Dependant- It contains values which depends on any one of the
Independant value
3) Pair- combines 2 flex field together to specify range of valid values
4) Special- Uses only 1 flex field structure to specify values
5) Table- This Value set contains list of values from 1 or more than 1
table columns
6) Translatable Dependant- Same as Dependant value set, only translated
values are present
7) Translatable Independant- Same as Independant value set, only translated
values are present
199)What is AOL
Oracle Applications are constructed and maintained using the Application
Object Library (AOL).
The Three main areas of AOL are
o Applications Security
o Operating Profile
o Concurrent Processing
1. What is the Flex field
o There are two types of Flex field Key Flex Field and Descriptive Flex
Fields.
***
224) What is parameter in apps and from where u can create it. Ans:Parameters only using in report, you can create in defining the report in
apps (you can create the parameter there only).
225)What all are the tables used in the modules u have worked on. In GL
I have worked on GL_JE_HEADERS(JOURNALS HEADER),GL_JE_LINES(JOURNAL LINES),
GL_JE_BACHES(JOURNAL BATCHES), GL_SET_OF_BOOK(SET_OF_BOOK_ID),
In PO- I have worked on PO_HEADER_ALL..
227)How to restrict the data for a responsibility as per the ORG-ID Ans:Through Multi Org(MO) u can restrict the data for a responsibility as per
the ORG-ID. Only in GL- Set of book Id you set the value to restrict the
data for a responsibility.
228) is Flexfield What is flexfield qualifier and what is segment
qualifier Ans:- A flexfield is made up a segments (Which are actually
table columns). Each segment has a name that can be assigned, and set of
valid value.
Purpose and Application:Flexibility to implement code structure.
Flexibility to capture additional information.
Two Types of Flexfields in oracle apps.
1. Key Flexfields (KFF)
2. Descriptive Flexfields (DFF)
A key flexfield segment has a name you assign, and set of valid values you
specify. Each value has a meaning which can be specified. Flexfield
Qualifier:-A flexfield qualifier identifies a particular segment of a key
flexfield.. Usually an application needs some method of identifying a
particular
segment for some application purpose such as security or computations.
However, since a key flexfield can be customized so that segments appear in
any order with any prompts, the application needs a mechanism other than
the segment name or segment order to
use for segment identification.
Segment Qualifier :- A segment qualifier identifies a particular type of
value in a single segment of a key flexfield.
In the Oracle Applications, only the. Accounting Flexfield uses segment
qualifiers. You can think of a segment qualifier as an identification tag
for a value. In the Accounting Flexfield, segment qualifiers can identify
the account type
236) What are the objects APPS schema contain. Ans:- The APPS schema
contains synonyms to all tables and
sequences as well as all serverside code (stored procedures, views,
and database triggers).
For ERP applications, data partitioning is performed by database
views. These views reside in the APPS Oracle schema and derive the 63
appropriate operating unit context from an RDBMS variable.
237)What are the names of the parameters u pass to the Procedure which u
register in the apps B. 1) retcode in varchar2
2) errbuf in varchar2
238) What is application short name for General Ledger you specify in FND
FLEXSQL user exit A. SQLGL
245)Execution methods
Ans. a. Host b. Immediate
c. Java Stored Procedure
d. Java Concurrent Program
e. Multi Language Function
f. Oracle Reports
64 g. PL/SQL Stored Procedure
h. Request Set Stage Function
i. Spawned
j. SQL Loader
k. SQL Plus
structure.
Ans:-A Global Variable exists in the oracle database called CLIENT_INFO,
which is 64 bytes long. The first 10 bytes are used to store the operating
unit ID(or ORG_ID) for the multiple organization support feature.
Multi-Org views are partitioned by ORG_ID. The ORG_ID value is stored in
CLIENT_INFO variable.(It comes in AP,PO,AR,OM level)
ORGANIZATION_ID Its for Inventory, Mfg, & BOM.
15.Q.What are the default types of parameters. What is the use of each one
of it.
Ans:175)ORG_ID can be set at master levels or transaction level.
Ans:- ORG_ID can be set at transaction Level.
176)Differnet type of execution methods in Conc.Progs. Explain Each Type.
Ans:- a.Oracle Reports- You can register your report as executable file
type is oracle reports.
b. PL/SQL Package Procedure - You can register your PL/SQL Package
Procedure as executable file type is oracle PL/SQL Package Procedure.
1. SQL Loader- You can register your SQL Loader SQL Loader is your
executable file type.(for data loading)
2. SQL Plus :- You can register your SQL script as SQL Plus executable
type.
3. Host Scripting:- You can write down Unix Host scripting and register
here.
177) What is difference between oracle schema and apps schema.
Ans:-Database SchemaThe APPS schema- is an ORACLE schema that has access to the
complete Oracle Applications data model. This schema is maintained
by Auto Install .
178)What are the objects APPS schema contain. 52
Ans:- The APPS schema contains synonyms to all tables and
Step 3: Link the program This part is a little tricky. You need to create a
custom makefile for this step. Use $FND_TOP/lib/sample.mk as a starting
point. Copy this file to the lib directory under your applications top
directory. Rename it <short name>.mk (ie fnd.mk, gl.mk etc) Modify this
file according to the directions in it. Basically you need to 53
add a target and build commands for your executable. Next, use adrelink to
link the executable: adrelink force=y ranlib=y shortname programname
Step 4: Register the program as in the above question
Immediate programs: Just dont do it.
181)How do I run a shell script as a concurrent program
1: Write the script and call it <name>.prog Place the script under the bin
directory under your applications top directory. For example, call the
script CUSTOM.prog and place it under $CUSTOM_TOP/bin
bin
2: Make a symbolic link from your script to $FND_TOP/bin/fndcpesr For
example, if the script is called CUSTOM.prog use this: ln -s
$FND_TOP/bin/fndcpesr CUSTOM This link should be named the same as your
script without the .prog extension It should be in the same directory as
the script.
3: Register a concurrent program as described above, using an execution
method of Host Use the name of your script without the .prog extension as
the name of the executable For the example above, you would use CUSTOM
CUSTOM
4: Your script will be passed at least 4 parameters, in $1 through $4 These
will be: orauser/pwd, userid, username, request_id Any other parameters you
define will be passed in $5 and higher. Make sure your script returns an
exit status.
define will be passed in $5 and higher. Make sure your script returns an
exit status.
5: If your script returns a failure exit status but the concurrent manager
does not report the error (shows it as still running normal) apply patch
442824
182)How will u register RDF file and run it
d run the program and view the out put is srs through ur responsibility
What are different types of value sets
183)What is translatable Independent & Dependent
The value set used to support the multilingual value set.
185))How do I submit a concurrent request from PL/SQL
ans : using fnd_request.submit_request .
begin
v_request_id := fnd_request.submit_request(applicationshortname,
concurrentprogramshortname,
description,
paramers)
end 54
commit;
if v_request_id > 0 then
dbms_output.put_line('Successfully submitted')
else
dbms_output.put_line('Not Submitted');
end;
note : to submit a conc program from UNIX/shell scrip we use CONSUB
186) How do I cancel a running concurrent request
Navigate to the Concurrent Request Summary form Select a request The
Sysadmin responsibility can cancel or hold any running request
187) What is the difference between organization id and org_id
Organization_id stores inventory organization id ( like 204 for M1)
Org_id stores the OU id corresponding to a operating unit .
188) What is the difference between conversion and interfaces
conversion means one time activity interface means periodic activity
example:- to transfer the data old version to new version it is called
conversionto transfer the data from staging table to interface table it is
called interface , it is process on every day or every hour ........
189) What are the different types of value sets and also explain each
briefly
Different types of Value sets are,
1) Independent- This Value set contains list of values which does not
depends on any other value
2) Dependant- It contains values which depends on any one of the
Independant value
3) Pair- combines 2 flex field together to specify range of valid values
4) Special- Uses only 1 flex field structure to specify values
5) Table- This Value set contains list of values from 1 or more than 1
table columns
6) Translatable Dependant- Same as Dependant value set, only translated
values are present
7) Translatable Independant- Same as Independant value set, only translated
values are present
190) How do you register a table and columns in Oracle Apps>
To register the table and columns in AOL the navigation is: Open
Appliaction Developer---> Appliaction--->Database--->table.(In table
mention the table name(which you want to register), user table
name,columns,user column name). The table & columns which you are going to
register should be present in your module specific schema
195) What can we find TEMPLATE.FMB file
$AU_TOP/forms/US
Template.fmb file can be found in AU_TOP resource directory. This file
contains all the Common characterstics all the forms. And also Contains
Diffrent libraries. like CUSTOM.pll,APPCORE,APPCOREE2,FNDSQF,
JE,JL,JA,VERT,GLOBE etc.. And Template.fmb cotains Diffrent propery classes
for all the objects. This Template.fmb can be used for developing the new
form 55
196) What are the libraries attached to TEMPLATE form
The Template form required 19 .pll in 11i version. Those pll names are :
APPCORE.pll APPCORE2.pll FNDSQF.pll APPDAYPK.pll GLOBE.pll JE.pll JL.pll
JA.pll VERT.pll GHR.pll PQH_GEN.pll PSAC.pll PSB.pll PSA.pll IGILUTIL.pll
IGILUTIL2.pll CUSTOM.pll GMS.pll FV.pll OPM.pll
197)What is Concurrent Programming
Concurrent Processing in Oracle Apps simultaneously executes programs
199)What is AOL
Oracle Applications are constructed and maintained using the Application
Object Library (AOL).
The Three main areas of AOL are
o Applications Security
o Operating Profile
o Concurrent Processing
1. What is the Flex field
o P_TAB_NAME
o P_TAB_TYPE
o P_NEXT_EXTENT
o P_PCT_FREE
o P_PCT_USED
PROCEDURE REGISTER_COLUMN
Arguments
P_APPL_SHORT_NAME
P_TAB_NAME
P_COL_NAME
P_COL_SEQ
P_COL_TYPE
P_COL_WIDTH
P_NULLABLE
P_TRANSLATE
P_PRECISION
P_SCALE
1. What are the Special and Pair Flex Field
Special Value Sets uses FlexField itself
Pair Two Flex Fields together specifies a range of valid values.
1. What are the Translatable Dependent and Independent Flex Fields
Translatable Independent Input must exist on previously defined set List
of
Values. Translated value can be used. 57
Translatable Dependent means Input is checked against a subset of values
Based on a prior value. Translated value can be used.
1. What is FND_REQUEST.SUBMIT_REQUEST
Submits a Concurrent Request for Processing by a Concurrent Manager.
Arguments Application,program,description,start_time,sub_request,arg1..
1. What is Client Info
By calling this Program in SQL PLUS or reports with correct parameters user