Using FNDLOAD with examples

This is a post which has been sitting in my “to-do” list for a LONG time ūüôā¬† Every time I need to download or upload configuration files into eBusiness Suite, I either have to trawl through the internet, or the documentation, or hope that someone near me has got an example handy, because I can never remember immediately which script I need to run to do what I want it to!

So, in one easy to read place, here’s my quick guide to using FNDLOAD – note that each command should be entered all on one line.

Before looking at the examples, there are a few things to be aware of.

  1. Pay careful attention when downloading Menus or Responsibilities.  If there are several developers working on Responsibilities and Menus, then you should be even more careful.  If Menus and / or Responsibilities are migrated, then you may end up with forms and functions in the new environment which are not ready for use in that environment.
  2. Be very careful when downloading flexfields which reference value sets with independent values.  For example, if you are migrating GL Segment Codes, then you will extract all the test data in GL codes which might not be applicable for the new environment.
  3. FNDLOAD provides a number of variations for each extract Рthe examples below are not meant to be definitive, so please feel free to amend the examples as you find necessary.  For example, you can restrict the download and uploads to specific segments within Descriptive Flex Fields.
  4. Please test your FNDLOAD properly, to ensure that you do not get any unexpected data extracted.  Before uploading the extract into a new environment, make sure that the file only contains data that you want to migrate to the new environment.

So, here’s my examples on how to use FNDLOAD…

FND Messages
Downloading one message:

FNDLOAD apps/password 0 Y DOWNLOAD
  $FND_TOP/patch/115/import/afmdmsg.lct
  filename.ldt
  FND_NEW_MESSAGES
  APPLICATION_SHORT_NAME='short name'
  MESSAGE_NAME=message name

Example to extract one specific HR message:
  FNDLOAD apps/apps 0 Y DOWNLOAD
    $FND_TOP/patch/115/import/afmdmsg.lct
    CAC_SR_HIER_ENTRY_DATE_ERROR.ldt
    FND_NEW_MESSAGES
    APPLICATION_SHORT_NAME='PER'
    MESSAGE_NAME=CAC_SR_HIER_ENTRY_DATE_ERROR

Downloading all the messages for the same application:

FNDLOAD apps/password 0 Y DOWNLOAD
  $FND_TOP/patch/115/import/afmdmsg.lct 
  filename.ldt
  FND_NEW_MESSAGES
  APPLICATION_SHORT_NAME='short name'

Example to extract all HR messages:
  FNDLOAD apps/apps 0 Y DOWNLOAD
    $FND_TOP/patch/115/import/afmdmsg.lct
    ALL_HR_MESSAGES.ldt
    FND_NEW_MESSAGES
    APPLICATION_SHORT_NAME='PER'

Uploading FND messages from a file:

FNDLOAD apps/password 0 Y UPLOAD
  $FND_TOP/patch/115/import/afmdmsg.lct filename.ldt

Menus
Downloading a menu:

FNDLOAD apps/password O Y DOWNLOAD
  $FND_TOP/patch/115/import/afsload.lct filename.ldt
  MENU MENU_NAME="menu name"

Example to extract Workflow Administrator (New) Menu:
  FNDLOAD apps/apps O Y DOWNLOAD
    $FND_TOP/patch/115/import/afsload.lct FND_WFADMIN_NEW.ldt
    MENU MENU_NAME="FND_WFADMIN_NEW"

Note that since Oracle Menus are not attached to applications, there is no need to include an application short name.

Uploading the menu:

FNDLOAD apps/password O Y UPLOAD
  $FND_TOP/patch/115/import/afsload.lct filename.ldt

Descriptive Flexfields
Downloading:

FNDLOAD apps/password 0 Y DOWNLOAD
  $FND_TOP/patch/115/import/afffload.lct
  filename.ldt
  DESC_FLEX
  APPLICATION_SHORT_NAME='short name'
  DESCRIPTIVE_FLEXFIELD_NAME='flexfield name'

Example to download person DFF:
  FNDLOAD apps/apps 0 Y DOWNLOAD
    $FND_TOP/patch/115/import/afffload.lct
    PER_PEOPLE_DFF.ldt
    DESC_FLEX
    APPLICATION_SHORT_NAME='PER'
    DESCRIPTIVE_FLEXFIELD_NAME='PER_PEOPLE'

You can find the name of the descriptive flexfield from the table name by running the following code:

SELECT application_id
,      descriptive_flexfield_name
,      application_table_name
FROM   fnd_descriptive_flexs_vl
WHERE  application_table_name = 'table name'
ORDER BY application_table_name;

Example:
  SELECT application_id
  ,      descriptive_flexfield_name
  ,      application_table_name
  FROM   fnd_descriptive_flexs_vl
  WHERE  application_table_name LIKE 'PER%PEOPLE%'
  ORDER BY application_table_name;

Uploading:

FNDLOAD apps/password 0 Y UPLOAD
  $FND_TOP/patch/115/import/afffload.lct filename.ldt

Concurrent Programs
Downloading a program:

FNDLOAD apps/password O Y DOWNLOAD
  $FND_TOP/patch/115/import/afcpprog.lct
  filename.ldt
  PROGRAM
  APPLICATION_SHORT_NAME="short name"
  CONCURRENT_PROGRAM_NAME="program name"

Example to download HR allocate checklist process:
  FNDLOAD apps/apps O Y DOWNLOAD
  $FND_TOP/patch/115/import/afcpprog.lct
  ALLOCATECKL.ldt
  PROGRAM
  APPLICATION_SHORT_NAME="PER"
  CONCURRENT_PROGRAM_NAME="ALLOCATECKL"

Uploading the program:

FNDLOAD apps/password O Y UPLOAD
  $FND_TOP/patch/115/import/afcpprog.lct filename.ldt

Request Groups
Downloading a request group:

FNDLOAD apps/password O Y DOWNLOAD
  $FND_TOP/patch/115/import/afcpreqg.lct
  filename.ldt
  REQUEST_GROUP
  REQUEST_GROUP_NAME="request group name"
  APPLICATION_SHORT_NAME="short name"

Example to download Workflow Administrator request group:
  FNDLOAD apps/apps O Y DOWNLOAD
    $FND_TOP/patch/115/import/afcpreqg.lct
    Workflow_Admin_Request_Group.ldt
    REQUEST_GROUP
    REQUEST_GROUP_NAME="Workflow Administrator"
    APPLICATION_SHORT_NAME="FND"

Uploading the request group:

FNDLOAD apps/password O Y UPLOAD
  $FND_TOP/patch/115/import/afcpreqg.lct filename.ldt

Lookup Values
Downloading lookup values:

FNDLOAD apps/password 0 Y DOWNLOAD
  $FND_TOP/patch/115/import/aflvmlu.lct
  filename.ldt
  FND_LOOKUP_TYPE
  APPLICATION_SHORT_NAME ='short name'
  LOOKUP_TYPE="lookup type"

Example to download lookup values for Workflow Signature Policy:
  FNDLOAD apps/apps O Y DOWNLOAD
    $FND_TOP/patch/115/import/aflvmlu.lct
    WF_SIG_POLICY.ldt
    FND_LOOKUP_TYPE
    APPLICATION_SHORT_NAME ='FND'
    LOOKUP_TYPE="WF_SIG_POLICY"

Uploading:

FNDLOAD apps/password 0 Y UPLOAD
  $FND_TOP/patch/115/import/aflvmlu.lct filename.ldt

User definitions
Downloading a user:

FNDLOAD apps/password 0 Y DOWNLOAD
  $FND_TOP/patch/115/import/afscursp.lct
  filename.ldt
  FND_USER USER_NAME='user name'

Example to extract my user from my environment:
  FNDLOAD apps/apps 0 Y DOWNLOAD
    $FND_TOP/patch/115/import/afscursp.lct
    USER_SEARLEM.ldt
    FND_USER USER_NAME='SEARLEM'

Uploading the user file:

FNDLOAD apps/password 0 Y UPLOAD
  $FND_TOP/patch/115/import/afscursp.lct filename.ldt

Extracting a user using this method will also extract the responsibility definitions and assign them to the user. When the user logs into the new environment, they will be prompted to change their password.


Profile Options
Downloading profile option values:

FNDLOAD apps/password O Y DOWNLOAD
  $FND_TOP/patch/115/import/afscprof.lct
  filename.ldt
  PROFILE
  PROFILE_NAME="profile name"
  APPLICATION_SHORT_NAME="short name"

Example to extract value of FND: Diagnostics:
  FNDLOAD apps/apps O Y DOWNLOAD
  $FND_TOP/patch/115/import/afscprof.lct
  FND_DIAGNOSTICS.ldt
  PROFILE
  PROFILE_NAME="FND_DIAGNOSTICS"
  APPLICATION_SHORT_NAME="FND"

Note that we pass in the short name of profile option, not the user profile option name. You can find the short name from the user profile option name by running the following SQL:

SELECT application_id
,      profile_option_name
,      profile_option_id
,      user_profile_option_name
FROM   fnd_profile_options_vl
WHERE  user_profile_option_name LIKE '%Diagn%'
ORDER BY profile_option_name;

Uploading:

FNDLOAD apps/password O Y UPLOAD
  $FND_TOP/patch/115/import/afscprof.lct filename.ldt

Responsibilities
Downloading a responsibility:

FNDLOAD apps/password O Y DOWNLOAD
  $FND_TOP/patch/115/import/afscursp.lct
  filename.ldt
  FND_RESPONSIBILITY
  RESP_KEY="responsibility"

Example to download Application Developer responsibility:
  FNDLOAD apps/apps O Y DOWNLOAD
    $FND_TOP/patch/115/import/afscursp.lct
    APPLDEV.ldt
    FND_RESPONSIBILITY
    RESP_KEY="APPLICATION_DEVELOPER"

Uploading:

FNDLOAD apps/password O Y UPLOAD
  $FND_TOP/patch/115/import/afscursp.lct filename.ldt

Forms Personalizations
Downloading personalizations:

FNDLOAD apps/password 0 Y DOWNLOAD
  $FND_TOP/patch/115/import/affrmcus.lct
  filename.ldt
  FND_FORM_CUSTOM_RULES
  function_name="function name"

Example to download personalizations to the Document Sequences form:
  FNDLOAD apps/apps 0 Y DOWNLOAD
    $FND_TOP/patch/115/import/affrmcus.lct
    FND_FNDSNDSQ.ldt
    FND_FORM_CUSTOM_RULES
    function_name="FND_FNDSNDSQ"

Uploading:

FNDLOAD apps/password 0 Y UPLOAD
  $FND_TOP/patch/115/import/affrmcus.lct filename.ldt

1 thought on “Using FNDLOAD with examples

  1. Good article. There is a tool, which helps to automate FNDLOAD execution and the entire EBS migration process.

    Check migrationlogik.com

Comments are closed.

By continuing to use the site, you agree to the use of cookies. more information

In common with almost all professionally run websites, this website logs the IP address of each visitor in order to keep it running reliably. This is also essential for protecting the website and its visitors from malicious attacks, including infection with malware.

This website provides information as a service to visitors such as yourself, and to do this reliably and efficiently, it sometimes places small amounts of information on your computer or device (e.g. mobile phone). This includes small files known as cookies. The cookies stored by this website cannot be used to identify you personally.

We use cookies to understand what pages and information visitors find useful, and to detect problems such as broken links, or pages which are taking a long time to load.

We sometimes use cookies to remember a choice you make on one page, when you have moved to another page if that information can be used to make the website work better. For example:
- avoiding the need to ask for the same information several times during a session (e.g. when filling in forms), or
- remembering that you have logged in, so that you don’t have to re-enter your username and password on every page.

You can prevent the setting of cookies by adjusting the settings on your browser (see your browser Help for how to do this). Be aware that disabling cookies will affect the functionality of this and many other websites that you visit.

Close