XML Report Structure

Hi,
My requirement is to design a payslip for an employee, In my output i need to display the elements(ie earnings and deductions) in two different columns like below
Earnings Rs. Deductions Rs
Basic 5000 PF 300
HRA 3500
How to display the elements in two different columns.(Here the elements Basic,HRA and PF are getting from the same database column).

Hi,
Hope your data is comma separated.
You have two options:
1. Do a substring to your data base column and separate the individual columns based on comma separation in your sql query, so that u can directly use it in your RTF as individual tags.
2. You can substring the tag which is comma separated and print the data as follows:
Assuming an XML structure as
<ROOT>
<TEXT>BASIC,HRA,PF</TEXT>
<VALUE>5000,3500,300</VALUE>
</ROOT>
Now you can have the following tags:
*1st row:*
<?xdofx:substr(/ROOT/TEXT,1,Instr(/ROOT/TEXT,',',1)-1)?> <?xdofx:substr(/ROOT/VALUE,1,Instr(/ROOT/VALUE,',',1)-1)?>; <?xdofx:substr(/ROOT/TEXT,Instr(/ROOT/TEXT,',',1,2)+1)?>: <?xdofx:substr(/ROOT/ VALUE,Instr(/ROOT/VALUE,',',1,2)+1)?>
*2nd row:*
<?xdofx:substr(/ROOT/TEXT,Instr(/ROOT/TEXT,',',1,1)+1,Instr(/ROOT/TEXT,',',1,2)-(Instr(/ROOT/TEXT,',',1,1)+1))?>: <?xdofx:substr(/ROOT/VALUE,Instr(/ROOT/VALUE,',',1,1)+1,Instr(/ROOT/VALUE,',',1,2)-(Instr(/ROOT/VALUE,',',1,1)+1))?>
and the output for this would be like
BASIC 5000; PF: 300
HRA: 3500
Hope this is what you want.
Thanks,
Kavipriya.

Similar Messages

  • Dynamic change of PropFlags_IncludeInReport doesn't change data in XML report

    Hi,
    I have tried to change the contents of my XML report generated in TS3.1 by changing the PropFlags_IncludeInReport. This works for some simple data types like numericteststep where I have removed the limits and step result from the report if the step pass. This is done from LV7.1 where I have created a reference to the step properties and then changed the flag with the GetFlag Property and SetFlag Property. I have posted a HTML (easier to open remote) example “MIGAExcludePassStepLimitsFromHTML.html” & a picture that shows the step structure “NumTestStepStructure.jpg”.
    But it doesn’t work when my data type is getting more complicated. See CustomTestStepStructure.jpg. In this case it’s an array of containers (measurement - custom data type) that contains some containers (limits and channel – custom data type). I have removed the PropFlags_IncludeInReport on all the custom data types (in the top of the tree) except on some of the items in the last type in the tree (Status, Read.Voltage_V, Limits.Voltage_High_V, Limits.Voltage_Low_V…).
    The XML style sheets doesn’t show my data when I remove the PropFlags_IncludeInReport of the Measurement Array (if it’s on all the sub-properties are shown. Not wanted because off the size). I assume it’s a bug (shows data in HTML) if some data in the structure has this flag enabled?
    I can see in the source of the XML report that the flags are added to each property. These flags have the correct value from the custom data type, but the style sheets can’t show them correctly. It’s possible that NI will make a fix to this problem?
    I have also tried to change the PropFlags_IncludeInReport on my custom step properties from LV7.1 like above. But my changes of the flags dynamically aren’t included in my XML report (new flags aren’t added to each property). Why? Is it because of the data type? Is it because I do it in a Post Step? Is there a solution?
    I am looking forward to hear from you,
    Best Regards,
    Morten Pedersen
    CIM Industrial Systems A/S

    Hi,
    I have posted some sequences for you. Extract to C:\. The only difference in these seq-files is the PropFlags_IncludeInReport flag for the Result.Measurement property in the custom step type called MIGA_DCPower_HM7044.
    Try to run the sequences. With XML report enabled. In the beginning of the CimHamegTest_MainTestSequence there are some numeric limit test step that in the run code enables or disables, with the SetFlag Method, the result, limits and comp depending on the test pass or fail. Works fine.
    But there are problems in my custom step types that are executed after. The different sequence files shows the first problem. If the Flag mentioned in the top is disabled no sub data is include besides their flags is set to IncludeInReport. In the source code of the XML the flags are correct, but the stylesheet can’t show them.
    The second problem is when I tried to change the flag dynamically. This is done in a post step for the custom step type called MIGA_DCPower_HM7044. This vi disables all the low voltage limits. I use for e.g. this look up string for that: Step.Result.Measurement[0].Limits.Voltage_Low_V. These changes aren’t included in my report. Both the HTML and XML would not show or change it.
    I hope this will show you the problems and hopefully help me.
    Best regards,
    Morten Pedersen
    CIM Industrial Systems A/S

  • Modify xml reports

    I would like to modify the xml report files of TestStand in the following way:
    < p>
    < xml version="1.0" encoding=UTF-8"?>
    < report>
    < product_number>xxxx< /product_number>
    < serial_number>xxxxx< /serial_number>
    < spec_info>< /spec_info>
    < options>< /options>
    < workstation>< /workstation>
    < operator>< /operator>
    < test>
    < name>< /name>
    < /test>
    < /report>
    < /p>
    So the xml file looks totally different like the xml files produced by TestStand.
    Is there any way to make this change - and how could it be done?
    Thanks in advance
    nicole e.Message Edited by Support on 06-17-2005 10:21 AM

    Nicole -
    It all depends as to whether you want to just update the GetXML calls or you want to control the format of the entire XML file.
    Internally GetXML recursively traverses a generic property object structure by going to its children and so on. It generates a list of strings that are eventually all concatinated together before returning.
    The default XML report schema contains the output from multiple calls to a GetXML all concatinated together. Separate calls are made to generate XML for various pieces of typed data like UUT, ReportOptions, StartTime, StartDate, StationInfo, and the result from the MainSequence call step in the Single Pass or the Test UUTs sequence.
    Since all the above components are built by the GetXML stream and you wish to simplify the entire schema, trying to make a single change to replace the GetXML calls in the XML sequence might not be possible.
    If you are only going to be doing post UUT results and not on-the-fly, you could write your own routine that replaces the Test Report sequence in the SequentialModel.seq. This sequence generates the report for a single UUT. You may want to consider writing your own routine using the parameters to the sequence which include UUT, ReportOptions, StartTime, StartDate, StationInfo, and the main sequence results. This way you can create the schema that you want.
    Scott Richardson
    National Instruments

  • 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 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

  • 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>

  • XML Report Excel Output exponential value issue

    Hello All,
    While working on XML Report we need to show output in excel format. One of the out put value is “00110E001”. but when displaying in excel is shows "1.00E+0" and default behavior of MS Excel is if the any number data contains “E” then excel will convert those records in exponential format. But our client required those data which are present in database i.e. “00110E001”.
    Kindly share your valuable inputs.
    Thanks in advance
    Thanks,
    Pushpal

    Hi Uday,
    You are making number as a string, by adding a character :) , so it will be displayed as string with space and not as number.

  • Arabic numbers issue in XML Report

    Dear Experts,
    I have one arabic xml report, when i ran the report it showing english numbers, instead of arabic numbers.But in the output i should get arabic numbers.
    Please find the attachment of xml template and output.
    could any one help me on this, its urgent.
    Thanks in advance.
    Best Regards
    Amar

    Dear Experts,
    I have one arabic xml report, when i ran the report it showing english numbers, instead of arabic numbers.But in the output i should get arabic numbers.
    Please find the attachment of xml template and output.
    could any one help me on this, its urgent.
    Thanks in advance.
    Best Regards
    Amar

Maybe you are looking for

  • Spacing of photos on pages in Book

    Hi, I am trying to set out a portfolio in a book. It seems that if one tries to put 2 photos on a page, the programme 2-photo template(s) crams them up together with no space between them. This ruins the visual effect of both photos. I can't find any

  • Merged folders doesn't work = only dots

    Hello, When start Thunderbird (latest version), all messages are in the merged folder "Mailbox In" Once I go with the cursor over all the text disappears and there remain only about dots. How do I fix that? greeting Giel

  • Palm Conduit crash (10.4.9/Palm T|X)

    Hi, I'm getting the following crash when I try to start isync and the Palm date book does not sync although other parts of the Palm sync do work. This started happening fairly recently, possibly with the 10.4.9 update although I am not certain becaus

  • Where can we get the media for CRM 2007?

    We want to get the media for CRM 2007 to begin our upgrade. My understanding is that it is now in general release. Where can we get the media? There are no links in the marketplace. Thanks

  • Cursor does not change on disabled controls

    How can I set another cursor on disabled nodes? My use case: I want to disable a node, while a Task is running and simultaneously change the cursor to the wait cursor. But it has no effect, if the node is disabled. Any solutions? import javafx.applic