Need to generate xml tags

select B.PERIOD_NAME,B.VENDOR_NAME,B.AMOUNT,A.VENDOR_NAME AS VENDOR,A.LINE_AMOUNT,A.SEGMENT2,A.DESCRIPTION,A.COST_CENTER,A.VERTICAL from (
select distinct aida.period_name,gcc.segment2,
ffv.description ,asa.vendor_name,asa.vendor_id,sum(aia.invoice_amount)LINE_AMOUNT,
bbb.description cost_center, bbb1.description vertical
from
ap_invoices_all aia
,ap_invoice_distributions_all aida
,gl_code_combinations_kfv gcc,
ap_suppliers asa,
fnd_flex_values_vl ffv,
(select gcc.segment3,ffv.description
from gl_code_combinations_kfv gcc,
fnd_flex_values_vl ffv,
fnd_flex_value_sets ffvs
where gcc.segment3 = ffv.flex_value
and ffvs.flex_value_set_id = ffv.flex_value_set_id
and ffvs.flex_value_set_name = 'HEGICL_COST_CENTRE_VS'
) bbb,
(select gcc.segment4,ffv.description from gl_code_combinations_kfv gcc,
fnd_flex_values_vl ffv,
fnd_flex_value_sets ffvs
where ffvs.flex_value_set_id = ffv.flex_value_set_id
and ffvs.flex_value_set_name = 'HEGICL_VERTICAL_VS'
and gcc.segment4 = ffv.flex_value) bbb1
where aia.invoice_id = aida.invoice_id
and aida.dist_code_combination_id = gcc.code_combination_id
and asa.vendor_id = aia.vendor_id
and asa.vendor_type_lookup_code = 'VENDOR'
-- and ffv.flex_value = gcc.segment2
-- and asa.vendor_name in ('A Suresh Babu','Adinath Jadhav','Bindi Thakkar')
and aia.gl_date between (select '1'||substr(:p_period_name1,1,6) from dual) and (select last_day('1'||substr(:p_period_name2,1,6)) from dual)
and gcc.segment2 like '4%'
and AP_INVOICES_PKG.GET_POSTING_STATUS( AIa.INVOICE_ID)= 'Y'
group by
gcc.segment2 , ffv.description ,asa.vendor_name,aida.period_name
,bbb.description, bbb1.description,asa.vendor_id)A,
( select distinct p.period_num,x.* from (
select * from (
select aida.period_name,asa.vendor_name,asa.vendor_id,sum(aia.invoice_amount)as Amount from
ap_invoices_all aia
,ap_invoice_distributions_all aida
,gl_code_combinations_kfv gcc,
ap_suppliers asa
where
aia.invoice_id = aida.invoice_id
and aida.dist_code_combination_id = gcc.code_combination_id
and asa.vendor_id = aia.vendor_id
and asa.vendor_type_lookup_code = 'VENDOR'
-- and ffv.flex_value = gcc.segment2
and aia.gl_date between (select '1'||substr(:p_period_name1,1,6) from dual) and (select last_day('1'||substr(:p_period_name2,1,6)) from dual)
and gcc.segment2 like '4%'
and AP_INVOICES_PKG.GET_POSTING_STATUS( AIa.INVOICE_ID)= 'Y'
-- and rownum < 11
group by
asa.vendor_name,aida.period_name,asa.vendor_id
order by Amount desc)
where
rownum < 11
) x ,gl_period_statuses p
where p.period_name = x.period_name
order by p.period_num)B
where a.vendor_ID = B.VENDOR_ID
Regards
Chandra

for example
select dbms_xmlgen.getxml('select empno, ename from emp where rownum <3') from dual
<?xml version="1.0"?>
<ROWSET>
<ROWSET>
  <EMPNO>1</EMPNO>
  <ENAME>123</ENAME>
</ROW>
<ROW>
  <EMPNO>9999</EMPNO>
  <ENAME>Tim</ENAME>
</ROW>                                                                                    
</ROWSET>      or
SELECT xmlelement("ROWS", xmlagg( xmlelement("ROW",xmlelement("EmpNumber", empno), xmlelement("EmpName", ename))))
FROM emp
WHERE rownum<3
<ROWS><ROW><EmpNumber>1</EmpNumber><EmpName>123</EmpName></ROW><ROW><EmpNumber>9999</EmpNumber><EmpName>Tim</EmpName></ROW></ROWS>                                                                                                                                                                                                                    

Similar Messages

  • Need to generate XML based on Data template

    Hi,
    I'm unable to submit (the second submit) my request using the demo links (XDO 5.6.3 or XDO 5.7) provided in http://bipublisher.us.oracle.com/?tab=samples&header=dataTemplate to generate the XML based on the data template.
    Heard that these links are available for Oracle EBS internal use. I work with EBS-CRM. I need to generate XML based on a data template and use the XML in the template. Data template has two queries for a template.
    Pls help.
    Thanks,
    Impha

    Impha
    Please use the internal mailing list for your questions the forum is meant for external customers. If you do not know the ML name - drop me a mail
    Tim

  • Generating xml tags with stored procedure

    Hi Friends,
    I have to create a xml report using procedure .the code is given here to generate xml tags.
    create or replace procedure sri_xml (errbuff out varchar2,
    retcode out number) as
    /* create cursor to fetch the records*/
    cursor c_emp is select empno,
    ename,
    deptno,
    sal,
    job
    from emp;
    begin
    /* first line of xml data should be "<? xml version = "0.1"?>" */
    fnd_file.put_line(fnd_file.output,'<?xml version = "1.0" ?>');
    fnd_file.put_line(fnd_file.output,'<per_emp1>');
    for c in c_emp loop
    /* for each record create a group tag <gemp_name> at start */
    fnd_file.put_line(fnd_file.output,'<G_EMP_NAME>');
    /*EMBEDD DATA BETWEEN XML TAGS */
    fnd_file.put_line(fnd_file.output,'<empno>' || c.empno || '</empno>');
    fnd_file.put_line(fnd_file.output,'<ename>' || c.ename || '</ename>');
    fnd_file.put_line(fnd_file.output,'<sal>' || c.sal || '</sal>');
    fnd_file.put_line(fnd_file.output,'</G_EMP_NAME>');
    end loop;
    fnd_file.put_line(fnd_file.output,'</per_emp1>');
    end;
    i run the procedure in the concurrent program with output mode as text and i got the xml tags as the out put. i have created the template using the data definition and registered them in the xml publisher administer but i am unable to get the out put when i run the concurrent request it is giving the message "AUTHENTICATION FAILED".
    please help me to solve the problem and to get the desired output with desired template.
    thanks in advance,
    siddam

    Hi Siddam,
    Please post your query on BI Publisher forum.
    There are number of folks who can resolve the issue u faced.
    Please go through the bi publisher developers guide and then design the report.
    I am not sure about the process ur following for report development...i think you have to create data defination and rtf layout and then attach it to oracle xml administrator responsibility.
    Ratnesh

  • Generating XML Tags in PLSQL using XMLELEMENT

    Hi All,
    I am trying to generate XML Tags using XMLELEMENT. Does anyone has an example for this. I have special characters in my DATA so the normal Concatenation does not work.........
    Thanks In Advance.

    try select xmlelement("ELEMENT_NAME",column)
    into var
    from dual;
    var must be defined as xmltype

  • Need to add xml tag in the request message

    Hello Experts,
    Need ur help.
    Right now i am working on the scenario Http -> to -> Proxy.
    Whatever request i am getting is not having XML tag in it, and because of that my mapping is failing.
    Can you tell me that how can i add XML tag in my request so it will not fail in Mapping?
    Need to add : <?xml version="1.0" encoding="UTF-8"?> in request.
    Thanks,
    Hetal

    HI Hetal
    Instead of adding this to the source message. Remove this tag from mapping.
    Use a XSLT mapping without this initial tag. it will work.
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:m="http://namespace">
    <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="no"/>
    <xsl:template match="/">
    <xsl:for-each select="//tag">
    <xsl:value-of select="." disable-output-escaping="yes"/>
    </xsl:for-each>
    </xsl:template>
    </xsl:stylesheet>
    Use this mapping without
    <?xml version="1.0" encoding="UTF-8"?>
    If you still see XML tag then use
    <xsl:output method="html"
    instead of
    <xsl:output method="xml"
    Thanks
    Gaurav

  • No need to index XML Tags

    Hi All:
    I do not want XML tags to be indexed. Any ideas are apreciated.
    Thanks
    Naghmeh

    Hi,
    do You read this section:
    8.3 XML Section Searching with Oracle Text
    Like HTML documents, XML documents have tagged text which you can use to define blocks of text for section searching. The contents of a section can be searched on with the WITHIN or INPATH operators.
    For XML searching, you can do the following:
    Automatic sectioning
    Attribute searching
    Document type sensitive sections
    Path section searching
    As I understand, all You need - customize section group for Your text index, heh?
    WBR, Yuri

  • New to XML, need to generate XML document

    I have an existing application that uses an Oracle 9.2.0.3 database. An existing PL/SQL procedure generates a flat file interface using UTL_FILE. My task is to upgrade this procedure to generate an XML file and transform this XML file into different outputs (e.g. flat file interface, PDF file which I plan to use XSL Formatting Objects). My question is how should I generate the XML document from the PL/SQL procedure? Should I use the Oracle 9i SQL/XML capabilities? specifically xmlelement, etc? An if so should I also use UTL_FILE to generate the XML file? Your help will be appreciated.

    Williams,
    Do you want to generate an XML file from the data present in relational tables using PL/SQL ?
    In that case you can use XML SQL Utility(XSU).
    For more information on XSU click [url http://otn.oracle.com/docs/products/oracle9i/doc_library/release2/appdev.920/a96621/adx23xsp.htm#1008317]here.
    Regards,
    Anupama
    [url http://otn.oracle.com/sample_code/]OTN Sample Code

  • Need to generate XML report  (when user clicks the button)from Application Express 4.0.0.00.46

    I am new to Apex so I invoke all the APEX GURUS to help me !!!
    Here are details.
    When the user hits a button from APEX page he can download an XML report
    here is the parameterized SQL query:

    Duplicate thread: https://community.oracle.com/message/11325665

  • How to generate XML Publisher report from PLSQL Stored Procedure in APPS

    Hi,
    I have concurrent program of type PLSQL Stored procedure.I need to generate XML Publisher report from the same.I have changed the output of the concurrent program as "XML" but when I tried running it,the XML tags are not generated.Due to this I am unable to create the template.Its a urgent issue.
    Please help me out .
    Thanks in advance.
    Kaveri

    Hi Kaveri
    Sadly there is nothing magic about that output field. The only program type that you can flip it to XML and then magically get XML is for Oracle Reports. For plsql you will need to recode the plsql to generate XML rather than text that you have now.
    You have some options, best option first:
    1. Move the sql to a data template - check the user guide and blog for help or
    2. Use SQL XML or XMLGEN (not great for large datasets) or
    3. Use dbms_output.put_line and write the XML file manually - not performant at all
    Regards, Tim

  • Generation of XML Tags for columns in Lexical parameter in select query

    Hi,
    I have lexical parameter in my select statement of my data model in the report.
    How do i generate XML tags for these columns inside a Lexical Parameter?
    Simple Example: I have data model query as follows:
    SELECT msi.inventory_item_id
    &LP_SELECT
    FROM mtl_system_items_b
    Here my lexical Parameter LP_SELECT is generated in before report trigger as follows in my report:
    :LP_SELECT := 'msi.segment1,msi.description';
    So, the question is how to generate XML Tags for columns in Lexical Parameter(as in the example above, i need XML tags for these columns - segment1 and description)
    Thanks,
    Ratan

    try this
    Select &order data_show
    from oe_order_headers_all
    where order_number ='7889'
    and setting  :order:='order_number';  in after parameter form trigger.
    Hope this helps
    Hamid

  • URGENT!! Generating XML in a PL/SQL stored proc

    Hi,
    I need to generate XML from a PL/SQL stored proc.
    I need to do it in Oracle 7.3.4 as well as 8.1.6 databases.
    I need to have my own defined tags in the xml.
    Say I have the table Person like
    Person (
    id number,
    fname varchar2(40),
    lname varchar2(40)
    I need a stored proc will will select * from Person and output the data in XML form as
    <Person Names>
    <Employee>
    <First Name personid="<<value from id field>>">
    <<value from fname field>>
    </First Name>
    <Last Name>
    << value from lname field>>
    </Last Name>
    </Employee>
    </Person Names>
    I want to minimise hard coding also.
    how can I do this ? any pointers ?
    Thanks in advance, Hari
    null

    Hi,
    We are not having a Web Agent here. So i am unable to use PLSXML utility.
    I installed XSU and is now able to create the XML, but with the table attribute names as the tags. So
    1. Is there a way I can transform this XML to another XML with custom tags ( using an XSL ) in a PL/SQL procedure ?
    2. Is there a way I can install and use PLSXML without the web agent ?
    Thanks, Hari

  • Issues in generating xml from Report Builder as per XSD provided

    Hi,
    We are provided with XSD's for each report. Now we need to generate XML's from report that are as per the XSD's provided to us.
    But the problem come's when we have to define hirearchies.
    Like for example
    1. Our Report is based on the following query:
    SELECT DISTINCT '' as DUMMY
    ,               fil.file_number
    ,      TO_CHAR (TO_DATE (RTRIM (LTRIM (fil.processing_date)), 'YYDDD'),'DD-MM-YY') Processing_Dt
    , rp_bsu.service_user_number
    , rp_bsu.service_user_name
    ,     rp_ac.account_number
    , rp_ac.account_name
    ,     rp_ac.account_type
    ,     rp_ac.sortcode
    , NVL(ovr_lmt.account_section_value,0) AS
    account_section_value
    ,     NVL(ovr_lmt.overlimit_amount,0) AS overlimit_amount1
    , (NVL(ovr_lmt.overlimit_amount,0) - NVL(ovr_lmt.account_section_value,0)
    ) value_to_date
    , (NVL(ovr_lmt.overlimit_amount,0) -
    NVL(lmt_usg.limit_amount,0)
    ) amount_overlimit
    , ovr_lmt.over_limit_id, NVL(lmt_usg.limit_amount,0) AS
    limit_amount
    , lmt_usg.period_type,lmt_usg.currency
    FROM v_rp_bacs3day_service_user rp_bsu,
    v_rp_bacs_service_office rp_bso,
    v_rp_account rp_ac,
    t_file fil,
    t_over_limit ovr_lmt,
    t_limit_usage lmt_usg
    WHERE rp_bso.handling_bank_code = :p_scheme_member
    AND rp_bsu.sponsoring_bank_code = rp_bso.owning_bank_code
    AND rp_ac.service_user_number = rp_bsu.service_user_number
    AND rp_bsu.service_user_number = fil.originator
    AND fil.status <> 'R'
    AND fil.processing_date = (SELECT cycle_date
    FROM t_cycle
    WHERE status = 1)
    AND lmt_usg.account_id = rp_ac.account_id
    AND ovr_lmt.limit_usage_id = lmt_usg.limit_usage_id
    AND TO_CHAR (ovr_lmt.exceeded_date, 'DD-MM-YYYY') =
    (SELECT TO_CHAR (TO_DATE (RTRIM (LTRIM (cycle_date)),
    'YYDDD'),'DD-MM-YYYY')
    FROM t_cycle
    WHERE status = 1)
    2.The hierarchy as per xsd that we need to define is :
    <ServiceUserAccount>
    <ServiceUser>
         <Name></Name>
    <Number></Number>
    </ServiceUser> <SortCode></SortCode>
    <AccountNumber></AccountNumber>
    <NearOrOverLimitDetail>
    <AccountType></AccountType>
    <ProcessingDate></ProcessingDate>
    …………………..(there is a list of elements below it)
    </NearOrOverLimitDetail>
    </ServiceUserAccount>
    In the xsd for the complex element type “ServiceUser” we need to display Service User Name and Number. For this I created a separate query Q2 in reports and joined it using data link with the parent Q1(which has data grouped on processing date) . So that it can be displayed as a separate element parallel to other elements like Sort code ,Account Numbers. But when we generate XML for this, then tags for Q2 query donot appear in xml.
    And we get this hierarchy with missing Service User element
    <ServiceUserAccount>
    <SortCode></SortCode>
    <AccountNumber></AccountNumber>
    <NearOrOverLimitDetail>
    <AccountType></AccountType>
    <ProcessingDate></ProcessingDate>
    …………………..(there is a list of elements below it)
    </NearOrOverLimitDetail>
    </ServiceUserAccount>
    Please let me know if you have any solution to implement this ASAP as its very urgent.
    Thanks & Regds
    Anuradha.

    Hi,
    We are provided with XSD's for each report. Now we need to generate XML's from report that are as per the XSD's provided to us.
    But the problem come's when we have to define hirearchies.
    Like for example
    1. Our Report is based on the following query:
    SELECT DISTINCT '' as DUMMY
    ,               fil.file_number
    ,      TO_CHAR (TO_DATE (RTRIM (LTRIM (fil.processing_date)), 'YYDDD'),'DD-MM-YY') Processing_Dt
    , rp_bsu.service_user_number
    , rp_bsu.service_user_name
    ,     rp_ac.account_number
    , rp_ac.account_name
    ,     rp_ac.account_type
    ,     rp_ac.sortcode
    , NVL(ovr_lmt.account_section_value,0) AS
    account_section_value
    ,     NVL(ovr_lmt.overlimit_amount,0) AS overlimit_amount1
    , (NVL(ovr_lmt.overlimit_amount,0) - NVL(ovr_lmt.account_section_value,0)
    ) value_to_date
    , (NVL(ovr_lmt.overlimit_amount,0) -
    NVL(lmt_usg.limit_amount,0)
    ) amount_overlimit
    , ovr_lmt.over_limit_id, NVL(lmt_usg.limit_amount,0) AS
    limit_amount
    , lmt_usg.period_type,lmt_usg.currency
    FROM v_rp_bacs3day_service_user rp_bsu,
    v_rp_bacs_service_office rp_bso,
    v_rp_account rp_ac,
    t_file fil,
    t_over_limit ovr_lmt,
    t_limit_usage lmt_usg
    WHERE rp_bso.handling_bank_code = :p_scheme_member
    AND rp_bsu.sponsoring_bank_code = rp_bso.owning_bank_code
    AND rp_ac.service_user_number = rp_bsu.service_user_number
    AND rp_bsu.service_user_number = fil.originator
    AND fil.status <> 'R'
    AND fil.processing_date = (SELECT cycle_date
    FROM t_cycle
    WHERE status = 1)
    AND lmt_usg.account_id = rp_ac.account_id
    AND ovr_lmt.limit_usage_id = lmt_usg.limit_usage_id
    AND TO_CHAR (ovr_lmt.exceeded_date, 'DD-MM-YYYY') =
    (SELECT TO_CHAR (TO_DATE (RTRIM (LTRIM (cycle_date)),
    'YYDDD'),'DD-MM-YYYY')
    FROM t_cycle
    WHERE status = 1)
    2.The hierarchy as per xsd that we need to define is :
    <ServiceUserAccount>
    <ServiceUser>
         <Name></Name>
    <Number></Number>
    </ServiceUser> <SortCode></SortCode>
    <AccountNumber></AccountNumber>
    <NearOrOverLimitDetail>
    <AccountType></AccountType>
    <ProcessingDate></ProcessingDate>
    …………………..(there is a list of elements below it)
    </NearOrOverLimitDetail>
    </ServiceUserAccount>
    In the xsd for the complex element type “ServiceUser” we need to display Service User Name and Number. For this I created a separate query Q2 in reports and joined it using data link with the parent Q1(which has data grouped on processing date) . So that it can be displayed as a separate element parallel to other elements like Sort code ,Account Numbers. But when we generate XML for this, then tags for Q2 query donot appear in xml.
    And we get this hierarchy with missing Service User element
    <ServiceUserAccount>
    <SortCode></SortCode>
    <AccountNumber></AccountNumber>
    <NearOrOverLimitDetail>
    <AccountType></AccountType>
    <ProcessingDate></ProcessingDate>
    …………………..(there is a list of elements below it)
    </NearOrOverLimitDetail>
    </ServiceUserAccount>
    Please let me know if you have any solution to implement this ASAP as its very urgent.
    Thanks & Regds
    Anuradha.

  • Display xml- tags with NULL - value

    Hello
    is there a way to display a tag while the value is null in this matter :
    select
    xmlforest(AFRAGNR_1, AFRAGNR_2 , AFRAGNR_3 ,AFRAGNR_4 )
    AS XML
    FROM VIEW_ABC WHERE x = v1 and y = v2
    -- result: :AFRAGNR_3 and AFRAGNR_4 is null and not displayed:
    XML
    &lt;AFRAGNR_1&gt;J&lt;/AFRAGNR_1&gt;&lt;AFRAGNR_2&gt;J&lt;/AFRAGNR_2&gt;
    -- by using this, its not the result I want to get,
    select
    xmlelement( "AFRAGNR_1" , AFRAGNR_1 ) AFRAGNR_1
    ,xmlelement( "AFRAGNR_2" , AFRAGNR_2 ) AFRAGNR_2
    ,xmlelement( "AFRAGNR_3" , AFRAGNR_3 ) AFRAGNR_3
    ,xmlelement( "AFRAGNR_4" , AFRAGNR_4 ) AFRAGNR_4
    FROM VIEW_ABC WHERE x = v1 and y = v2
    another way ?
    regards Norbert
    Edited by: astramare on Nov 20, 2008 12:32 PM

    I have the same problem:
    - I need to generate XML in format <element id="1" />
    - I need to pass some null values:
    SELECT XMLElement ( "ShipToAddress"
    , XMLAttributes ( customer_id as "CustomerNo"
    , '' as "Code"
    , substr(name,1,30) as "Name"
    , '' as "Name2"
    , substr(street||' '||house_nr,1,30) as "Address"
    , '' as "Address2"
    , city as "City"
    , last_name ||' '|| first_name as "Contact"
    , phone as "PhoneNo"
    , '' as "CountryCode"
    , fax as "FaxNo"
    , zip_cd||' '||postal_code_extention as "PostCode"
    , '' as "County"
    , email as "EMail"
    , website as "HomePage")) customer
    FROM customers;
    result should be:
    <ShipToAddress CustomerNo="100001004" Code="3" Name="4C
    Cons" Name2="" Address="Metrologielaan" Address2="" City="BRUSSEL" Contact="" PhoneNo="" CountryCode="BE" FaxNo="" PostCode="1130" County="" EMail="" HomePage="" />
    and NOT (this is my result at the moment):
    <ShipToAddress CustomerNo="100001004" Code="3" Name="4C
    Cons" Address="Metrologielaan" City="BRUSSEL" CountryCode="BE" PostCode="1130"></ShipToAddress>;
    Can someone help me with this please?
    Edited by: willeha on Mar 5, 2009 7:18 AM

  • How can i find and replace xml tags?

    Hi, i am using xml in my workflow and want to be able to remove certain tags if they contain particular text.
    here is an example of my xml structure…
    <entry>
        <name>DEFAULT</name>
        <tel>DEFAULT</tel>
        <address>DEFAULT</address>
    </entry>
    I am using this initial structure to set the paragraph styles to be followed when the xml data is imported.
    This leaves DEFAULT in place wherever an entry doesn't have any content for that field.
    I want to be able to import my XML then run a script that removes any tags that include DEFAULT, - I need the entire xml tag to be removed not just the text, if i do a normal find and replace it will only remove the text not the tags which is causing problems with styling. I also want to remove the end of para/return (^p) that i've placed at the end of the line. So it would be the same as opening up story editor and removing the content + tags + hard return in there, but i want to automate the process…
    So i think this is what i need to search for in each case
    "<name>DEFAULT</name>^p"
    and i want to replace it with nothing ""
    Can this be done through scripting (ideally javascript)?
    I have a little knowledge of javascript but am not sure how to search and target that kind of string in indesign...
    using indesign cs5
    many thanks

    Hi,
    Script should do it in two steps:
    1. find all occurences of i.e. ">DEFAULT<"
    2. remove whole paragraph which is a found_text's container.
    For example this way -JS - (a textFrame filled with your text should be selected) :
    var mStory = app.selection[0].parentStory;
    app.findTextPreferences =  null;
    app.findTextPreferences.findWhat = ">DEFAULT<";
    var myF = mStory.findText();
    var count = myF.length;
    while (count--)
         myF[count].paragraphs[0].remove();
    rgds

  • Error while generating XML file through RDF

    Hi,
    I wanted to generate a Report on some business case. For that I need to generate XML file first.
    For generating XML file
    1. I have built an RDF through Reports builder.
    2. Saved the report to local machine with extension .rdf
    3. Moved it to appltop/app/reports/US directory
    4. Registered tha Report with Executable of type Oracle Reports
    5. Defined Concurrent Program with OUTPUT as XML.
    When I submmitted the program, it was giving an error as follows.
    The XML page cannot be displayed
    Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.
    A semi colon character was expected. Error processing resource 'https://oaphrd.humana.com/OA_CGI/FNDWRR.exe?temp_id=2088989...
    +<?xml version="1.0" encoding="&Encoding"?>+
    But, when I tried to sane the report directly to a file (file - > generate file -> XML) the XML was generated successfully.
    How to get rid of this. Some one please help me out.
    Thanks !
    Edited by: Rajasekhar Reddy on May 4, 2012 1:23 AM

    Hi,
    I found the issue and corrected it. :)
    This was happened only because of the Version problem of Report Builder with Oracle Applications.
    Reports Builder 10g is not compatiblie with Oracle Applications 11.5.10.
    Oracle 11.5+ will always expect the RDF from Reports 6i version. Because of this, the endocing was damaged.
    You can observe in the earlier post as encoding="&Endoding". Here +&Encoding should be replaced by some encoding mechanism like "UTF-8".+
    Finally corrected the version and got the Output as expected.
    Thanks !

Maybe you are looking for

  • Can't play sound from multiple programs

    So I have this new shiny box running Arch64 with a ASRock N68-S motherboard. I installed alsa and I am able to play music just fine using amarok or mpd. However, when I try playing two sounds at once, there is a short pause and the first program beco

  • Can a swf file begin executing code before loading completely?

    I have a swf file with a preloader on the stage at authoring time. The preloader centers itself by retrieving the stage dimensions and calculating the coordinates it needs. This works everytime in Flash preview, but once I put it online it only works

  • How to add images to a report with action links

    I am working with Action Links between OBIEE 10.1.3.3 and EBS 11.5.10.2 I would like to hide the action link URL with an image. Can someone point me to documentation for adding images to a report with action links. Regards, Manav

  • How To create a WebDAV repository...

    Is there any documentation available for creating a WebDAV repository and making it available for TREX to index and search. I tried to follow the help doc in creating such a repository but the WebDAV rep. I created does not show up in the KM reposito

  • How to decide number of decimals

    Hi! I wonder how I can decide how many decimals I want. I write a program where I use doubles, but there is no limit on how many decimals I get. How can I limit the decimal the easiest way? for instance like this: double a = 1.23 double b = 1.46 doub