oracle apps XML report basic

download oracle apps XML  report basic

of 27

Transcript of oracle apps XML report basic

  • 8/7/2019 oracle apps XML report basic

    1/27

    1Confidential. All trademarks appearing herein belong to their respective owners.

    XML Publisher Training

  • 8/7/2019 oracle apps XML report basic

    2/27

    2Confidential. All trademarks appearing herein belong to their respective owners.

    Key Features of XML Publisher

    XRapidly develop and maintain business critical documents utilizing

    colors, fonts, images, logos, watermarks, etcXGenerate output in PDF, EXCEL,RTF, EFT, XML,HTML, XLS, Text

    formats

    XEasy to build report output templates via MS-Word, Adobe, XML Editorsmaintain using industry standard technology (Java, XML)

    XMultiple Language SupportXNo Additional Licensing cost. Comes free with eBusiness Application

    Suite

    XExtract once and publish multiple times using various formats

    XSingle data definition supports multiple layouts and multiple translations

    XXML Publisher separates data structure & layout.

    XEnables delivery of reports to multiple channels : Email, Fax, printer, FTP, HTTP through standard Oracle setup

    Auto-fax with addition of Fax Software/Server

  • 8/7/2019 oracle apps XML report basic

    3/27

    3Confidential. All trademarks appearing herein belong to their respective owners.

    How XML Publisher can be used for Generating the

    Report

    Steps :

    X Select the output option of the concurrent program as XML.

    X Create the required template in Microsoft word with logo and otherdetails in desktop with XML variable names using Text Form Field(Explained Below) and save the document as rtf (rich text file).

    X Register and upload the rtf template in Oracle application using XMLPublisher Administrator responsibility against the concurrent program.

    X Run the same concurrent program. In case of PO Printing, run the

    concurrent Program Printed Purchase OrderR

    eport.T

    he formattedoutput as done in Microsoft word can be seen in view output window asa PDF file along with the appropriate PO data and the output will besaved automatically as a PDF file in operating system level.

  • 8/7/2019 oracle apps XML report basic

    4/27

  • 8/7/2019 oracle apps XML report basic

    5/27

  • 8/7/2019 oracle apps XML report basic

    6/27

    6Confidential. All trademarks appearing herein belong to their respective owners.

    Create the report with output as XML to get the data as XML .I created a sample report with just 3 columns . Below is the registration .

    (N) Application Developer ->Concurrent ->Executable

    Step 3:

    Custom Schema Name

  • 8/7/2019 oracle apps XML report basic

    7/27

    7Confidential. All trademarks appearing herein belong to their respective owners.

    (N) Application Developer ->Concurrent ->Program

    Register the report but make sure that output format is XML.

    Step 4:

  • 8/7/2019 oracle apps XML report basic

    8/27

    8Confidential. All trademarks appearing herein belong to their respective owners.

    Register the report to the respective Request Group(N) System Administrator ->Security -> Responsibility ->Request

    Step 5:

  • 8/7/2019 oracle apps XML report basic

    9/27

    9Confidential. All trademarks appearing herein belong to their respective owners.

    Switch to the responsibility in which the report is attached and run the report

    Step 6:

  • 8/7/2019 oracle apps XML report basic

    10/27

    10Confidential. All trademarks appearing herein belong to their respective owners.

    The output will look like this

    Output will be displayedwith XML tags since wehave selected the formatas XML and no layout isattached till now

  • 8/7/2019 oracle apps XML report basic

    11/27

    11Confidential. All trademarks appearing herein belong to their respective owners.

    Now we have to create the template in RTF format to see the data .Open MS

    word and then create a simple table and put the labels or the heading youwant to display .At the same time you can import some image if you want todisplay in the report.

    Step 7:

    Image

    Table

  • 8/7/2019 oracle apps XML report basic

    12/27

    12Confidential. All trademarks appearing herein belong to their respective owners.

    Now since we want the heading to be displayed on each and every page, so

    mark the entire row and right click on the table properties . Go to R

    ow tab andcheck the repeat as header row at the top of each page.

    Step 8:

  • 8/7/2019 oracle apps XML report basic

    13/27

    13Confidential. All trademarks appearing herein belong to their respective owners.

    Now we want the image as the header .Insert the Header tag ---------------------just after the image .

    ---------------------------------------Table-----------------------------------------At the end insert the Footer tag

    Step 9:

  • 8/7/2019 oracle apps XML report basic

    14/27

    14Confidential. All trademarks appearing herein belong to their respective owners.

    Now we want to insert the element in the file .Go to View ->toolbars->Forms and click

    Step 10:

  • 8/7/2019 oracle apps XML report basic

    15/27

    15Confidential. All trademarks appearing herein belong to their respective owners.

    Click on text form field with cursor at the place where you want to insert the

    same,

    Step 11:

  • 8/7/2019 oracle apps XML report basic

    16/27

    16Confidential. All trademarks appearing herein belong to their respective owners.

    Click on Add Help Text button. And enter (e.g.- in the box

    Step 12:

  • 8/7/2019 oracle apps XML report basic

    17/27

    17Confidential. All trademarks appearing herein belong to their respective owners.

    Similarly fill the same for other fields also

  • 8/7/2019 oracle apps XML report basic

    18/27

    18Confidential. All trademarks appearing herein belong to their respective owners.

    Now to loop to the record you have to group the data .

    Step 13:

    GroupingTag

  • 8/7/2019 oracle apps XML report basic

    19/27

    19Confidential. All trademarks appearing herein belong to their respective owners.

    Similarly for the other fields also

  • 8/7/2019 oracle apps XML report basic

    20/27

    20Confidential. All trademarks appearing herein belong to their respective owners.

    Now save the file as XMLTEMPLATE.rtf

    Should bein .rtf

    always

  • 8/7/2019 oracle apps XML report basic

    21/27

    21Confidential. All trademarks appearing herein belong to their respective owners.

    Now your template is complete and we have to register the same in the

    template manager.Note:- First the definition is registered and then the template is attached to thatdata definition.Go to XML Publisher Administrator responsibility .(N) XML Publisher Administrator -> home -> data definition

    Step 14:

  • 8/7/2019 oracle apps XML report basic

    22/27

    22Confidential. All trademarks appearing herein belong to their respective owners.

    Create the data definition.

    Click on apply button.

    Concurrent Program short name

    Any user friendly data

    definition name

  • 8/7/2019 oracle apps XML report basic

    23/27

    23Confidential. All trademarks appearing herein belong to their respective owners.

    Now Register the template

    Click on the apply button

    Step 14:

    Since we are going to registerthe template first time so click onthe create template

    Upload the template file

  • 8/7/2019 oracle apps XML report basic

    24/27

    24Confidential. All trademarks appearing herein belong to their respective owners.

  • 8/7/2019 oracle apps XML report basic

    25/27

    25Confidential. All trademarks appearing herein belong to their respective owners.

    Go to concerned responsibility where the report is attached and then submit a newrequest.

    Click this Option Button for output format

    In the format field LOV you can select output as

    PDF, Excel etc

    Step 15:

  • 8/7/2019 oracle apps XML report basic

    26/27

    26Confidential. All trademarks appearing herein belong to their respective owners.

    View the output after submission of the program by clicking on theVIEW OUTPUT button. I have selected the format as PDF so it will

    give the output in PDF format.

  • 8/7/2019 oracle apps XML report basic

    27/27

    27Confidential. All trademarks appearing herein belong to their respective owners.

    Thank You