FND_LOAD commands

Profile Options: Source: FNDLOAD apps/apps O Y DOWNLOAD $FND_TOP/patch/115/import/afscprof.lct XXPRNAME.ldt PROFILE PROFILE_NAME="XXPRNAME" APPLICATION_SHORT_NAME="PN" Target: 1. FNDLOAD apps/apps O Y UPLOAD $FND_TOP/patch/115/import/afscprof.lct XXPRNAME.ldt 2. FNDLOAD apps/apps 0 Y UPLOAD_PARTIAL $FND_TOP/patch/115/import/afscprof.lct XXPRNAME.ldt PROFILE PROFILE_NAME=" XXPRNAME" APPLICATION_SHORT_NAME="PN" ================================================================== Forms: Source: FNDLOAD apps/apps O Y DOWNLOAD $FND_TOP/patch/115/import/afsload.lct XXFRMNAME.ldt FORM APPLICATION_SHORT_NAME="PN" FORM_NAME="XXFRMNAME" Target: FNDLOAD apps/apps 0 Y UPLOAD @FND:patch/115/import/afsload.lct XXFRMNAME.ldt ================================================================== Functions: Source: FNDLOAD apps/apps O Y DOWNLOAD $FND_TOP/patch/115/import/afsload.lct XXFUNNAME.ldt FUNCTION FUNC_APP_SHORT_NAME="PN" FUNCTION_NAME="XXFUNNAME" Target: FNDLOAD apps/apps O Y UPLOAD @FND:patch/115/import/afsload.lct XXFUNNAME.ldt

ldt FND_RESPONSIBILITY RESP_KEY="XXRESNAME" APPLICATION_SHORT_NAME="PN" ================================================================== Request Groups: Source: FNDLOAD apps/apps O Y DOWNLOAD $FND_TOP/patch/115/import/afcpreqg.lct XXRQGNAME.ldt 2.lct XXRQGNAME. FNDLOAD apps/apps O Y UPLOAD $FND_TOP/patch/115/import/afscursp.lct XXRESNAME.ldt 2. FNDLOAD apps/apps O Y UPLOAD $FND_TOP/patch/115/import/afcpreqg.================================================================== Responsibilities: Source: FNDLOAD apps/apps O Y DOWNLOAD $FND_TOP/patch/115/import/afscursp. FNDLOAD apps/apps 0 Y UPLOAD_PARTIAL $FND_TOP/patch/115/import/afscursp.lct XXRQGNAME.ldt REQUEST_GROUP REQUEST_GROUP_NAME="XXRQGNAME" APPLICATION_SHORT_NAME="PN" .ldt REQUEST_GROUP REQUEST_GROUP_NAME="XXRQGNAME" APPLICATION_SHORT_NAME="PN" Target: 1.lct XXRESNAME.lct XXRESNAME.ldt FND_RESPONSIBILITY RESP_KEY="XXRESNAME" Target: 1. FNDLOAD apps/apps 0 Y UPLOAD_PARTIAL $FND_TOP/patch/115/import/afcpreqg.

ldt REQ_SET_LINKS REQUEST_SET_NAME="XXRQSNAME" Target: Step1: FNDLOAD apps/apps 0 Y UPLOAD $FND_TOP/patch/115/import/afcprset. FNDLOAD apps/apps 0 Y UPLOAD aflvmlu.lct XXLKPNAME.lct XXLKPNAME.lct XXLKPNAME.ldt 2.ldt REQ_SET REQUEST_SET_NAME="XXRQSNAME" Step2: FNDLOAD apps/apps 0 Y DOWNLOAD $FND_TOP/patch/115/import/afcprset.lct XXRQSLNAME.ldt Step2: FNDLOAD apps/apps 0 Y UPLOAD $FND_TOP/patch/115/import/afcprset.lct XXRQSNAME.lct XXRQSLNAME.================================================================== Request Sets: Source: Step1: FNDLOAD apps/apps 0 Y DOWNLOAD $FND_TOP/patch/115/import/afcprset.ldt FND_LOOKUP_TYPE APPLICATION_SHORT_NAME="PN" LOOKUP_TYPE="XXLKPNAME" Target: 1. FNDLOAD apps/apps 0 Y UPLOAD_PARTIAL $FND_TOP/patch/115/import/aflvmlu.lct XXRQSNAME.ldt FND_LOOKUP_TYPE LOOKUP_TYPE="XXLKPNAME" APPLICATION_SHORT_NAME="PN" ================================================================== .ldt ================================================================== Lookups: Source: FNDLOAD apps/apps O Y DOWNLOAD $FND_TOP/patch/115/import/aflvmlu.

ldt DESC_FLEX P_LEVEL='COL_ALL:REF_ALL:CTX_ONE:SEG_ALL' APPLICATION_SHORT_NAME="PN" DESCRIPTIVE_FLEXFIELD_NAME="PN_LEASE_DETAILS" P_CONTEXT_CODE="Global Data Elements" Target: FNDLOAD apps/apps 0 Y UPLOAD @FND:patch/115/import/afffload.ldt VALUE_SET FLEX_VALUE_SET_NAME="XXVALSNAME" APPLICATION_SHORT_NAME="PN" ================================================================== Descriptive Flex-fields: Source: FNDLOAD apps/apps O Y DOWNLOAD $FND_TOP/patch/115/import/afffload. FNDLOAD apps/apps 0 Y UPLOAD_PARTIAL $FND_TOP/patch/115/import/afffload.lct XXVALSNAME.ldt KEY_FLEX P_LEVEL=’COL_ALL:FQL_ALL:SQL_ALL:STR_ONE:WFP_ALL:SHA_ALL:CVR_ALL:SEG_ALL’ APPLICATION_SHORT_NAME="FND" ID_FLEX_CODE="key flex code" P_STRUCTURE_CODE="structure name” Target: FNDLOAD apps/apps 0 Y UPLOAD @FND:patch/115/import/afffload.lct XXKFFNAME. FNDLOAD apps/apps 0 Y UPLOAD afffload.lct XXVALSNAME.lct XXDFFNAME.lct XXKFFNAME.Value Sets: Source: FNDLOAD apps/apps O Y DOWNLOAD $FND_TOP/patch/115/import/afffload.ldt ================================================================== Key Flex-fields: Source: FNDLOAD apps/apps O Y DOWNLOAD $FND_TOP/patch/115/import/afffload.ldt .ldt 2.lct XXDFFNAME.lct XXVALSNAME.ldt VALUE_SET FLEX_VALUE_SET_NAME="XXVALSNAME" Target: 1.

ldt 2.lct XXCPNAME.lct XXFPNAME.ldt PROGRAM CONCURRENT_PROGRAM_NAME="XXCPNAME" APPLICATION_SHORT_NAME="PN" ================================================================== Form Personalization: Source: FNDLOAD apps/apps 0 Y DOWNLOAD $FND_TOP/patch/115/import/affrmcus.ldt PROGRAM APPLICATION_SHORT_NAME="PN" CONCURRENT_PROGRAM_NAME="XXCPNAME" Target: 1.lct .ldt FND_USER USER_NAME='XXUSERNAME' Target: FNDLOAD apps/apps 0 Y UPLOAD $FND_TOP/patch/115/import/afscursp.ldt . FNDLOAD apps/apps 0 Y UPLOAD_PARTIAL $FND_TOP/patch/115/import/afcpprog.lct .================================================================== Concurrent Programs: Source: FNDLOAD apps/apps O Y DOWNLOAD $FND_TOP/patch/115/import/afcpprog.lct XXCPNAME.ldt FND_FORM_CUSTOM_RULES function_name="XXFPNAME" Target: FNDLOAD apps/apps 0 Y UPLOAD $FND_TOP/patch/115/import/affrmcus.lct XXFPNAME. FNDLOAD apps/apps 0 Y UPLOAD @FND:patch/115/import/afcpprog./XXUSERNAME.ldt ================================================================== FND Users: Source: FNDLOAD apps/apps 0 Y DOWNLOAD $FND_TOP/patch/115/import/afscursp.lct XXCPNAME./ XXUSERNAME.

================================================================== Printer Styles: Source: FNDLOAD apps/apps O Y DOWNLOAD $FND_TOP/patch/115/import/afcppstl. Troubleshooting incorrect translation with FNDLOAD Note: 299080.1 Note: 1.lct XXPRSTYLE. Test FNDLOAD commands multiple times in multiple instances before running into PROD Instances. For NLS Language using FNDLOAD: Note: 434724. UPLOAD_PARTIAL is used to modify existed programs.ldt ================================================================== Some useful Meta-link Notes related to FNDLOAD: 1. 2.lct XXPRSTYLE.1 2. Execution sequence is important ex: To create a responsibility Create Form Create Function Create Menu Create Responsibility . 3.ldt STYLE PRINTER_STYLE_NAME="XXPRSTYLE" Target: FNDLOAD apps/apps 0 Y UPLOAD $FND_TOP/patch/115/import/afcppstl.

This will return two internal codes. =====Find the Integrator codes===== SELECT integrator_code. application_id FROM bne_integrators_vl vl WHERE user_name IN ('XX Request for further references'. . 'XX Sorry Interview did not work') . These can be:Integrators Layouts Mappings Contents This article covers the above listed components one by one. Basically we will create one ldt file for each of the above four web adi entities. both in application PER (Application ID 800).================================================================== Oracle WEB ADI: First step Identify the pieces that must be moved across using fndload. Lets say the two internal codes are HR_101_INTG & HR_41_INTG. Third step Upload those ldt files into the new environment. For this we will run the fndload in upload mode. Second step Download the above web adi attributes into various ldt files.

ldt BNE_LAYOUTS LAYOUT_ASN="PER" LAYOUT_CODE="XX_C_O_F_T" .ldt FNDLOAD apps/$APPS_PASSWORD 0 Y UPLOAD $BNE_TOP/admin/import/bneint.ldt BNE_INTEGRATORS INTEGRATOR_ASN="PER" INTEGRATOR_CODE="HR_41_INTG" In order to upload these FNDLOAD apps/$APPS_PASSWORD 0 Y UPLOAD $BNE_TOP/admin/import/bneint.lct XX_HR_41_INTG.lct XX_C_O_F_T.ldt =====Find the Layouts from layout names===== SELECT LAYOUT_CODE FROM bne_layouts_vl vl WHERE user_name IN ('Offer Letter for Job'.lct XX_HR_101_INTG.lct XX_HR_101_INTG.ldt BNE_INTEGRATORS INTEGRATOR_ASN="PER" INTEGRATOR_CODE="HR_101_INTG" FNDLOAD apps/$APPS_PASSWORD 0 Y DOWNLOAD $BNE_TOP/admin/import/bneint. 'Denial of Job') ============== Above SQL can return values say XX_C_O_F_T & XX_CODE To download these layouts FNDLOAD apps/$APPS_PASSWORD 0 Y DOWNLOAD $BNE_TOP/admin/import/bnelay.lct XX_HR_41_INTG.Now download these as below:- FNDLOAD apps/$APPS_PASSWORD 0 Y DOWNLOAD $BNE_TOP/admin/import/bneint.

lct XX_HR_101_MAP. 'XX HR Sorry Cant offer')) ORDER BY last_update_date DESC.ldt FNDLOAD apps/$APPS_PASSWORD 0 Y UPLOAD $BNE_TOP/admin/import/bnelay. Let’s say this SQL returns HR_101_MAP & HR_86_MAP --Now do the download FNDLOAD apps/$APPS_PASSWORD 0 Y DOWNLOAD $BNE_TOP/admin/import/bnemap.lct XX_CODE.ldt BNE_LAYOUTS LAYOUT_ASN="PER" LAYOUT_CODE="XX_CODE" Now in order to upload these into new environment.lct XX_C_O_F_T.ldt =====Find the MAPPING CODES from integrator names== SELECT mapping_code.ldt BNE_MAPPINGS MAPPING_ASN="PER" MAPPING_CODE="HR_101_MAP" . use below commands FNDLOAD apps/$APPS_PASSWORD 0 Y UPLOAD $BNE_TOP/admin/import/bnelay.FNDLOAD apps/$APPS_PASSWORD 0 Y DOWNLOAD $BNE_TOP/admin/import/bnelay. integrator_code FROM bne_mappings_vl WHERE integrator_code IN (SELECT integrator_code FROM bne_integrators_vl vl WHERE application_id = 800 AND user_name IN ('XX HR Reference letter'.lct XX_CODE.

===================== SELECT CONTENT_CODE FROM bne_content_cols_vl WHERE last_update_date > SYSDATE .lct XX_HR_86_MAP. ftp the ldt files and run below commands on the new environment FNDLOAD apps/$APPS_PASSWORD 0 Y UPLOAD $BNE_TOP/admin/import/bnemap.ldt FNDLOAD apps/$APPS_PASSWORD 0 Y UPLOAD $BNE_TOP/admin/import/bnemap. ===================== CONTENT_CODE -------------HR_101_CNT HR_41_CNT For each content code returned by SQL above.lct XX_HR_86_MAP.90 group by CONTENT_CODE . as to recognize the contents I had to use the date range to pick all the content codes configured in Web ADI during the past 90 days.ldt BNE_MAPPINGS MAPPING_ASN="PER" MAPPING_CODE="HR_86_MAP" To upload these files into a new environment. we will now do FNDLOAD as below .lct XX_HR_101_MAP.ldt Question : Is FNDLOAD of Web ADI contents similar to above? Answer : Its slightly different.FNDLOAD apps/$APPS_PASSWORD 0 Y DOWNLOAD $BNE_TOP/admin/import/bnemap.

ldt .lct XX_HR_101_CNT.lct XX_HR_41_CNT.ldt BNE_CONTENTS CONTENT_ASN="PER" CONTENT_CODE="HR_101_CNT" FNDLOAD apps/$APPS_PASSWORD 0 Y DOWNLOAD $BNE_TOP/admin/import/bnecont.lct XX_HR_41_CNT.ldt BNE_CONTENTS CONTENT_ASN="PER" CONTENT_CODE="HR_41_CNT" Obviously to upload Web ADI contents.FNDLOAD apps/$APPS_PASSWORD 0 Y DOWNLOAD $BNE_TOP/admin/import/bnecont.ldt FNDLOAD apps/$APPS_PASSWORD 0 Y UPLOAD $BNE_TOP/admin/import/bnecont.lct XX_HR_101_CNT. use the below commands FNDLOAD apps/$APPS_PASSWORD 0 Y UPLOAD $BNE_TOP/admin/import/bnecont.

Sign up to vote on this title
UsefulNot useful