Bursting Concept in XML Publisher

on Wednesday, January 4, 2012

XML Bursting Control file is used to E-mail/FTP/FAX/PRINT etc.,the output of the Report



1.<xapi:request select> tag tells busting engine , bursting should be done at the occurrence of which tag ? 


2.<xapi:delivery > tag tells bursting engine , which delivery mechanism to be used and on what condition ?

Steps for generating the output and processing it through XML Bursting file.


Depending up on the source for generating the XML Data structure required for the XML Report
  • Build the Data Logic as per the business requirements
  • Below is sample code needs to be called from plsql code or after report trigger of Oracle Reports builder
    v_bursting_request_id := APPS.FND_REQUEST.SUBMIT_REQUEST('XDO',
            'XDOBURSTREP',
            NULL,
            NULL,
            FALSE,
            'Y',
           V_req_id, --Parent program’s request id
           'Y');  
     
  • Deploy the data logic to the server
  • Register the concurrent Executable
  • Register the Concurrent program with output type as 'XML'
  • Assign the Concurrent program to the Required Request Group
  • Run Concurrent program and it will generate the output as XML file
  • Using the XML file generated above, Build the layout as RTF for the data structure using MS-Word(Template builder should have been installed in the machine,which will show as a add on in the Ms-Word)
  • Build the Bursting Control File by considering the XML tags generated
  • Below are various Delivery mechanisms

             To Email:
     <xapi:delivery>
          <xapi:email id="${CONC_REQUEST_ID}"  server="Test.server.com" port="22" from="${from email id source}" reply-to="">
           <xapi:message id="${CONC_REQUEST_ID}" to="${to email id source}" cc="" bcc="" attachement="ture" Subject="PO Report">Hi,
                   Please find the attached Purchase order report generated.TNX,${source name } </xapi:number>
               </xapi:email>
            </xapi:delivery>

             To FAX:
     <xapi:delivery>
          <xapi:fax  server="fax server">
            <xapi:number id="FAX1">"$fax number"</xapi:number>
          </xapi:fax>
     </xapi:delivery>


             To PRINT:
    <xapi:delivery>
     <xapi:print id="DELIVERY_PRINT"     printer=" printer path" copy-no="1" paper- size="letter"    orientation-requested="3" />
     </xapi:delivery>

             FTP Delivery:
         <xapi:ftp id="ftp_delivery" server="test.server.com" user="${user}" password="${password}"remote-
         directory="${RemoteDir}" remote-file="${EMPLOYEE_ID}.pdf" />

             SFTP Delivery:

    For SFTP delivery, there is one additional attribute “secure-ftp”.
    <xapi:ftp id="sftp_delivery" server=“test.server.com" user="${user}" password="${password}"remote-directory="${RemoteDir}" remote-file="${EMPLOYEE_ID}.pdf"  secure-ftp=”TRUE”/>

  • Define the Data Definition using the XML Publisher responsibility
  • Attach the Bursting Control file to the Data Definition
  • Define the Template
  • Submit the report

XML Reports are most used now a days because of their user friendly nature.


5 comments:

Adnan said...

Hi,
Can some body please let me know how to over come this issue.

I need to authenticate mail server, which I heard it from our DBA saying in needs to be embed in XML Bursting control file. How is that possible?
Rgds, Adnan

Unknown said...

i just want to split pdf output customer wise.
will bursting work for split? how?

Unknown said...

yes you can split output customer wise, you have to use filter option in while defining output type.
example:

Unknown said...

vashtikagan said...

JAMHOGA CASINO & HOTEL ON SIAHEGAN SUN - Tim Horton
JAMHOGA 김포 출장마사지 CASINO & HOTEL ON SIAHEGAN 부천 출장샵 SUN 공주 출장마사지 is located just north of Johannesburg and features 진주 출장안마 5 인천광역 출장안마 restaurants, a nightclub, and a spa. JAMHOGA CASINO  Rating: 4.9 · ‎12 reviews

Post a Comment