Hyperlink in XML Report

Hi,
I need to create a hyperlink in one of my report. The business logic demands that I get entity-wise clubbed data . But if I need to see the detail of an entity , I should just click on that entity name which should then refer me to a new report that lists out the detailed data. Currently I've designed them as two separate report, one displaying the grouped record & the other displaying the details for each entity.
Is there a way through which I can call the second report at run-time i.e. when the user clicks on an Entity name...?
Kindly suggest .
Thanks.

Hi,
assume your detail report can be called via
http://host:port/xmlpserver/Orders/Drill_Down/Drill_Down_Report/Drill_Down_Report.xdo?p_deptno=10
and p_deptno is your parameter (entity name in your case).
In your master report in the rtf-template mark your entity name and add a hyperlink with the following url:
*{$CURRENT_SERVER_URL}/Orders/Drill_Down/Drill_Down_Report/Drill_Down_Report.xdo?p_deptno={DEPTNO}*
The $CURRENT_SERVER_URL looks where you are and replaces the values. This assumes that your master value is DEPTNO (in your case the entity name tag of your master xml).
The get this work you need to define the variable CURRENT_SERVER_URL in your master report. Add a new form field with the following help-text for this:
*<xsl:param name="CURRENT_SERVER_URL" xdofo:ctx="begin"/>*
Regards
Rainer

Similar Messages

  • How to open a form from Oracle XML Report .xls Output?

    Hi All,
    We have a requirement wherein we have one complex SQL query, requirement is to fetch the data from that query and show it to the user. So far, so good. We can either create a report thru' UTL file to show the output to the user or can create a XML report whose output can be in the excel format.
    Now user wants to have a hyperlink i.e. when he clicks the BSA (Blanket Sales Agreement) from the report output, it should be able to route him to BSA screen (oracle form), so that he can directly correct the issue with that corresponding BSA on which he clicked.
    i.e. requirement is to create a a hyperlink from report output which will route the user to that oracle form with the BSA queried.
    Not sure how can we implement this. If anybody has come across this type of requirement, please share your ideas and the approach used so as to accomplish this. Any inputs on this will be highly appreciated.
    Cheers!
    -Sumir

    Hello Sumir,
    we create reports in an XML format using http://matzberger.de/oracle/spreadsheet-en.html.
    Within these files you can create hyperlinks to a forms application like
    http://<applicationserver>/forms/frmservlet?config=xy&p_autoinit_module=ab&p_autoinit_arg=123
    With these parameters we call a default forms module (welcome screen) and then start module ab and execute a query for 123. The user then can directly access the data he needs.
    Regards
    Marcus

  • XML report data output as a email link

    Hi Team,
    I am in a mid of developing a XML reports using BI Publisher in Oracle EBS 11i.
    I am using a procedure to produce to generate my XML tags.
    I wish that the data which is displaying a email id as [email protected] i should be able to make it as a hyperlink and if the person click on to this id.
    One should be able to send a email to this id.
    Any pointers/suggestions will be highly appreciated.
    Regards,
    Ajay

    try field with
    <fo:basic-link external-destination="{VAL}"  color="blue" text-decoration="underline"><?VAL?></fo:basic-link>where VAL - tag of xml with email address

  • Create Hyperlink in  XML Publisher

    Hi,
    Can anyone tell me how to create the dynamic hyperlink in XML Publisher Report and design the same in RTF Template.
    Thanks in Advance.
    Regards,
    Partha

    Hi
    Did you check the client install samples folder ? there are a couple of almost real examples in there.
    Note you can not run these templates thru the template builder ... its a different processor. To see it working us the java app Template Viewer installed along with the word plugin.
    tim

  • Insert a link on xml report. The link should open up a document(PDFS).

    Is it possible to insert a link in the report? The value would come from a sql query. The link when clicked on would open up the pdf or doc.
    Is this done thru a href or by inserting a dynamic hyper link.
    The release Release 5.6.2 documentation references how to insert a hyperlink. NOt sure if this will work for me.
    I tried it but in the documentation it states:
    >
    If your input XML data includes an element that contains a hyperlink or part of
    one, you can create dynamic hyperlinks at runtime. In the Type the file or Web page
    name field of the Insert Hyperlink dialog box, enter the following syntax:
    {URL_LINK}
    where URL_LINK is the incoming data element name.
    >
    However the dialog box I am getting when I insert the hyperlink does not have a place to enter the element name. That is, there is no 'TYPE the file or Web page' area that I can see.

    hi ashalon,
    I did it this way in MS Word.
    1. create placeholder for value
    2. highlight it and make it a hyperlink
    3. enter the url into the address line
    So If you have a complete hyperlink in xml element URL_LINK you just have to enter {URL_LINK} into the address line. If you have only a part of the link, i.e only a product name, you can enter "http://www.oracle.com?product={PRODUCT_NAME}".
    Hope this helps.
    Regards
    chrissy

  • App Engine creates XML report but I cannot access it in Report Manager

    Here is my application engine code:
    import PSXP_RPTDEFNMANAGER:*;
    /* XML Publisher report using query data source */
    Local string &sRptDefn = "WAP_XML_JAS2";
    Local string &sLangCd = "ENG";
    Local date &AsOfDate = %Date;
    Local string &sOutFormat = "PDF";
    Local string &sPrcsServerName;
    Local string &sFolder = "XML PUBLISHER";
    Local number &prcsInstId;
    Local PSXP_RPTDEFNMANAGER:ReportDefn &oRptDefn;
    /* get report definition object */
    &oRptDefn = create PSXP_RPTDEFNMANAGER:ReportDefn(&sRptDefn);
    &oRptDefn.Get();
    /*generate report*/
    &oRptDefn.ProcessReport("", &sLangCd, &AsOfDate, &sOutFormat);
    /*publish report */
    &oRptDefn.Publish(&sPrcsServerName, "", &sFolder, &prcsInstId);
    I see my report in Report Manager but it isn't a hyperlink that I can click on to then open the PDF. However if I run my XML report in the XML Scheduler, I see that report in Report Manager and it is a hyperlink.
    Any ideas? Did I miss a line of code i need to be able to access it? When I take the url for the one that works and change the Report ID for the one that doesn't work, I get kicked out of the web (says error has occurred and makes me sign in again).
    Thanks!
    Jennifer

    I was able to get the file to get the hyperlink to appear. I used the following code:
    import PSXP_RPTDEFNMANAGER:*;
    /* XML Publisher sample report using query data source */
    Local PSXP_RPTDEFNMANAGER:ReportDefn &oRptDefn;
    /* create report definition */
    &oRptDefn = create PSXP_RPTDEFNMANAGER:ReportDefn("WAP_XML_JAS2");
    &oRptDefn.Get();
    /* specify output destination when output type is file */
    If %OutDestType = 2 Then /* file */
    &oRptDefn.OutDestination = %FilePath;
    End-If;
    /* process report */
    &oRptDefn.ProcessReport("", WC_WAPXML1_AET.LANGUAGE_CD, %Date, &oRptDefn.GetOutDestFormatString(%OutDestFormat));
    /* send output to destination */
    If %OutDestType = 6 Then /* Web */
    &oRptDefn.Publish("", "", "", WC_WAPXML1_AET.PROCESS_INSTANCE);
    Else
    If %OutDestType = 3 Then /* Printer */
    &oRptDefn.PrintOutput(%FilePath);
    End-If;
    End-If;
    Of course I had to have the following SQL statement in the first step to populate the state record:
    %Select(WC_WAPXML1_AET.OPRID, WC_WAPXML1_AET.RUN_CNTL_ID, WC_WAPXML1_AET.LANGUAGE_CD)
    SELECT OPRID
    , RUN_CNTL_ID
    , LANGUAGE_CD
    FROM %Table(PRCSRUNCNTL)
    WHERE OPRID = %OperatorId
    AND RUN_CNTL_ID = %RunControl
    Now I am able to get the report in report manager if it is run to the web, or as a file if that option is chosen on the run control.

  • Print Images in XML Report

    Hi,
    I do have a requirement to print digital signature in a Quote, the signature is been stored as a picture (longraw datatype per_images table) in HRMS Tables
    HRMS Responsibility -> people -> Enter and Maintain -> Picture, here we will upload the signature of a person and this need be printed in XML Report.
    In the Report Builder if we change the ‘file format’ to ‘Image’ we are able to display the image , but when we are register in APPS, we not able to get the image, even XML tags are not been generated.
    Regards,
    Satish.

    Here...this should help !
    BLOB image in XML Publisher

  • How to create new Custom XML Report without using Form Builder

    Hi,
    What are the steps to create new Custom XML Report without using Report Builder ?
    Thanks and Regards,
    Abhi

    Hi,
    Steps we now follow
    1)Create Data Model in Reports Builder
    2)Create xml
    3)Insert xml in Publisher to build Fomat
    4)FTp rdf
    5)Create Data Definition and Template
    6)Create executable and Concurrent Program
    Is there any way we can build reports without use of Report Builder ? By writing PL SQL Package for Before Report and After Report etc ...
    Thanks and Regards,
    Abhijit Rode

  • XML Reports completes in warning

    Hi gurus,
    I am having trouble our developer have made XML report and registered it when he is running the concurrent request is completing in warning (yellow color) and no output is generate and below is the log file for the concurrent request.
    we never had any XML report in our environment this is the first time so do we need to do any setup for XML reports to generate fine ?
    also where is OPP service log files location ?
    Thanks
    Regards,
    HASSAN
    General Ledger: Version : 12.0.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    GLTS module: GL_TRIAL BALANCE ACCOUNT WISE SUMMARY
    Current system time is 22-OCT-2011 12:20:40
    +-----------------------------
    | Starting concurrent program execution...
    +-----------------------------
    Arguments
    p_set_of_books_id='1001'
    P_CHART_OF_ACCOUNTS_ID='30008'
    p_company='001'
    COMP2='001'
    p_project='1101'
    p_project_to='1101'
    p_period='200612'
    p_period_to='201112'
    Forcing NLS_NUMERIC_CHARACTERS to: '.,' for XDO processing
    APPLLCSP Environment Variable set to :
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    American_America.UTF8
    Enter Password:
    Report Builder: Release 10.1.2.3.0 - Production on Sat Oct 22 12:20:42 2011
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Executing request completion options...
    ------------- 1) PUBLISH -------------
    Beginning post-processing of request 785118 on node TEST at 22-OCT-2011 12:20:57.
    Post-processing of request 785118 failed at 22-OCT-2011 12:20:58 with the error message:
    One or more post-processing actions failed. Consult the OPP service log for details.
    ------------- 2) PRINT   -------------
    Not printing the output of this request because post-processing failed.
    Finished executing request completion options.
    Concurrent request completed
    Current system time is 22-OCT-2011 12:20:58
    ---------------------------------------------------------------------------

    hassanksa wrote:
    the desktop version of xml pub which our developer used for report development was not compatible with our apps
    then i recommended developer with the correct version once he used the right one the reports worked fineThanks for the update and for sharing the solution!
    Hussein

  • Problem calling XML Report Publisher from Oracle Reports

    Hi,
    I'm facing a problem in calling XML Report Publisher from Oracle Reports.
    Basically, I'm trying to customise Dunning Letter program. The program which is submitted calls another program. I have customised the second program and added a call to a stored procedure which in turn calls XML Report Publisher.I have created a template and attached it to the second program as well.
    The procedure code is as follows.
    v_request_id := FND_REQUEST.SUBMIT_REQUEST(application => 'AR'
    ,program => 'ARDLP_NON_SRS'
    ,description => 'Dunning Letter Print from Dunning Letter Generate'
    ,sub_request => FALSE
    l_status := fnd_concurrent.WAIT_FOR_REQUEST
    ( REQUEST_ID => v_request_id,
    INTERVAL => 15,
    MAX_WAIT => 180,
    PHASE => l_phase,
    STATUS => l_status_code,
    DEV_PHASE => l_dev_phase,
    DEV_STATUS => l_dev_status,
    MESSAGE => l_message );
    v_xml_req_id := FND_REQUEST.submit_request(application => 'XDO',
    program => 'XDOREPPB',
              argument1 => v_request_id,
    argument2 => 'FLS DE AR Dunning Letter Print - German',
    argument3 => 603, -- changed 665 -- was 551,
    argument4     => NULL,
    argument5 => 'N',
    argument6     => 'RTF',
              argument7     => 'PDF');
    Now, there are two problems I'm facing...
    1. when the second program('Dunning Letter Print from Dunning Letter Generate') gets called it executes this procedure ... logically the 'Dunning Letter Print from Dunning Letter Generate' should get called twice ... second time from the procedure. Its getting called multiple times .. as many as 15 - 20 times.
    2. The Xml Report Publisher program ultimately gets called but its erroring out with the following error:
    java.sql.SQLException: No corresponding LOB data found :SELECT L.FILE_DATA FILE_DATA, DBMS_LOB.GETLENGTH(L.FILE_DATA) FILE_LENGTH, L.LANGUAGE LANGUAGE, L.TERRITORY TERRITORY, B.DEFAULT_LANGUAGE DEFAULT_LANGUAGE, B.DEFAULT_TERRITORY DEFAULT_TERRITORY,B.TEMPLATE_TYPE_CODE TEMPLATE_TYPE_CODE, B.USE_ALIAS_TABLE USE_ALIAS_TABLE, B.START_DATE START_DATE, B.END_DATE END_DATE, B.TEMPLATE_STATUS TEMPLATE_STATUS, B.USE_ALIAS_TABLE USE_ALIAS_TABLE, B.DS_APP_SHORT_NAME DS_APP_SHORT_NAME, B.DATA_SOURCE_CODE DATA_SOURCE_CODE, L.LOB_TYPE LOB_TYPE FROM XDO_LOBS L, XDO_TEMPLATES_B B WHERE (L.LOB_TYPE = 'TEMPLATE' OR L.LOB_TYPE = 'MLS_TEMPLATE') AND L.APPLICATION_SHORT_NAME= :1 AND L.LOB_CODE = :2 AND L.APPLICATION_SHORT_NAME = B.APPLICATION_SHORT_NAME AND L.LOB_CODE = B.TEMPLATE_CODE AND ( (L.LANGUAGE = :3 AND L.TERRITORY = :4 ) OR (L.LANGUAGE = :5 AND L.TERRITORY = :6) OR (L.LANGUAGE= B.DEFAULT_LANGUAGE AND L.TERRITORY= B.DEFAULT_TERRITORY ) )
    I have checked from database that the XDO_LOBS/ XDO_TEMPLATES_B table has corresponding registration data.
    I don't know what's creating the problem.
    If anyone has customised the Dunning Letter program before or having any idea about this problem, please help me out ..
    Thanks

    satrajit,
    Now I am getting the same error you got, Can you please tell me the solution you found?.
    XML Report Publisher 5.0
    Updating request description
    Waiting for XML request
    Retrieving XML request information
    Preparing parameters
    Process template
    --XDOException
    java.sql.SQLException: No corresponding LOB data found :SELECT L.FILE_DATA FILE_DATA, DBMS_LOB.GETLENGTH(L.FILE_DATA) FILE_LENGTH, L.LANGUAGE LANGUAGE, L.TERRITORY TERRITORY, B.DEFAULT_LANGUAGE DEFAULT_LANGUAGE, B.DEFAULT_TERRITORY DEFAULT_TERRITORY,B.TEMPLATE_TYPE_CODE TEMPLATE_TYPE_CODE, B.USE_ALIAS_TABLE USE_ALIAS_TABLE, B.START_DATE START_DATE, B.END_DATE END_DATE, B.TEMPLATE_STATUS TEMPLATE_STATUS, B.USE_ALIAS_TABLE USE_ALIAS_TABLE FROM XDO_LOBS L, XDO_TEMPLATES_B B WHERE L.LOB_TYPE = :1 AND L.APPLICATION_SHORT_NAME= :2 AND L.LOB_CODE = :3 AND L.APPLICATION_SHORT_NAME = B.APPLICATION_SHORT_NAME AND L.LOB_CODE = B.TEMPLATE_CODE AND ( (L.LANGUAGE = :4 AND L.TERRITORY = :5 ) OR (L.LANGUAGE = :6 AND L.TERRITORY = :7) OR (L.LANGUAGE= B.DEFAULT_LANGUAGE AND L.TERRITORY= B.DEFAULT_TERRITORY ) )
         at oracle.apps.xdo.oa.schema.server.TemplateInputStream.initStream(TemplateInputStream.java:309)
         at oracle.apps.xdo.oa.schema.server.TemplateInputStream.<init>(TemplateInputStream.java:187)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.getTemplateFile(TemplateHelper.java:776)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:1269)
         at oracle.apps.xdo.oa.cp.JCP4XMLPublisher.runProgram(JCP4XMLPublisher.java:807)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:148)

  • Problem with the hierarchial fields in a Purchase order xml report

    Hi,
    I am having a problem with the hierarchy problem. We are populating attribute 15 of a PO header. some times it can be null. FYI, we are using 11.5.10 instance where oracle supports direct PO template rather than having a rdf file.
    And now in the xml report, if attribute15 of po header is not null then it is fine.
    But if attribute15 is null, then the template is picking from the next available attribute15 that is from the po lines. As the line level group of "LINES" is between the "PO_DATA" (header group), hence the template is checking for next available attribute15.
    Can any one please suggest how to design the template where we can make the template to check only for that tag at the header level group rather than the line level group tag?
    Thank You in advance.
    Regards,
    Srinivas.

    Hi
    Incase you want to transfer attachements from SRM to R/3, then you try implementing the BADI in SRM side. The BADI which will help in this case is
    <b>BBP_CREATE_PO_BACK</b> BADI.
    <b>Please read the standard SAP documentation of this BADI using SE18 Transaction, before making any code changes.</b>
    <u>Few Important SAP OSS notes to refer in this case -></u>
    Note 989184 - Transferred shopping cart with internal attachments
    Note 550071 - FAQ: EBP - Shopping Cart
    Note 916347 - Transfer shopping cart with internal attachments
    Note 1001130 - FAQ - Attachment questions (Buyside)
    <u>Few useful links -></u>
    <b>http://help.sap.com/saphelp_srm50/helpdata/en/49/b32640632cea01e10000000a155106/frameset.htm
    Re: Attachments to backend
    Re: Document Attachments in Shopping Cart
    Re: Attachment in SRM
    Re: SRM Documents and Attachments
    Re: Limit in Attachments of an item in Shopping Cart
    Re: return delivery text from material document is not passed to SUS
    </b>
    Do let me know, incase you face any problems.
    Regards
    - Atul

  • Creating XML report using PL/SQL Stored Procedure

    Hi Friends,
    I am working on an xml report with the xml source as PL/SQL Stored Procedure.
    I am referring the exercise shown in the following link to understand the process:
       http://orclapp.blogspot.com/2012/02/developing-xml-publisher-report-using.html
    In the example shown in the above link I could not understand the following:
    1) In the following procedure, the out parameter 'retcode' is not used at all.
       What is the importance of this parameter.
        PROCEDURE REPORT (errbuf  OUT VARCHAR2, retcode  OUT VARCHAR2, p_product_id   IN     NUMBER)
    2)  After the xml data is prepared and put to 'l_result' Clob variable, the following
        Loop is executed. I am not able to appreciate why the following loop is required.
         LOOP
             EXIT WHEN l_length = l_retrieved;
             IF (l_length - l_retrieved) < 32000
             THEN
                SELECT SUBSTR (l_result, l_retrieved + 1) INTO l_xmlstr FROM DUAL;
                l_retrieved := l_length;
                fnd_file.put_line (fnd_file.output, l_xmlstr);
             ELSE
                SELECT SUBSTR (l_result, l_retrieved + 1, l_offset)
                  INTO l_xmlstr
                  FROM DUAL;
                l_retrieved := l_retrieved + l_offset;
                fnd_file.put_line (fnd_file.output, l_xmlstr);
             END IF;
         END LOOP;
    3) In the example it is not explained how the concurrent program gets the xml data?
       I assume it is written to a file using the following line of code:
        fnd_file.put_line (fnd_file.output, l_xmlstr);
       I would appreciate if anyone can throw some light into my above queries so that I can understand the process clearly.
    Thanks & Regards
    Hawker

    Hi 32000 in the code is a 'safe' size smaller than the max available 32767, the loops purpose is to move through the entire thing in chunks that will be manageable in the limits of the data type.
    Btw; if you are in Oracle e-business suite then you can also use Oracle reports very simply to create XML output.
    If you have reports developer all you need to do is put raw sql (without any 'artifice' to create XML) in the report SQL and then set the reports output to XML in the program definition in Oracle e-business.
    best regards,
    Robert.

  • Overide XML Report Publisher renaming?

    Anyone know if it is possible to prevent the XML Report Publisher report from renaming the concurrent request on completion. This makes it very difficult for users to understand what requests are, especially when they are automatically submitted from other concurrent programs.
    For example in EBS 11.5.10+ I have a dunning letter custom where the standard "Dunning Letter Print from Dunning Letter Generate" process submits the bursting program and 2 instances of XML Report Publisher, one for the printed dunning letters and one for the summary report. We could live with the bursting report name but both the XML Report Publisher instances complete with the same name! How is the user supposed to know what is what?
    Cheers,
    Dave

    Glad someone else thinks so!
    I can see the reason behind what it does and it's fine for manually submitted "XML Report Publisher" requests but when you get to submitting it from another concurrent program the renaming is a pain, especially if you are submitting multiple reports from the same request (e.g. detail and summary reports). Users just don't know what they are supposed to be looking at!
    Hopefully Tim will pick it up but I suspect it will have to be a future fix rather than something we can change right now. Roll on a new release for EBS!
    Cheers,
    Dave

  • Unable to load the XML Report

    Hi,
    I am using TestStand 3.1. Someone before me has developped a lot of things in our application : specific steps, specific process model, ... . Now this person is not here anymore and I have a test report display problem.
    After an execution, the execution window cannot display the test report and displays the following message :
    "Unable to load the XML Report.
    At line 285 End tag 'NOBR' does not match the start tag 'BR'."
    Also with Internet Explorer, the test report cannot be displayed (and he locates the error at lign 287) .
    Needless to say that I am a poor guy in XML code that's why I am asking you some help.
    But, I opened the .xml with a text editor and that is the part of the code which causes the problem :
    284 </Prop>
    285 <BLOCKQUOTE>
    286 <H5><NOBR>Begin Sequence: MainSequence
    287 <BR>(X:\DATA_Utilisateur\Florian DENEVE\04_GENERIC\GenericTestMainSeq\GenericTestMainSeq.seq)<BR></BR></H5>
    288 <table BORDERCOLOR=#000000 FRAME=BOX RULES=ALL WIDTH=70%><TBODY>
    (please, be careful with the lines numbers, because i don't think that IE and TestStand have the same numbering)
    I don't know if it's a problem of basic TestStand or if it's due to the new process model and modifications realized by my previous colleague.
    Any ideas ?
    Thanks in advance for your help.

    Ok, here they are.
    There is a file called Addons.cfg.sources but I had to rename it to get it to attach
    Attachments:
    Addons.cfg.sources.txt ‏1 KB
    Addons.cfg ‏53 KB
    ResultProcessing.cfg ‏189 KB

  • XML Report Publisher program is erroring out

    Hi All,
    I've customized the AR Customer Statements.
    I've created a data definition as "ARXSGP" and uploded the sample_output.xml of Statement Generation Program to it. Also I've created a Data template as "ARXSGPO" and attached the data definition "ARXSGP" to it and uploaded the customized rtf file "XXHCC_CLE_F_ARCUSBALSL.rtf" and set the default output type to PDF.
    As I donot wish to call the XML Report Publisher program manually every time when I Print the Statements through Print Documents-->Statements.
    So I've done the below customization in ARXSGP.rdf file ie; Print Statements Report which is an Oracle Report.
    I've added the below code in After Report trigger.
    =======================================
    FUNCTION AfterReport
    RETURN BOOLEAN
    IS
    BEGIN
    Below code added for Customer Statement Case Study
    DECLARE
    l_req_id NUMBER := 0;
    L_XML_LAYOUT BOOLEAN := TRUE;
    BEGIN
    L_XML_LAYOUT := FND_REQUEST.ADD_LAYOUT (TEMPLATE_APPL_NAME => 'AR', TEMPLATE_CODE => 'ARXSGP', TEMPLATE_LANGUAGE => 'en', TEMPLATE_TERRITORY => 'US', OUTPUT_FORMAT => 'PDF');
    IF L_XML_LAYOUT THEN
    srw.message(20001, 'Template is picked ');
    srw.message(20002,'Concurrent request Id : '||:p_conc_request_id);
    l_req_id := FND_REQUEST.SUBMIT_REQUEST('XDO',
    'XDOREPPB',
    NULL,
    NULL,
    FALSE,
    :p_conc_request_id,
    222, -- Receivables
    'ARXSGPO', -- Statement Generate
    'en-US', -- English
    'N',
    'RTF',
    'PDF');
    IF l_req_id > 0 THEN
    COMMIT;
    ELSE
    srw.message(20004, 'Failed to submit request');
    END IF;
    ELSE -- Not L_XML_LAYOUT
    srw.message(20005, 'Template is not picked ');
    END IF;
    END;
    --------------------Code Ends----------------------------
    SRW.USER_EXIT('FND SRWEXIT');
    RETURN (TRUE);
    END;
    ==============================================
    After Printing the Statements through Print Documents-->Statements
    Statement Generation Program is being called and later XML Report Publisher program is also being invoked.
    But the XML Report Publisher Program is erroring out with below error.
    XML Publisher: Version : 12.0.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    XDOREPPB module: XML Report Publisher
    Current system time is 03-SEP-2012 17:42:18
    Oracle XML Publisher 5.6.3
    java.lang.NumberFormatException: For input string: "ARXSGPO"
         at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
         at java.lang.Integer.parseInt(Integer.java:447)
         at java.lang.Integer.parseInt(Integer.java:497)
         at oracle.apps.xdo.oa.cp.JCP4XMLPublisher.runProgram(JCP4XMLPublisher.java:215)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
    Start of log messages from FND_FILE
    End of log messages from FND_FILE
    Executing request completion options...
    Output file size:
    0
    ------------- 1) PUBLISH -------------
    Disabling requested Output Post Processing. Nothing to process. The output of the request is zero byte.
    Finished executing request completion options.
    Concurrent request completed
    Current system time is 03-SEP-2012 17:42:22
    Please help out with a solution.
    Thanks,
    Tech D

    for r12 add one row for parameter "Dummy for Data Security" from desc of XDOREPPB
    follow works for me
    SQL> set serveroutput on
    SQL>
    SQL> declare
      2    v_request_id   number;
      3  begin
      4 
      5   begin fnd_global.apps_initialize(0, 20419, 0); end;
      6   v_request_id := FND_REQUEST.SUBMIT_REQUEST('XDO',
      7                                              'XDOREPPB',
      8                                              NULL,
      9                                              NULL,
    10                                              FALSE,
    11                                              'N', -- Dummy for Data Security
    12                                              9888637, -- Request
    13                                              0, -- Template Application
    14                                              'XXAND10_1', -- Template
    15                                              'en-US', -- Template Locale
    16                                              'N', -- Debug Flag
    17                                              'RTF', -- Template Type
    18                                              'RTF' -- Output Format
    19                                              );
    20 
    21    dbms_output.put_line(v_request_id);
    22    if v_request_id > 0 then
    23      dbms_output.put_line('successfully submitted.');
    24      commit;
    25    else
    26      dbms_output.put_line('not submitted.');
    27      rollback;
    28    end if;
    29 
    30  end;
    31  /
    9888651
    successfully submitted.
    PL/SQL procedure successfully completed
    SQL> 'Y' for "Dummy for Data Security" also works for me
    SQL> declare
      2    v_request_id   number;
      3  begin
      4 
      5   begin fnd_global.apps_initialize(0, 20419, 0); end;
      6   v_request_id := FND_REQUEST.SUBMIT_REQUEST('XDO',
      7                                              'XDOREPPB',
      8                                              NULL,
      9                                              NULL,
    10                                              FALSE,
    11                                              'Y', -- Dummy for Data Security
    12                                              9888637, -- Request
    13                                              0, -- Template Application
    14                                              'XXAND10_1', -- Template
    15                                              'en-US', -- Template Locale
    16                                              'N', -- Debug Flag
    17                                              'RTF', -- Template Type
    18                                              'RTF' -- Output Format
    19                                              );
    20 
    21    dbms_output.put_line(v_request_id);
    22    if v_request_id > 0 then
    23      dbms_output.put_line('successfully submitted.');
    24      commit;
    25    else
    26      dbms_output.put_line('not submitted.');
    27      rollback;
    28    end if;
    29 
    30  end;
    31  /
    9888652
    successfully submitted.
    PL/SQL procedure successfully completed
    SQL>

Maybe you are looking for