XML Report - Procedure With Screenshot

download XML Report - Procedure With Screenshot

of 36

Transcript of XML Report - Procedure With Screenshot

  • 7/31/2019 XML Report - Procedure With Screenshot

    1/36

    WHAT IS AN XML PUBLISHER ?

  • 7/31/2019 XML Report - Procedure With Screenshot

    2/36

    XML PUBLISHER

    XML Publisher enables customers to utilize a set of familiar desktop

    tools to create and maintain their own report formats based on XML data

    extracts from their existing Oracle Applications concurrent request

    programs.

    At runtime, XML Publisher merges the custom templates with the

    concurrent request data extracts to generate output in PDF, HTML, RTF,

    EXCEL

  • 7/31/2019 XML Report - Procedure With Screenshot

    3/36

  • 7/31/2019 XML Report - Procedure With Screenshot

    4/36

    EXTRACT ONCE PUBLISH MULTIPLE TIMES

    XML Publisher

    XML Data

    Different Templates

    For different output formats

    XSL

    XML

    PDF

    RTF

    HTML

    Excel

  • 7/31/2019 XML Report - Procedure With Screenshot

    5/36

    ADVANTAGES

    Different output formats can be applied to a report like PDF,

    HTML, etc.,

    The same report can be run multiple times in multiple formats

    Can create multiple different Layouts for same report for different

    organizations

    Can design the Layout easily

    Can display the Logo of Client

    Can modify the Layout including Footer and Header easily Fast, scalable extraction engine

    Integrated into concurrent manager

    Migration tools available from Oracle Reports

    Offers all that Oracle Reports offers + 30-40% faster

  • 7/31/2019 XML Report - Procedure With Screenshot

    6/36

    HOW TO CREATE AN XML REPORT ?

  • 7/31/2019 XML Report - Procedure With Screenshot

    7/36

    I. Creating Concurrent Program & Generating a sample XML Output

    Creating the Queries to get data

    Planning the Loops as per the client requirements

    Creating the Package Spec & BodyCreating the Executable with Executable Method as PLSQL Stored Procedure

    Creating the Concurrent Program with output as XML

    Run the concurrent program and store the XML output as Sample in Local Directory

    II. Creating Layout (RTF File)

    Open a New Document in WordLoad the sample XML data

    Design the Layout as per the client requirements with inserting the XML tag in

    proper manner.

    Save the file as RTF file.

    Create the PDF and check the output.

    III. Creating Data Definition & Template

    Create the data definition (In Code field enter the short name of concurrent

    program in correct case)

    Create the template (Here we need to attach the RTF)

  • 7/31/2019 XML Report - Procedure With Screenshot

    8/36

    XML Publisher

    XML Data

    RTF File

    PLSQL Stored Procedure

    Executable

    Concurrent Program

    Data Definition Template

    XML

    PDF

    HTML

    Excel

  • 7/31/2019 XML Report - Procedure With Screenshot

    9/36

    SAMPLE REPORT

  • 7/31/2019 XML Report - Procedure With Screenshot

    10/36

    CREATING THE PACKAGE SPECIFICATION

  • 7/31/2019 XML Report - Procedure With Screenshot

    11/36

    CREATING THE PACKAGE BODY

  • 7/31/2019 XML Report - Procedure With Screenshot

    12/36

  • 7/31/2019 XML Report - Procedure With Screenshot

    13/36

    CREATING THE CONCURRENT PROGRAM

  • 7/31/2019 XML Report - Procedure With Screenshot

    14/36

    DEFINING THE PARAMETERS

  • 7/31/2019 XML Report - Procedure With Screenshot

    15/36

    ADD THE PROGRAM IN REQUEST GROUP OF ANY RESPONSIBILITIES

  • 7/31/2019 XML Report - Procedure With Screenshot

    16/36

    RUN THE PROGRAM FROM THAT RESPONSIBILITIES & GENERATE THE XML OUTPUT

  • 7/31/2019 XML Report - Procedure With Screenshot

    17/36

    PROGRAM WILL GENERATE THE OUTPUT AS SHOWN BELOW.

    SAVE THIS FILE IN LOCAL DIRECTORY

  • 7/31/2019 XML Report - Procedure With Screenshot

    18/36

    CREATING LAYOUT (RTF FILE)

  • 7/31/2019 XML Report - Procedure With Screenshot

    19/36

  • 7/31/2019 XML Report - Procedure With Screenshot

    20/36

  • 7/31/2019 XML Report - Procedure With Screenshot

    21/36

  • 7/31/2019 XML Report - Procedure With Screenshot

    22/36

  • 7/31/2019 XML Report - Procedure With Screenshot

    23/36

  • 7/31/2019 XML Report - Procedure With Screenshot

    24/36

  • 7/31/2019 XML Report - Procedure With Screenshot

    25/36

  • 7/31/2019 XML Report - Procedure With Screenshot

    26/36

    FOLLOWING PICTURE HAS SHOWN THE MODIFIED TEMPLATE

    AFTER MODIFYING, SAVE THIS AS RTF FILE IN LOCAL DIRECTORY

  • 7/31/2019 XML Report - Procedure With Screenshot

    27/36

    CREATING THE DATA DEFINITION & TEMPLATE

  • 7/31/2019 XML Report - Procedure With Screenshot

    28/36

    Click Here

  • 7/31/2019 XML Report - Procedure With Screenshot

    29/36

    This code shouldsame as Concurrentprogram short name

  • 7/31/2019 XML Report - Procedure With Screenshot

    30/36

    Click Here

  • 7/31/2019 XML Report - Procedure With Screenshot

    31/36

  • 7/31/2019 XML Report - Procedure With Screenshot

    32/36

    LINK

    RTF File

    PLSQL Stored Procedure

    Executable

    Concurrent Program

    Data Definition

    Template

    Execution File Name

    (Package Name. Procedure Name)

    Executable Short Name

    Concurrent Program

    Short Name

    Data Definition Name Attach the File

  • 7/31/2019 XML Report - Procedure With Screenshot

    33/36

    Before Creating Data Definition & Template If you run the

    Concurrent Program, it will generate the output file as XML

    File.

    After Creating Data Definition & Template If you run the

    Concurrent Program, it will generate the output file as PDF

    File.

  • 7/31/2019 XML Report - Procedure With Screenshot

    34/36

    OUTPUT

  • 7/31/2019 XML Report - Procedure With Screenshot

    35/36

    QUESTIONS ?

  • 7/31/2019 XML Report - Procedure With Screenshot

    36/36

    THANK YOU