0% found this document useful (0 votes)
69 views6 pages

Data Template

This document summarizes new data template functionality introduced in Oracle E-Business Suite XML Publisher 5.6. It allows querying data and generating XML output without custom Oracle Reports development. A sample data template is provided that queries user and responsibility data and generates an XML file structured according to the data template definition. The template can then be used to generate output reports in RTF or other formats.

Uploaded by

veeru117
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
69 views6 pages

Data Template

This document summarizes new data template functionality introduced in Oracle E-Business Suite XML Publisher 5.6. It allows querying data and generating XML output without custom Oracle Reports development. A sample data template is provided that queries user and responsibility data and generates an XML file structured according to the data template definition. The template can then be used to generate output reports in RTF or other formats.

Uploaded by

veeru117
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 6

XML Publisher : Data Templates

XML Publisher 5.6 introduces Data Templates to the E-Business Suite. This technology effectively removes the need for custom development in Oracle Reports. Roll-up Patch 4561451 installs this functionality. Query and Data Template Structure A simple data template for the following query was created: select usr.user_name, resp.responsibility_name, resp.description from fnd_user usr, fnd_user_resp_groups_direct fdir, FND_RESPONSIBILITY_TL resp where user_name like 'P%' and usr.user_id = fdir.user_id and fdir.responsibility_id = resp.responsibility_id and fdir.responsibility_application_id = resp.application_id order by user_name

Data Template:
<?xml version="1.0" encoding="WINDOWS-1252" ?> <dataTemplate name="USERDATA" description="FND_USER Data" Version="1.0"> <parameters></parameters> <dataQuery> <sqlStatement name="Q1"> <![CDATA[select usr.user_name, resp.responsibility_name, resp.description from fnd_user usr, fnd_user_resp_groups_direct fdir, FND_RESPONSIBILITY_TL resp where user_name like 'O%' and usr.user_id = fdir.user_id and fdir.responsibility_id = resp.responsibility_id and fdir.responsibility_application_id = resp.application_id order by user_name ]]> </sqlStatement> </dataQuery> <dataStructure> <group name="G_USER_NAME" source="Q1"> <element name="USER_NAME" value="USER_NAME" /> <element name="RESP_NAME" value="RESPONSIBILITY_NAME" /> <element name="RESP_KEY" value="RESPONSIBILITY_KEY" /> </group> </dataStructure> </dataTemplate>

Registration

RTF Template: User Name F USER_NAME Resp Name RESP_NAME Resp Key RESP_KEY E

Basic Structure of XML file produced by Data Template:


<?xml version="1.0" encoding="UTF-8"?> <USERDATA> <LIST_G_USER_NAME> <G_USER_NAME> <USER_NAME>OBERG</USER_NAME> <RESP_NAME>OSS Administrator Self Service</RESP_NAME> <RESP_KEY>IGS_SS_ADMINISTRATOR</RESP_KEY> </G_USER_NAME> <G_USER_NAME> <USER_NAME>OBERG</USER_NAME> <RESP_NAME>Oracle Student System Super User</RESP_NAME> <RESP_KEY>IGS_SUPER_USER</RESP_KEY> </G_USER_NAME> <G_USER_NAME> <USER_NAME>OBERG</USER_NAME> <RESP_NAME>Preferences SSWA</RESP_NAME> <RESP_KEY>PREFERENCES</RESP_KEY> </G_USER_NAME> </LIST_G_USER_NAME> </USERDATA>

5.6 Also introduces additional Administration functionality:

You might also like