How to create a simple XML BI Publisher Report

 

How to create a simple XML Publisher Report

1. Navigate to System Administrator->Concurrent->Program->Define and create a new concurrent program as below with Executable as “XDODTEXE” and output as “XML“.

Description: https://govoracleapps.files.wordpress.com/2013/12/117.jpg?w=840&h=684

Then click on parameters button and enter the parameter as below

Description: https://govoracleapps.files.wordpress.com/2013/12/217.jpg?w=840&h=559

2. Navigate to System Administrator->Security->Responsibility->Request,query request group as “System Administrator Reports” & application as “Application Object Library“(Its the request group attached to System Administrator responsibility).Then add the newly created concurrent program to it.

Description: https://govoracleapps.files.wordpress.com/2013/12/310.jpg?w=614&h=184

3. Below is the Data Definition template XML which is created and its explanation.

Description: https://govoracleapps.files.wordpress.com/2013/12/410.jpg?w=840&h=706

Description: https://govoracleapps.files.wordpress.com/2013/12/55.jpg?w=840&h=332

4. Navigate to XML Publisher Administrator->Home->Data Definitions, click on “Create Data Definition” button and create Data Definition as below.Data Definition Code should be same as the Concurrent Program Short name which we created.Then click on Apply button.

Description: https://govoracleapps.files.wordpress.com/2013/12/65.jpg?w=840&h=367

Attach the Data DefinitionTemplate XML which we created in step 3.

Description: https://govoracleapps.files.wordpress.com/2013/12/75.jpg?w=614&h=324

5. Navigate to System Administrator->Concurrent->Requests and submit the newly created concurrent program.

Description: https://govoracleapps.files.wordpress.com/2013/12/85.jpg?w=840&h=401

Once the program is completed,click on View output button and save the output in XML format.

Description: https://govoracleapps.files.wordpress.com/2013/12/94.jpg?w=840&h=316

Description: https://govoracleapps.files.wordpress.com/2013/12/output_xml.jpg?w=425&h=724

6. Open MS Word->Add-Ins->Data->Load XML Data and load the output XML file which we saved in previous steps.(Ensure BI Publisher Desktop is installed)

Description: https://govoracleapps.files.wordpress.com/2013/12/106.jpg?w=840

7. Then click on Oracle BI Publisher->Insert->Table Wizard

Description: https://govoracleapps.files.wordpress.com/2013/12/118.jpg?w=840

  • Select report format as Table

Description: https://govoracleapps.files.wordpress.com/2013/12/124.jpg?w=840

  • Since we are having only one group that defaults.If multiple group are there in your data definition select the group.

Description: https://govoracleapps.files.wordpress.com/2013/12/134.jpg?w=840

  • Select all the fields and click finish button.(If sorting needs to be done,click next button instead of finish and do the settings).

Description: https://govoracleapps.files.wordpress.com/2013/12/144.jpg?w=840

Below is the report format.Save the document as RTF file(Rich Text Format)

Description: https://govoracleapps.files.wordpress.com/2013/12/154.jpg?w=840&h=105

7. Navigate to XML Publisher Administrator->Home->Templates and click on Create Template button.
Assign the Data Definition template which we created in step 4 to this template and set Output type as PDF. Also Set the type as RTF and assign the RTF file created in previous step.Create the Template as below and Apply.

Description: https://govoracleapps.files.wordpress.com/2013/12/164.jpg?w=840&h=463

Description: https://govoracleapps.files.wordpress.com/2013/12/174.jpg?w=840&h=445

8. Navigate to System Administrator->Concurrent->Requests and once again submit the newly created concurrent program.Now if you click the output we can see the report which we created.

Description: https://govoracleapps.files.wordpress.com/2013/12/173.jpg?w=614&h=192

 

Comments

Popular posts from this blog

opaque schema xsd (standard file used in OIC)

DOCUMENTATION ON SANDBOX and PERSONALIZATION

API SOAP to update AR DFF (oracle fusion) includes debit memo