AOL Questions 11/17/2020: Subba Reddy S
AOL Questions 11/17/2020: Subba Reddy S
11/17/2020
Where do concurrent request logfiles and output files go?
The concurrent manager first looks for the environment variable $APPLCSF
If this is set, it creates a path using two other environment variables:
$APPLLOG and $APPLOUT
It places log files in $APPLCSF/$APPLLOG
Output files go in $APPLCSF/$APPLOUT
So for example, if you have this environment set:
$APPLCSF = /u01/appl/common
$APPLLOG = log
$APPLOUT = out
The concurrent manager will place log files in /u01/appl/common/log, and
output files in /u01/appl/common/out
Note that $APPLCSF must be a full, absolute path, and the other two are
directory names.
If $APPLCSF is not set, it places the files under the product top of the
application associated with the request.
So for example, a PO report would go under $PO_TOP/$APPLLOG and
$PO_TOP/$APPLOUT
Logfiles go to: /u01/appl/po/9.0/log
Output files to: /u01/appl/po/9.0/out
Of course, all these directories must exist and have the correct permissions.
Note that all concurrent requests produce a log file, but not necessarily
an output file.
How do I find out what the currently installed release of Applications is?
SELECT release_name FROM fnd_product_groups
Page 1 of 41 1
SUBBA REDDY S AOL Questions
11/17/2020
How do I generate a message file (usaeng.msb)?
Use: FNDMDCMF applsys/pwd 0 Y APP usaeng
where: applsys/pwd is the APPLSYS user and password
and APP is the short name of the application (like PO or INV)
How do I set the name of the site that shows up under Help->About Oracle Applications?
Set the profile option 'Site Name'
How do I find the version of an installed product? (such as Reports, SQL*Net etc.)
One of the easiest ways is to run the product if you can. Running Reports designer will give
you the Reports version, running SQL*Plus will give you its version etc.
Another easy way is to launch the Oracle Installer and look in the installed products on the
right side. It will list all the products installed with their versions.
Another way is to look at the .rgs file. This file is located in $ORACLE_HOME/orainst
Page 2 of 41 2
SUBBA REDDY S AOL Questions
11/17/2020
On UNIX, it will be called unix.rgs. On the PC, it will be called Windows.rgs.
This file will list all the products installed and their versions. Note though that
this file is not always correct. For example, patching Reports from 2.5.5.4 to 2.5.5.8
will not show up in this file as the new version. Running Reports Designer is the best
way of getting the correct version.
Also, on UNIX there is an executable called 'inspdver'. It is located in
$ORACLE_HOME/orainst.
Running it will produce a display of all the installed products. It just pulls the
information from unix.rgs, so it may show the wrong information as well.
I just ran AutoInstall successfully, but I don't have character mode! (on UNIX)
You probably picked 'Server' when asked what type of installation to do.
This choice installs everything except the character mode forms and
executables. The choice you wanted to pick was 'Standalone'.
You can recreate character mode by unloading the forms directories,
regenerating the forms, and relinking aiap.
How do I generate one single form? (As opposed to using adadmin to generate them all)
Character mode forms: Use adfrmgen
Usage : adfrmgen filelist=<name of filelist file>
or : adfrmgen product="product shortname(s)" [filepath="dir-path/filename"]
For example :
adfrmgen filelist=filelist.txt
adfrmgen product="gl" filepath="forms/GLXSSMTY.inp" (one file)
adfrmgen product="gl" filepath="forms" (entire directory)
adfrmgen product="gl" (entire product)
adfrmgen product="fnd gl" (multiple products)
adfrmgen product="fnd gl" filepath="forms" (entire directories from multiple products)
Example:
f45gen module=/u16/appl/nca/au/1.0/forms/US/FNDCPMCP.fmb
userid=APPS_APPDEMO/APPS
output_file=/u16/appl/nca/fnd/7.5/forms/US/FNDCPMCP.fmx
module_type=form batch=yes compile_all=special
Note that in Release 11, adadmin will allow you to compile specific forms
Page 3 of 41 3
SUBBA REDDY S AOL Questions
11/17/2020
adrelink force=y ranlib=y "ad addmimp"
UNIX questions
I know the name of a UNIX command, but I don't know what it does?
Use the 'whatis' command
whatis will give a brief description of the command
Example:
$ whatis grep
grep grep (1) - search a file for a pattern
OK. I know what a UNIX command does, but I can't remember the name?
Use 'man -k'
This will do a keyword search of the man pages
Example:
$ man -k grep
egrep egrep (1) - search a file for a pattern using full regular expressions
fgrep fgrep (1) - search a file for a character string
fmlgrep fmlgrep (1f) - search a file for a pattern
grep grep (1) - search a file for a pattern
nisgrep nismatch (1) - utilities for searching NIS+ tables
Page 4 of 41 4
SUBBA REDDY S AOL Questions
11/17/2020
other necessary code, and produces an executable (or 'binary') Object code can also be collected
into a library file, or archive. (.a file) This file is created by the 'ar' command. It just collects all
the object code into one file, and adds a table of contents to it. Library files can be linked into an
executable the same way as .o files. Oracle delivers its code (except for the NT platform) as .o
or .a files. These files are run through the linker to produce executables.
The -comp switch will give you the flags with which the object was compiled as will as the
revision. The revision number for objects built with 10.x will appear as "A.10.xx" where xx is
dependent on the exact revision and patch level. For 11.0 objects, the revision number will
appear as "A.11.xx".
Page 5 of 41 5
SUBBA REDDY S AOL Questions
11/17/2020
So either: 1. A wrong name was passed to the make command
2. The make file does not contain the given target.
This could mean that you need a newer version of the makefile
If the error points to a .o file, as in XXX.o, it could mean that the .o file is missing.
What happens is, make finds the target in the makefile, sees that it depends on the .o file, and
looks for the .o file in the filesystem. When it does not find it, it tries to make the .o file by
looking for a target for the .o file. When it does not find this target, it returns the error.
Note that adrelink uses makefiles called $PROD_TOP/lib/prod.mk Where 'prod' is the short
name of the product, like fnd.mk and inv.mk
Page 6 of 41 6
SUBBA REDDY S AOL Questions
11/17/2020
libresolv.so.2 => /usr/lib/libresolv.so.2
libelf.so.1 => /usr/lib/libelf.so.1
libintl.so.1 => /usr/lib/libintl.so.1
libmp.so.1 => /usr/lib/libmp.so.1
libw.so.1 => /usr/lib/libw.so.1
This lists all the libraries adaimgr expects to load, and where they are located.
Using ldd -s will also show the search path ldd used to find the libraries
Using ldd -v will list a more verbose output
See the ldd man pages for more information.
(See frhp10.fr.oracle.com/ports.html for the command to use on platforms other than
Solaris)
I want to eject the cdrom, but it says it is busy. How do I find who has it locked?
Use the 'fuser' command
Type: fuser -u /cdrom (or whatever mount point the cdrom is on)
This will give a process ID, followed by a letter
The letter 'c' indicates this process is using the /cdrom directory as it's current directory
From the process id, you should be able to find the user
Page 7 of 41 7
SUBBA REDDY S AOL Questions
11/17/2020
I'm trying to uncompress a file that I know is in this directory, but it keeps telling me the file
cannot be found?
Make sure the file has an extension of .Z (capital Z)
Uncompress will try to add the extension if it does not have it and you
will get something like this:
$ uncompress 504305t.z
504305t.z.Z: No such file or directory
Networking
Page 8 of 41 8
SUBBA REDDY S AOL Questions
11/17/2020
How do I start/stop the TNS listener?
The listener default name is LISTENER. If the listener has a different name, you must
supply the name
Reports/Printing
Substitute the report name you want to run. Use the srw file appropriate for the report
The output will be in the try.out file
Page 9 of 41 9
SUBBA REDDY S AOL Questions
11/17/2020
The regular Reports versions:
r25desm: Reports Designer
r25run: Reports runtime - ascii
r25runm: Reports runtime - bitmapped
You will see the actual command executed by the concurrent manager, and any arguments
passed to it. You should be able to execute this from the command line. From the example
above, we see that lp is being called to print one copy on printer
orlprt1, with the title being 'PFERGUSO.1457540'
The last argument is the file to be printed. You can open up this file and see the escape
codes at the top and bottom. From this information, you can determine if the concurrent
manager is using the correct arguments and escape codes. If everything looks OK, and the
problem replicates from the command line, the problem may be with the printer or the OS print
services.
Page 10 of 41 10
SUBBA REDDY S AOL Questions
11/17/2020
troubleshoot the correct escape code sequence much faster than submitting a report.
Alerts
Concurrent Manager
Page 11 of 41 11
SUBBA REDDY S AOL Questions
11/17/2020
DELETE from fnd_concurrent_processes;
UPDATE fnd_concurrent_queues
SET running_processes=0, max_processes=0;
If you do not need the information in fnd_concurrent_requests and it is getting very large,
you can truncate this table as well. This also works to shutdown the concurrent managers after
killing the OS processes.
Other managers will have the name of the executable, like ARLIBR or INVLIBR:
$ ps -ef | grep ARLIBR
vd11 13683 13660 0 May 11 ? 0:20 ARLIBR APPS/82A2A4940000000000000
000000000000000000000000000000000000000 AR ART
I hit the Restart button to start the Standard manager but it still didn't start?
Telling a manager to restart just sets the status to Restart. The ICM will start it the next
process monitor session or the next time the ICM starts.
Use Activate to start a manager immediately.
Page 12 of 41 12
SUBBA REDDY S AOL Questions
11/17/2020
Also, when a manager is deactivated manually, the ICM will not restart it. You will need
to set it to Restart, or activate it manually.
Why does the "to start" date of my concurrent request default to 24 hours in the past?
The short story:
If you get patch 387798, then this behavior can be turned on and off using the profile
"Concurrent:Multiple Time Zones".
The long story:
This behavior is a temporary fix until we can build time zone support into the product in a
future release.
If the profile "Concurrent:Request Start Time" is set, then we default the "to start" date of a
request to that value. Otherwise we assume that the user wants the request to start as soon as
possible.
Problems occur when the user is in a time zone that is ahead of the time zone in which the
concurrent managers are running. Say a user submits the request in a field office in the Eastern
time zone at 9:00, so we default the requested start date to 9:00. But now the concurrent
managers are at HQ in California, so user's request will run at 9:00 Pacific time, 12:00 Eastern.
In order to default requests to start as soon as possible, we submit them to start 24 hours before
their request date. This covers the worst case time zone difference.
How can users submit requests with CONCSUB without giving them the APPS password?
Try this:
1. As the applmgr user, create a shell script that runs CONCSUB
Either hardcode the parameters for the report, or pass them in as parameters to the
script.
2. Change the permissions on this script to 700. Now no one can read this script and get
the password.
3. Create another script that calls the first script. Pass parameters along if you need
to.
4. Change the permissions on this script to 6755. Now any user can execute and read
the second script, which calls the first one. Have the users run this script to submit
their requests without knowing the password.
What is the syntax for controlling the concurrent manager using startmgr and concsub in NT?
On NT, the concurrent manager is run as an NT service. You start and stop the managers
using the Services control panel.
See the Applications Installation manual for NT, Appendix A for details.
See pg. 5-9 of this manual for instructions on creating the concurrent manager service.
NCA
Page 13 of 41 13
SUBBA REDDY S AOL Questions
11/17/2020
NO! See the 10.7 NCA install manual. Chapter 2 says that if you previously installed
the 16.1 server patches, you can omit all steps in the chapter.
The patches included with 16.1 and the NCA server updates are exactly the same thing.
How does my environment need to be set before starting the Forms Server?
Page 14 of 41 14
SUBBA REDDY S AOL Questions
11/17/2020
The Forms server needs to be started with a complete Applications environment, similar to
starting the concurrent managers. This means having APPL_TOP set, and sourcing the
APPLSYS.env environment file.
The Forms server will encounter many problems, including failing to start, if this is not
done.
Run the Forms server on a different port using the static html file?
In the html file, add the line:
<PARAM name="serverPort" value="9003">
after the other PARAM tags, using the port number you want
Then start the Forms server on that port
Do I need separate ORACLE_HOMES for my database server and my Forms server if they are
on
the same machine?
Yes, because Dev2K 1.3.2 is installed in one, and Dev2K 1.6 is installed in the other. You
can install them both in one home, but you will have problems when you try to relink.
What is the correct syntax for running a local copy of the jar file?
archive="file:///c:/java/jdk1.1.5.16/appscore.jar"
(Using the correct path and drive letter for your PC)
Can I use the same html file for JInitiator as the appletviewer?
No, the JInitiator file contains <EMBED> and <OBJECT> tags instead of
an <APPLET> tag. You will get an error using this file with the appletviewer.
Java/JDK
Page 15 of 41 15
SUBBA REDDY S AOL Questions
11/17/2020
JRE is the Java Runtime Environment
JDK is the Java Developers Kit
They both can run Java programs, the JDK is also a full development environment.
It contains the Java compiler and other utilities required to create Java programs,
The JRE can only run the programs.
How do I specify where I want the identitydb.obj file to be put on the client?
The identitydb.obj file is created when javakey is first run. (From appscert.bat)
This file is used to hold security information for the appletviewer
In the jdk\lib\security directory is a file called java.security
Add a line to this file:
identity.database=C:\\directory\\path
using the path you want the file placed in
Note that you must use double backslashes
Page 16 of 41 16
SUBBA REDDY S AOL Questions
11/17/2020
Customization
Now custom concurrent programs, forms, reports, etc. can be registered against
your new application.
Page 17 of 41 17
SUBBA REDDY S AOL Questions
11/17/2020
Fill in the executable name, application and execution method.
For the Execution File, fill in just the filename. The concurrent manager will
look in the appropriate directory under the application's top directory.
For spawned programs, the file must be in the bin directory, for Oracle Reports the
rdf file must be in the srw directory.
For PLSQL concurrent programs, put the name of the stored procedure.
Enter the concurrent program name, application, short name and description.
Check Standard Submission if you want to be able to submit this program from the
Standard Report Submission form.
Enter the name of the executable you defined and any report information if necessary.
Also define any parameters your program needs here and any incompatibilities.
Immediate programs:
Just don't do it.
Page 18 of 41 18
SUBBA REDDY S AOL Questions
11/17/2020
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
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
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.
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
32-bit (NCA):
If the forms are AOL forms (ie created from template.fmb) they cannot be run from the
Forms Designer or Forms Runtime because these executables do not have the AOL user
exits linked in.
You will see many FRM-40800 errors trying to run forms this way.
Also see bug 414115 that describes a problem with Forms 4.5 and attaching libraries.
The only way to run these forms is through Applications.
How come when I close my custom form using the 'X' close box I get an export window popping
up?
You need to look at the procedure APP_CUSTOM.CLOSE_WINDOW
This procedure is defined in the TEMPLATE form. It contains instructions in the
comments on how to modify this procedure. You must do this for all of the custom forms you
write or you will have problems closing the window.
Page 19 of 41 19
SUBBA REDDY S AOL Questions
11/17/2020
How do I preserve customizations through an upgrade?
The upgrade process may overwrite any data owned by one of the Oracle Applications.
Move all of your customizations (menus, responsibilities, report groups, etc) to a custom
application. After the upgrade, you can move them back if you want.
Can I disable the items in the Help menu? (like Trace, Debug, etc)
Yes.
Web Applications
Database questions
Which version of 'alter package' compiles just the header? the body? both?
ALTER PACKAGE package_name COMPILE - compiles the header and the body
ALTER PACKAGE package_name COMPILE PACKAGE - compiles just the header
ALTER PACKAGE package_name COMPILE BODY - compiles just the body
Page 20 of 41 20
SUBBA REDDY S AOL Questions
11/17/2020
How do I get the version of a package or package body?
The table USER_SOURCE contains the text of all the packages in the current schema.
Each package header or body will have a version number in the text, something like:
/* $Header: AFSCWEBS.pls 61.0 98/08/13 09:26:56 porting ship $ */
This shows that this package is version 61.0
You can use:
SELECT text FROM user_source WHERE name = <package name> AND TEXT LIKE
'%$Header%';
This also shows the name of the file (AFSCWEBS.pls) that contains the CREATE
statement for this package. You can run this script if you need to recreate this package.
How do I find the name of the script that creates a particular package header or body?
See the question above.
AOL
Terminology
Key Flexfield: Required flexfield used in Oracle applications. Structures are pre-defined by
Oracle, implemented by the users and are used for the accounting flexfield, the item flexfield,
etc. Key flexfield data flows between the Oracle Applications and is displayed on standard
reports.
Descriptive Flexfield: Optional flexfield used in Oracle applications to store custom data. Most
forms have the ability to store descriptive flexfield data. Descriptive flexfield data resides
within the applications and is not displayed on any standard or FSG reports. All reporting is
custom.
What is the diff. betn. KFF and DFF? or what is KFF or DFF?
A KFF is a set of segments, each segment will identify a unique characterstic of an entity. it can
be termed as intelligent key. we can define our business requirements without doing any
programming.
A DFF is a set of segments which can be used to capture extra info. without any customisation.
Attribute: Column name in the table where the flexfields are stored. Review the table name by
using \ Row Who in character mode or Help ... About This Record in GUI mode to determine
the underlying table. Review the Technical Reference Manual to determine the number of
attribute fields available.
Context Segment: A segment value only valid while referencing another value. User is
prompted conditionally to input a value.
Global Segment: A segment value is entered for every record. User is prompted every time to
input a value.
Page 21 of 41 21
SUBBA REDDY S AOL Questions
11/17/2020
Long List: An option that generates a prompt to the user to enter a partial value before
displaying the full list of valid values.
Segment: An individual field within a flexfield structure. Represents the lowest level of detail.
Segment Structure: The series of segments within the flexfield. Represents the concatenation
of all segments.
Value Set: Defines the segment size, data format, and other data characteristics.
Validation method: Defines how the flexfield values will be validated prior to committing to
the database.
Value Sets
The value set defines the flexfield data characteristics such as size, format, and validation
techniques. Data format options include pre-defined formats such as the date format, to allow
alpha characters or not, or to right justify and zero fill the values or not. Additionally, security
may be used or not and whether the values are part of a long list or not is also defined. One of
the more important options is the validation type.
Segment Values
When using the value set validation types of independent, dependent or table, the user must
enter the valid segment values. The input length is determined by the value set length. Note
records may be enabled or disabled in this form.
Page 22 of 41 22
SUBBA REDDY S AOL Questions
11/17/2020
Another type of Descriptive flexfield is a self context sensitive. The system prompts for the
driver value of the rest of the Descriptive flexfield. An example delivered by Oracle, is the VAT
tax entry on the Journal Lines entry. The user enters a value for the prompt of whether this
Journal is a result of a VAT invoice or not. When the user enters "Yes", additional information
about the entry is asked for. If the user selects "No", no additional information is prompted. This
is known as a self context sensitive Descriptive flexfield.
Template form
1. Overview of the TEMPLATE Form
2. Libraries in the TEMPLATE Form
3. Special Triggers in the TEMPLATE Form
APPDAYPK
APPDAYPK contains the packages that control the Oracle Applications Calendar feature.
FNDSQF
Page 23 of 41 23
SUBBA REDDY S AOL Questions
11/17/2020
FNDSQF contains packages and procedures for Message Dictionary,flexfields, profiles, and
concurrent processing. It also has various other utilities for navigation, multicurrency, WHO,
etc.
PRE– FORM
FND_STANDARD.FORM_INFO(’$Revision: <Number>$’,
’<Form Name>’,
’<Application Shortname>’,
’$Date: <YY/MM/DD HH24:MI:SS> $’,
’$Author: <developer name> $’);
APP_STANDARD.EVENT(’PRE– FORM’);
APP_WINDOW.SET_WINDOW_POSITION(’BLOCKNAME’,
’FIRST_WINDOW’);
Page 24 of 41 24
SUBBA REDDY S AOL Questions
11/17/2020
Who columns
ap_standard.set_who; in Pre-insert /pre-update(last_update_date/creattion_date:-PC
creation_or_last_update_date ) Created_by , last_updated_by, lastupdate_login :PC
display_item).
Query Find :- copy the query find object from appsstand.fmb Type :-1)Row lov,2) Find
Window.
Find Window
1) copy the query_find object from appsstand.fmb
New Button: When-Button-Pressed write this code :- app_find.new(‘Resultant Block’);
Find button: When-button-Pressed write this code :- apps_find.new(‘Resultant Block’);
2) Pre-Query trgger at resultant block execution style before
if :parameter.g_query_find =’TRUE’ Then
Copy(‘:QF_block.empno’,’:emp.empno’);
Source , destination
App_find.query_range(‘hiredate_from’,’hiredate_to’,’emp.hiredate’ )
3) Create user defined trigger QUERY_FIND BLOCK level (override)
app_find.query_find(Resultant window ,find window ,find block);
CALENDAR :
1)change the property class of date field to textitem_date. Lov property set Enable_list_lamp
2) Key-Listval trigger at date field execution style override call the CALENDAR.SHOW
Page 25 of 41 25
SUBBA REDDY S AOL Questions
11/17/2020
parameter to retrieve the concurrent request id.P_FLEXDATA hold the SQL SELECT
statement.
3) Call the FND FLEXSQL from your before report trigger to populate the P_FLEXDATA
SRW.REFERENCE(:P_STRUCT_NUM); ------------ this guarantees that
column/parameter has lates values.
SRW.USER_EXIT(‘FND FLEXSQL
Code =”GL”
num= ”p_STRUCT_NUM”
appl_short_name=”SQLGL”
opuput=”:p_FLEXDATA”
MODE=”SELECT”
DISPLAY=”ALL”);
Muti- Org :- when you pick a responsibility the oracle application assign the org_id value to
the responsibility
To assign the particular org_id to your SQL session use the
SQL> dbms_application_info.set_client_info(‘org_id’ );
Naming Standards
1. Database objects
2. Form objects
3. File standards
4. PL/SQL Packages and Procedures
5. Reserved Words
Database objects :
Table name -- prod_objects
prod is the product short name, and objects is the name of the objects stored in
the table and should be plural.
Item
Use logical, meaningful, and concise names. Note that table columns
based on LOOKUP_CODES should have a ”_CODE” or ”_FLAG”
suffix, and the displayed meaning item should have the same name but
without the suffix.
File Standards
Coding standards
Page 26 of 41 26
SUBBA REDDY S AOL Questions
11/17/2020
WHEN– WINDOW– ACTIVATED/DEACTIVATED triggers
Open File dialog box
– It would open a file on the applications server, rather than
on the client machine (where the browser is) as a user might
expect
Combo boxes
– Our standards do not use combo boxes anyhow
Text_IO and HOST built– in routines
– These would take place on the applications server, rather
than on the client machine (where the browser is) as a user
might expect
Page 27 of 41 27
SUBBA REDDY S AOL Questions
11/17/2020
12. Code any other appropriate logic.
13. Test your form by itself.
14. Register your form with Oracle Application Object Library.
15. Create a form function for your form and register any subfunctions.
16. Add your form function to a menu, or create a custom menu.
17. Assign your menu to a responsibility and assign your responsibility
to a user. See: Oracle Applications System Administrator’s Guide.
18. Test your form from within Oracle Applications (especially if it
uses features such as user profiles or function security).
In Custom Interface we need to create a temp. table and load the data into the temp. table using
sql loader or constellar then using sql script or some other means insert the data into to oracle
apps tables after validation if any.
AOL Loaders
Overview
In 11.5, all patches to AOL seed data must use loaders and not sql
scripts. Supported loaders in 11.5 are:
Page 28 of 41 28
SUBBA REDDY S AOL Questions
11/17/2020
enhancements such as data security entities and data versioning
support will not be added. For future development, use FNDLOAD
with afsload.lct to load entities that were in FNDSLOAD.
FNDSLOAD should only be used in pre-existing patches.
http://www-apps.us.oracle.com/atg/plans/r115/fndload.txt
http://www-apps.us.oracle.com/atg/plans/r115/fndloadqr.txt
Page 29 of 41 29
SUBBA REDDY S AOL Questions
11/17/2020
2. Include FNDLOAD config and data file in your ARU
The ARU automatic database driver generator will create your FNDLOAD
calls. It is not recommended to manually create your own database
driver file.
----------------------------------------------------------------------
afattach.lct - Attachment Setup data
FND_ATTACHMENT_FUNCTIONS
Sub-Entities
FND_ATTACHMENT_BLOCKS
FND_ATTACHMENT_BLOCK_ENTITIES
FND_DOC_CATEGORY_USAGES
Download Parameters
APPLICATION_SHORT_NAME
FUNCTION_NAME
FUNCTION_TYPE
FND_DOCUMENT_ENTITIES
Download Parameters
DATA_OBJECT_CODE
FND_DOCUMENT_CATEGORIES
Download Parameters
CATEGORY_NAME
FND_DOCUMENT_DATATYPES
----------------------------------------------------------------------
afcplibr.lct - Concurrent Program Libraries
LIBRARY
* NLS Upload only
Download Parameters
CONCURRENT_PROCESSOR_NAME
APPLICATION_SHORT_NAME
Page 30 of 41 30
SUBBA REDDY S AOL Questions
11/17/2020
----------------------------------------------------------------------
afcpmime.lct - Concurrent Program Mime Types
MIME_TYPE
* NLS Upload only
Download Parameters
FILE_FORMAT_CODE
----------------------------------------------------------------------
afcpprnt.lct - Concurrent Program Printers
PRINTER
* NLS Upload only
Download Parameters
PRINTER_NAME
----------------------------------------------------------------------
afcpprog.lct - Concurrent Program Definitions
PROGRAM
Sub-Entities
INCOMPATIBILITY
Download Parameters
CONCURRENT_PROGRAM_NAME
APPLICATION_SHORT_NAME
EXECUTABLE
Download Parameters
EXECUTABLE_NAME
APPLICATION_SHORT_NAME
----------------------------------------------------------------------
afcppstl.lct - Concurrent Program Printer Styles
STYLE
* NLS Upload only
Download Parameters
PRINTER_STYLE_NAME
----------------------------------------------------------------------
afcpque.lct - Concurrent Queues
QUEUE
* NLS Upload only
Download Parameters
CONCURRENT_QUEUE_NAME
Page 31 of 41 31
SUBBA REDDY S AOL Questions
11/17/2020
APPLICATION_SHORT_NAME
----------------------------------------------------------------------
afcpreqg.lct - Concurrent Request Groups
REQUEST_GROUP
Sub-Entities
REQUEST_GROUP_UNIT
Download Parameters
REQUEST_GROUP_NAME
APPLICATION_SHORT_NAME
----------------------------------------------------------------------
afcprset.lct - Concurrent Request Sets
REQ_SET
* NLS Upload only
Sub-Entities
STAGE
Download Parameters
REQUEST_SET_NAME
APPLICATION_SHORT_NAME
----------------------------------------------------------------------
afcpsch.lct - Concurrent Program Schedules
SCHEDULE
* NLS Upload only
Download Parameters
RELEASE_CLASS_NAME
APPLICATION_SHORT_NAME
----------------------------------------------------------------------
afcpwksh.lct - Concurrent Program Workshifts
WORKSHIFT
* NLS Upload only
Download Parameters
CONCURRENT_TIME_PERIOD_ID
APPLCIATION_SHORT_NAME
----------------------------------------------------------------------
afffload.lct - Flex data
VALUE_SET
Sub-Entities
Page 32 of 41 32
SUBBA REDDY S AOL Questions
11/17/2020
VSET_TABLE
VSET_EVENT
Download Parameters
FLEX_VALUE_SET_NAME
DESC_FLEX
Sub-Entities
DFF_COLUMN
DFF_REF_FIELD
DFF_CONTEXT
DFF_SEGMENT
Download Parameters
APPLICATION_SHORT_NAME
DESCRIPTIVE_FLEXFIELD_NAME
P_COLUMN_NAME
P_REF_FIELD_NAME
P_CONTEXT_CODE
P_SEGMENT_NAME
P_LEVEL
KEY_FLEX
Sub-Entities
KFF_COLUMN
KFF_FLEX_QUAL
KFF_SEGMENT_QUAL
KFF_STRUCTURE
KFF_WF_PROCESS
KFF_SH_ALIAS
KFF_CVR_RULE
KFF_CVR_LINE
KFF_SEGMENT
KFF_FLEXQ_ASSIGN
KFF_SEGQ_ASSIGN
Download Parameters
APPLICATION_SHORT_NAME
ID_FLEX_CODE
P_COLUMN_NAME
P_FLEX_QUAL_NAME
P_SEG_QUAL_NAME
P_STRUCTURE_CODE
P_WF_ITEM_TYPE
P_SH_ALIAS_NAME
P_CVR_RULE_NAME
P_SEGMENT_NAME
P_LEVEL
VALUE_SECURITY_RULE
Sub-Entities
VSEC_LINE
VSEC_USAGE
Download Parameters
FLEX_VALUE_SET_NAME
Page 33 of 41 33
SUBBA REDDY S AOL Questions
11/17/2020
FLEX_VALUE_RULE_NAME
PARENT_FLEX_VALUE_LOW
VALUE_ROLLUP_GROUP
Download Parameters
FLEX_VALUE_SET_NAME
HIERARCHY_CODE
VALUE_SET_VALUE
Sub-Entities
VAL_NORM_HIERARCHY
VAL_QUAL_VALUE
Download Parameters
FLEX_VALUE_SET_NAME
PARENT_FLEX_VALUE_LOW
FLEX_VALUE
----------------------------------------------------------------------
aflvmlu.lct - Lookup types and codes
FND_LOOKUP_TYPE
Sub-Entities
FND_LOOKUP_VALUE
Download Parameters
VIEW_APPSNAME
LOOKUP_TYPE
SECURITY_GROUP
----------------------------------------------------------------------
afmdmsg.lct - Messages
FND_NEW_MESSAGES
Download Parameters
APPLICATION_SHORT_NAME
MESSAGE_NAME
----------------------------------------------------------------------
afmlhelp.lct - On-Line Help Navigation Trees
FND_HELP_TREE
Download Parameters
LANGUAGE
CUSTOM_LEVEL
NODE_APP
NODE_KEY
APPLICATION_SHORT_NAME
PARENT_KEY
----------------------------------------------------------------------
afnls.lct - Multi-lang/currency/territory
Page 34 of 41 34
SUBBA REDDY S AOL Questions
11/17/2020
FND_CURRENCY
* NLS Upload only
Download Parameters
CURR_CODE
FND_LANGUAGE
* NLS Upload only
Download Parameters
LANG_CODE
FND_TERRITORY
* NLS Upload only
Download Parameters
TERR_CODE
----------------------------------------------------------------------
afscprof.lct - Profiles and Profile Values
PROFILE
Sub-Entities
FND_PROFILE_OPTION_VALUES
Download Parameters
PROFILE_NAME
APPLICATION_SHORT_NAME
----------------------------------------------------------------------
afscursp.lct - Security data (users, responsibilities, etc)
FND_USER
* Only upload if Apps schema passwords are identical
Sub-Entities
FND_USER_RESP_GROUPS
Download Parameters
USER_NAME
FND_SECURITY_GROUPS
Download Parameters
SECURITY_GROUP_KEY
FND_APPLICATION
* NLS Upload only
Download Parameters
APPLICATION_SHORT_NAME
FND_ORACLE_USERID
Download Parameters
ORACLE_USERNAME
FND_RESPONSIBILITY
Sub-Entities
FND_RESP_FUNCTIONS
Download Parameters
RESP_KEY
APPLICATION_SHORT_NAME
Page 35 of 41 35
SUBBA REDDY S AOL Questions
11/17/2020
FND_DATA_GROUPS
* NLS Upload only
Sub-Entities
FND_DATA_GROUP_UNITS
Download Parameters
DATA_GROUP_NAME
FND_ENABLED_PLSQL
Download Parameters
PLSQL_TYPE
PLSQL_NAME
----------------------------------------------------------------------
afsload.lct - Function Security Data
afsload.lct loads data for a Function and Data Security related entities:
FORM
FUNCTION
MENU
MENU_ENTRY
OBJECT
OBJECT_INSTANCE_SET
GRANT
NOTES:
1. afsload.lct supports UPLOAD in non-NLS mode only in version
115.17 and higher (available in bug 1485289).
2. You may also use FNDSLOAD to UPLOAD and DOWNLOAD the following
entities:
FORM
FUNCTION
MENU
MENU_ENTRY
FNDSLOAD does NOT include Data Security entities:
OBJECT
OBJECT_INSTANCE_SET
GRANT
If you use FNDSLOAD to download your ldt file, afsload.lct will
be used to upload translations with UPLOAD_MODE=NLS, but the ldt
file must be uploaded by FNDSLOAD. Ldt data files produced by
FNDSLOAD and afsload.lct are not compatible; you may not merge
or interchange them.
FORM
Download Parameters
APPLICATION_SHORT_NAME
FORM_NAME
Upload Parameter
UPLOAD_MODE: NLS
Page 36 of 41 36
SUBBA REDDY S AOL Questions
11/17/2020
FUNCTION
Download Parameters
FUNC_APP_SHORT_NAME
FUNCTION_NAME
Upload Parameter
UPLOAD_MODE: NLS
MENU
Sub-Entities
ENTRY
Download Parameters
MENU_NAME
Upload Parameter
UPLOAD_MODE: NLS, MERGE and REPLACE
OBJECT
Download Parameters
OBJ_NAME
Upload Parameter
UPLOAD_MODE: NLS
OBJECT_INSTANCE_SET
Download Parameters
INSTANCE_SET_NAME
INS_OBJ_NAME
Upload Parameter
UPLOAD_MODE: NLS
GRANT
Download Parameters
GNT_MENU_NAME
GNT_ISN
GNT_OBJ_NAME
Upload Parameter
UPLOAD_MODE: NLS, MERGE and REPLACE
----------------------------------------------------------------------
afsncat.lct - Sequential Numbers
FND_DOC_SEQUENCE_CATEGORIES
Download Paraemeters
APP_SHORT_NAME
----------------------------------------------------------------------
afdict.lct - AOL Data Dictionary
FND_TABLE
Sub-Entities
Page 37 of 41 37
SUBBA REDDY S AOL Questions
11/17/2020
FND_COLUMN
FND_INDEX
FND_INDEX_COLUMN
FND_PRIMARY_KEY
FND_PRIMARY_KEY_COLUMN
FND_FOREIGN_KEY
FND_FOREIGN_KEY_COLUMN
Download Parameters
APPLICATION_SHORT_NAME
TABLE_NAME
FND_VIEW
Sub-Entities
FND_VIEW_COLUMN
Download Parameters
APPLICATION_SHORT_NAME
VIEW_NAME
FND_SEQUENCE
Download Parameters
APPLICATION_SHORT_NAME
SEQUENCE_NAME
----------------------------------------------------------------------
afwfload.lct - Workflow Data (for NLS Upload only)
----------------------------------------------------------------------
fndstd.lct - Template config file
(1) how to download the concurrent program definition for a specific program ???????
(2) how to download the concurrent program definitions for all the custom concurrent
programs ???????
(3) how to download the concurrent program definition for a specific application ???????
Page 38 of 41 38
SUBBA REDDY S AOL Questions
11/17/2020
FNDLOAD apps/msc123 0 Y DOWNLOAD $FND_TOP/patch/115/import/afcpprog.lct
/oraspace/patches/vjafcpprog.ldt
PROGRAM APPLICATION_SHORT_NAME='MSCAR'
(4) how to download the concurrent programs which are registered under all custom
applications ??????????
(5) how to download the concurrent executable definition for a specific executable ???????????
Once the files were downloaded successfully we can upload the files using the upload argument
for ex
Vijay.Cherukuri
Oracle Applications DBA
[email protected]
For Upload:
$FND_TOP/bin/FNDLOAD APPS/APPS 0 Y UPLOAD
$FND_TOP/patch/115/import/afcpprog.
lct <ldt_result_file>
afcpprog.lct does download value sets associated with concurrent programs, but
does not offer a method to download and upload value set values.
Page 39 of 41 39
SUBBA REDDY S AOL Questions
11/17/2020
The only way to accomplish this is by using afffload.lct.An example of
downloading the values of an Independent value set is:
Page 40 of 41 40
SUBBA REDDY S AOL Questions
11/17/2020
$FNDLOAD apps/<apps_pwd> 0 Y UPLOAD @FND:patch/115/import/afcprset.lct &
lt;sample_links>.ldt
All the required Concurrent Program definitions should exist before loading
the Request Set on the Target Instance.
Page 41 of 41 41