XML Report Bursting
XML Report Bursting
Step No # 1
Design Customized report and add User Parameter with the name P_CONC_REQUEST_ID and P_EMAIL
Step No # 2
Add in Report Trigger:
FUNCTION beforereport RETURN BOOLEAN IS BEGIN srw.user_exit('FND SRWINIT'); RETURN(TRUE); END;
v_conc_req_id NUMBER; begin IF :P_EMAIL = 'Y' THEN v_req_id := APPS.FND_REQUEST.SUBMIT_REQUEST( 'XDO', 'XDOBURSTREP', '', '', FALSE, :P_CONC_REQUEST_ID, 'Y', '', chr(0), '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''); END IF; SRW.USER_EXIT('FND SRWEXIT'); return (TRUE); end;
Step No # 3
Register this report with XML Output
Step No # 4
Create Bursting Control File and save it with UBLUSREMIAL.xml
<?xml version="1.0" encoding="UTF-8" ?> <xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi"> <xapi:request select="/UBLUSRMNGMNT/LIST_G_USR_NAMR/G_USR_NAMR"> <xapi:delivery> <xapi:email server="10.1.107.202" port="25" from="[email protected]" reply-to=""> - <xapi:message id="${USR_NAMR}" to="${EMP_EMAIL_ADDRESS}" attachment="true" HtmlBody="true" subject="UCONNECT USER ACCESS INFORMATION"> - <![CDATA[ Dear ${EMPLOYEE_NAME}, We welcome your membership with UCONNECT HR solution, your account has been successfully created and account credentials are attached. Please email us in case of any issues/queries regarding UCONNECT application. Best Regards, UBL HUMAN RESOURCES ]]> </xapi:message> </xapi:email> </xapi:delivery> - <xapi:document output="UCONNECT USER CREDENTIALS" output-type="pdf" delivery="${USR_NAMR}"> <xapi:template type="rtf" location="/d01/oracle/DEV/devappl/per/11.5.0/reports/US/UBLUSRMNGMNT_v2.rtf" filter=".//G_USR_NAMR EML_CHK='Y'" /> </xapi:document> </xapi:request> </xapi:requestset>
Step No # 5
Create Data Definition and Add Bursting File
Step No # 6
Design .rtf Template and upload it into application from Create Template Form and also put your template on /d01/oracle/DEV/devappl/per/11.5.0/reports/US/ folder, the same location defined in Bursting Control File under the tag of <xapi:template type>.
References
http://apps2fusion.com/at/49-cp/250-bursting-in-xml-bi-publisher http://apps2fusion.com/apps/apps/251-xmlp-concurrent-program-revisited-with-bursting Metalink Note: How to Implement XML Publisher Bursting in 11.5.10.2? [ID 740428.1]