Arabic in XML Reports

Hi,
I have created a template of RTF format with which contains Arabic.
It looks fine in the template but when I run the report through concurrent program it shows junk characters in the PDF output format.
Please let me know what are the pre-requisite and options need to used to view in Arabic.
Thanks and Regards.

Hi ,
For your proplem it may be two cause ,
Firstly ,how did you define the template on the applications in the section of Langauge and Teriotory?
in 11i, choose the Langauge Arabic and the teritory Egypt,
in 12r chhose the langauge English and leave the teritory blank.
Secondly IF you do this and the arabic character still junck contact your system adminstrator to define the arabic fonts like (Arial,Albanine,(Hendi for numbers)) under the righte paths .
It should work cause i was having the same problem .
Eman

Similar Messages

  • 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

  • XML Report in Arabic login in Oracle apps

    Hi,
    I have created a XML report in Oracle apps, the data is coming properly from english login.
    But when we login from Arabic Login then report does not show any data.
    The data does not come even after hard coding the values.
    Any clue for the issue..
    Below is the main query in the report.
    SELECT
    PAC1.PAYROLL_ID ,
    PAC1.PAYROLL_ACTION_ID ,
    HR_PAYROLLS.DISPLAY_PERIOD_NAME(PAC1.PAYROLL_ACTION_ID) PERIOD_NAME,
    PRO.PAYROLL_NAME
    ,TO_CHAR(SYSDATE,'DD-MM-YYYY') REPORT_DATE1
    FROM pay_payrolls_f pro,
    pay_payroll_actions pac1
    ,PER_TIME_PERIODS_V V
    WHERE pac1.payroll_id = pro.payroll_id (+)
    AND pac1.effective_date BETWEEN pro.effective_start_date (+) AND pro.effective_end_date (+)
    AND DECODE( PAC1.ACTION_TYPE, 'H', NVL(pay_payroll_actions_pkg.decode_cheque_type(pac1.business_group_id), HR_GENERAL.DECODE_LOOKUP('ACTION_TYPE', PAC1.ACTION_TYPE)), 'T', DECODE(instrb(PAC1.LEGISLATIVE_PARAMETERS,'SLA_MODE=Y'), 0, HR_GENERAL.DECODE_LOOKUP('TRANSFER_TO_LEDGER', 'GL'), NULL, HR_GENERAL.DECODE_LOOKUP('TRANSFER_TO_LEDGER', 'GL'), HR_GENERAL.DECODE_LOOKUP('TRANSFER_TO_LEDGER', 'SLA')) , HR_GENERAL.DECODE_LOOKUP('ACTION_TYPE', PAC1.ACTION_TYPE)) = 'Run'
    AND PAC1.Payroll_id = 61--:P_PAYROLL_ID
    AND PAC1.time_period_id = V.time_period_id
    AND to_char(v.start_date,'MM-YYYY') = '01-2013'--:P_MONTH

    in the next time use EBS related forums - https://forums.oracle.com/forums/category.jspa?categoryID=3
    BTW
    looks like that for Arabic language you haven't some data
    in your main query you have PER_TIME_PERIODS_V which based on HR_LOOKUPS which depend on session language
    CREATE OR REPLACE VIEW HR_LOOKUPS
    where FLV.LANGUAGE = userenv('LANG')
    ...so check data in HR_LOOKUPS for Arabic language
    you can check it by query without PER_TIME_PERIODS_V
    also you can modify your main query like
    select t.PAYROLL_ID,
           t.PAYROLL_ACTION_ID,
           t.PERIOD_NAME,
           t.PAYROLL_NAME,
           t.REPORT_DATE1
      from (SELECT PAC1.PAYROLL_ID,
                   PAC1.PAYROLL_ACTION_ID,
                   HR_PAYROLLS.DISPLAY_PERIOD_NAME(PAC1.PAYROLL_ACTION_ID) PERIOD_NAME,
                   PRO.PAYROLL_NAME,
                   TO_CHAR(SYSDATE, 'DD-MM-YYYY') REPORT_DATE1,
                   PAC1.time_period_id
              FROM pay_payrolls_f pro, pay_payroll_actions pac1
             WHERE pac1.payroll_id = pro.payroll_id(+)
               AND pac1.effective_date BETWEEN pro.effective_start_date(+) AND
                   pro.effective_end_date(+)
               AND DECODE(PAC1.ACTION_TYPE,
                          'H',
                          NVL(pay_payroll_actions_pkg.decode_cheque_type(pac1.business_group_id),
                              HR_GENERAL.DECODE_LOOKUP('ACTION_TYPE',
                                                       PAC1.ACTION_TYPE)),
                          'T',
                          DECODE(instrb(PAC1.LEGISLATIVE_PARAMETERS, 'SLA_MODE=Y'),
                                 0,
                                 HR_GENERAL.DECODE_LOOKUP('TRANSFER_TO_LEDGER',
                                                          'GL'),
                                 NULL,
                                 HR_GENERAL.DECODE_LOOKUP('TRANSFER_TO_LEDGER',
                                                          'GL'),
                                 HR_GENERAL.DECODE_LOOKUP('TRANSFER_TO_LEDGER',
                                                          'SLA')),
                          HR_GENERAL.DECODE_LOOKUP('ACTION_TYPE',
                                                   PAC1.ACTION_TYPE)) = 'Run'
               AND PAC1.Payroll_id = 61 --:P_PAYROLL_ID
            ) t
      left outer join PER_TIME_PERIODS_V V
        on (t.time_period_id = V.time_period_id AND
           to_char(v.start_date, 'MM-YYYY') = '01-2013' --:P_MONTH
           )

  • Barcode's in R12.1.1 xml report output's (English and Arabic)

    Dear Frednds,
    we are using R12.1.1 and we need to get the barcode output's (in place of numbers) in out xml report output's.
    We need it in English report and also in Arabic reports (it has seperate arabic template file)
    Please let us know the method?
    Regards,
    DB

    Desar Hussein,
    1) we have downloaded and installed the Font Code128bWinLarge.ttf on windows PC.
    2)Set the barcode font for the required field in the rtf Template.
    3) Copied the font file, Code128bWinLarge.ttf to $OA_JRE_TOP/lib/fonts
    4) Copied xdo.cfg file from our local desktop where we have BI publisher installed to
    $OA_JRE_TOP/lib Directory.
    5)added these lines locating barcode font location ($OA_JRE_TOP/lib/fonts
    /Code128bWinLarge.ttf)accordingly.
    Now For English reports we are getting the barcode
    But for Arabic reports we are getting junk characters
    so is there any other font available for Arabic barcode.Plerase suggest
    Regards,
    DB

  • XML Report Arabic letter not coming in Report

    Hi all
    when i try to generate xml report from Concurrent,
    the arabic letter coming as ??????????? in report.
    Can any one help me in this issue...

    Hi ,
    Can you check the below link
    http://prsync.com/oracle/non-english-characters-appears-as---in--bi-publisher-pdf-output--27505/
    May be helpful for you.
    Thanks,
    Ananth

  • Customized XML Report error in Arabic Instance

    Dear All,
    A Customized XML Report works perfectly without error in English Instance, where as in the Arabic Instance it throws the below error.
    In the English Instance, if we select both languages in  language settings in SRS window while submitting the report, only Language( American English, Territory:AMERICA ) is working , Language (Arabic, Territory:UNITED ARAB EMIRATES) is having error.
    Application Ver: 12.1.3
    Module: custom
    Today I registered one new report it works perfectly in both instances. (Arabic/English), the settings of DD, Template are same for both.
    Kindly suggest me where can be the error.
    ﺕﻼﻣﺎﻌﻤﻟﺍ
    '61'=p_PAYROLL_ID
    '4980'=p_TIME_PERIOD_ID
    '4549'=P_PERSON_ID
    Forcing NLS_NUMERIC_CHARACTERS to: '.,' for XDO processing
    : APPLLCSP Environment Variable set to
    : Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are
    8ARABIC_UNITED ARAB EMIRATES.UTF
    :ﺮﺴﻟﺍ ﺔﻤﻠﻛ ﻞﺧﺩﺃ
    ﻞﻛﺍﺭﻭﺃ ﺄﻄﺧ ﺙﺪﺣ :0300-REP
    ﻲﻠﺧﺍﺩ ﺄﻄﺧ :0069-REP
    :ﺄﻄﺧ ﺩﻮﺟﻭ ﻊﻣ  ﺀﺎﻬﻧﻹﺍ ﻢﺗ:ﺔﻳﺭﺎﺠﻟﺍ ﺔﻔﻴﻇﻮﻟﺍ ﺀﺎﻬﻧﺇ ﻢﺗ :57054-REP
    ﻞﻛﺍﺭﻭﺃ ﺄﻄﺧ ﺙﺪﺣ :300-REP
    2013 52:32:13 7 11 ﺲﻴﻤﺨﻟﺍ Report Builder: Release 10.1.2.3.0 - Production on
    .c) 1982, 2005, Oracle.  All rights reserved) Copyright

    Hi,
    Please see notes:
    11i-12 How To Perform Quick Checks for REP-3000: Internal Error Starting Oracle Toolkit (Doc ID 364838.1)
    Master Note : Comprehensive REP-3000 Troubleshooting and Overview Guide (Doc ID 200474.1)
    Guide to Solving Report Issues REP-XXX in Procurement (REP-0069, REP-1814, REP-1212, REP-0756, REP-1416, REP-1247, REP-736, REP-0759) (Doc ID 1535982.1)
    Thanks &
    Best Regards,

  • XML reports error

    when i run any XML report i found error in log .
    Environment will now switch to UTF-8 code-set.
    Parts of this log file may not display correctly
    as a result. This is an expected behavior.
    XML_REPORTS_XENVIRONMENT is :
    /disk1/oracle/prodora/8.0.6/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
    XENVIRONMENT is set to /disk1/oracle/prodora/8.0.6/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    AMERICAN_YEMEN.UTF8
    REP-3000: Internal error starting Oracle Toolkit.

    Please post the details of the application release, database version and OS.
    when i run any XML report i found error in log .
    Environment will now switch to UTF-8 code-set.
    Parts of this log file may not display correctly
    as a result. This is an expected behavior.
    XML_REPORTS_XENVIRONMENT is :
    /disk1/oracle/prodora/8.0.6/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
    XENVIRONMENT is set to /disk1/oracle/prodora/8.0.6/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    AMERICAN_YEMEN.UTF8
    REP-3000: Internal error starting Oracle Toolkit.REP-3000 error is related to the DISPLAY settings, please make sure that the DISPLAY is set correctly.
    Please also see these docs/links.
    Master Note : Comprehensive REP-3000 Troubleshooting and Overview Guide [ID 200474.1]
    How To Perform Quick Checks for REP-3000: Internal Error Starting Oracle Toolkit. [ID 364838.1]
    Troubleshooting Tips for REP-3000 Error when Running E-Business Suite PDF/POSTSCRIPT/HTML Reports [ID 207532.1]
    Rep-3000 , REP-69 When Running any Reports on E-Business Suite 12.0.4 [ID 729849.1]
    REP-3000 Error While Creating XML File with Arabic data (REP-3000). [ID 562573.1]
    https://forums.oracle.com/forums/search.jspa?threadID=&q=REP-3000&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • 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

Maybe you are looking for