Login
Register

Home

Trainings

Fusion Blog

EBS Blog

Authors

CONTACT US

Fusion PayRoll
  • Register

Oracle Gold Partners, our very popular training packages, training schedule is listed here
Designed by Five Star Rated Oracle Press Authors & Oracle ACE's.

webinar new

Search Courses

1.Creating Custom Application:

Navigation

System Administrator->Application->Register

 

2.Registering Concurrent Program

Navigation

System Administrator->Program -> Define

See the Program is Registered in the Custom Application ABC Custom and Executable name is ‘XDODTEXE’ and Output Format ‘XML’.

3.Creating Data Definition

Navigation

XML Publisher Administrator->Home->Data Definitions->Create Data Definition

N.B : Data Definition Short code Must Match your Concurrent Program Short Code

 

4.Attach Data Template

Here we need to attach the Data Source (xml) File.

 

5.Attach the XML File

Click Apply

The XML Data Source File Content

<?xml version="1.0" encoding="UTF-8" ?>

<dataTemplate name="ABC_PO_REPORT" description="Purchase Order Report" version="1.0">

<properties>

 <property name="include_parameters" value="false" />

 <property name="include_null_Element" value="false" />

</properties>

<parameters>

<parameter name="pd_from_date" dataType="date"/>  

<parameter name="pd_to_date" dataType="date"/>

</parameters>

<dataQuery>

<sqlStatement name="Q1">

 <![CDATA[SELECT poh.segment1 "PO Number",

   poh.creation_date "PO Date"

    FROM   po_headers_all poh

    WHERE  poh.creation_date BETWEEN :pd_from_date and :pd_to_date]]>

</sqlStatement>

</dataQuery>

<dataStructure>

 <group name="ROW" source="Q1">

   <element name = "SEGMENT1" value="PO Number"/>

   <element name = "CREATION_DATE" value="PO Date"/>

 </group>

</dataStructure>

</dataTemplate>

 

6. Now we need to attach RTF

Navigation

XML Publisher Administrator -> Home -> Template->Create New Template

 

RTF File Screen shot:

N.B: You can give any short code to Template but You should attach the Correct Data Definition.

Now the XMLP Report is Ready for Execution.

7.Now we should also have a look at migration of the same

Migration of the same comprise of several steps:

Perquisites for Migration

  1. LDT Commands for Migrating AOL Objects

  2. XDO Loader Commands to Load Physical files (XML, RTF) files in this case.

Perquisites for Migration

  1. Download all LDT Files for AOL Objects as well as physical files

  1. Make sure to move the Physical files to a specific location in the Unix box.

Preferably it should be placed in $CUSTOM_TOP/publisher/templates.

By default this folder may not exist you should create one then.

Place your RTF and XML file in this location.

LDT Commands to Download AOL Objects

  1. FNDLOAD Command for Concurrent Program

FNDLOAD $CLIENT_USERNAME/$CLIENT_PASSWORD 0 Y DOWNLOAD           $FND_TOP/patch/115/import/afcpprog.lct ABC_PO_REPORT_CP.ldt PROGRAM APPLICATION_SHORT_NAME = ‘ABCCUST’ CONCURRENT_PROGRAM_NAME = ‘ABC_PO_REPORT’

  1. FNDLOAD Command for Data Definition and Template

FNDLOAD $CLIENT_USERNAME/$CLIENT_PASSWORD 0 Y DOWNLOAD $XDO_TOP/patch/115/import/xdotmpl.lct ABC_PO_REPORT_DD.ldt XDO_DS_DEFINITIONS APPLICATION_SHORT_NAME = ‘ABCCUST’ DATA_SOURCE_CODE = ‘ABC_PO_REPORT’  TMPL_APP_SHORT_NAME=’ABCCUST’  TEMPLATE_CODE=’ABC_PO_REPORT_RTF’

  1. XDOLOAD Command to Download Data Definition File

java oracle.apps.xdo.oa.util.XDOLoader DOWNLOAD

–DB_USERNAME $CLIENT_USERNAME –DB_PASSWORD $CLIENT_PASSWORD  -JDBC_CONNECTION ‘(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=$HOST_NAME)(PORT=$PORT))(CONNECT_DATA=(SERVICE_NAME=$SERVICE_NAME)))’ –LOB_TYPE DATA_TEMPLATE –LOB_CODE ABC_PO_REPORT APPS_SHORT_NAME ABCCUST –LANGUAGE en –TERRITORY US –lct_FILE $XDO_TOP/patch/115/import/xdotmpl.lct

  1. XDOLOAD Command to Download Layout Template

java oracle.apps.xdo.oa.util.XDOLoader DOWNLOAD

–DB_USERNAME $CLIENT_USERNAME –DB_PASSWORD $CLIENT_PASSWORD  -JDBC_CONNECTION ‘(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=$HOST_NAME)(PORT=$PORT))(CONNECT_DATA=(SERVICE_NAME=$SERVICE_NAME)))’ –LOB_TYPE TEMPLATE –LOB_CODE ABC_PO_REPORT_RTF APPS_SHORT_NAME ABCCUST –LANGUAGE en –TERRITORY US –lct_FILE $XDO_TOP/patch/115/import/xdotmpl.lct

N.B :

ABCCUST – Application Short Name

-DB_USERNAME = Apps Username

-DB_PASSWORD = Apps Pasword( Database password for apps user)

-JDBC_CONNECTION = Connection Details ( TNS Entry)

-LOB_TYPE = AOL Type for XML Objects

-LOB_CODE = Short Code

-Language = Language for Data Definition /RTF . For English use ‘en’

-TERRITORY = Geographical Location. For United States use ‘US’

-lct_FILE = Configuration File

LDT Commands to Upload AOL Objects

  1. LDT Command to Upload AOL Definition for Concurrent Program

FNDLOAD $CLIENT_USER_NAME/$CLIENT_PASSWORD 0 Y UPLOAD $FND_TOP/patch/115/import/afcpprog.lct ABC_PO_REPORT.ldt

  1. LDT Command to Upload AOL Definition for Data Definition and Layout Template

FNDLOAD  $CLIENT_USER_NAME/$CLIENT_PASSWORD  0 Y UPLOAD $XDO_TOP/patch/115/import/xdotmpl.lct ABC_PO_REPORT_DD.ldt

Where ABC_PO_REPORT_DD.ldt is the ldt file name for Data Definition

  1. XDOLOADER Command to Upload Data Source File

java oracle.apps.xdo.oa.util.XDOLoader UPLOAD

–DB_USERNAME $CLIENT_USERNAME –DB_PASSWORD $CLIENT_PASSWORD  -JDBC_CONNECTION ‘(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=$HOST_NAME)(PORT=$PORT))(CONNECT_DATA=(SERVICE_NAME=$SERVICE_NAME)))’ –LOB_TYPE DATA_TEMPLATE –LOB_CODE ABC_PO_REPORT –XDO_FILE_TYPE XML –FILE_NAME ABC_PO_REPORT.xml APPS_SHORT_NAME ABCCUST –LANGUAGE en –TERRITORY US –lct_FILE $XDO_TOP/patch/115/import/xdotmpl.lct

  1. XDOLOADER Command to Upload Template Layout

java oracle.apps.xdo.oa.util.XDOLoader UPLOAD

–DB_USERNAME $CLIENT_USERNAME –DB_PASSWORD $CLIENT_PASSWORD  -JDBC_CONNECTION ‘(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=$HOST_NAME)(PORT=$PORT))(CONNECT_DATA=(SERVICE_NAME=$SERVICE_NAME)))’ –LOB_TYPE  TEMPLATE  –LOB_CODE ABC_PO_REPORT_RTF

–XDO_FILE_TYPE RTF –FILE_CONTENT_TYPE application/rtf –FILE_NAME ABC_PO_REPORT.rtf APPS_SHORT_NAME ABCCUST –LANGUAGE en –TERRITORY US –lct_FILE $XDO_TOP/patch/115/import/xdotmpl.lct


Ashish Harbhajanka

Add comment


Security code
Refresh

About the Author

Ashish Harbhajanka

 

Oracle Fusion HCM Techno Functional Consultant with overall 10 years of Experience in software industry with 5 years in EBS HRMS and rest 5 in Fusion HCM.

My areas of intesrest in Fusion HCM include :

a) Inbound Outbound Integration using FBL/HDL or BIP/HCM Extracts.

b) Fast Formula

c) BIP Reports

d) OTBI Reports

e) RESTFUL API / Web Service Call

f) Functional Setup

g) End to End Testing

h) Regression Testing

i) Preparing COnfiguration Workbooks

j) Creating Speed Solutions

k) Preparing User Guides

l) UPK

........

Search Trainings

Fully verifiable testimonials

Apps2Fusion - Event List

<<  Apr 2024  >>
 Mon  Tue  Wed  Thu  Fri  Sat  Sun 
  1  2  3  4  5  6  7
  8  91011121314
15161718192021
22232425262728
2930     

Enquire For Training

Fusion Training Packages

Get Email Updates


Powered by Google FeedBurner