Generate XML with answer values

Hi Forum,
I wnat to know if there is any function or method to generate a xml, a string, with the answer values. I want to generate this string to attach this survey with the all fields completed in an activity.
Regards and thanks in advance,
Mon

Hi,
you can use one of the following Classes for XML conversion.
CL_PROXY_XML
CL_CRM_XML_PROVIDER
CL_CXF_XML_TOOLS
Also if none of the above is useful, you can search one in SE24 with XML.
There are lots and one will be definitely useful.
Please reward with points in case helpful.
Sharif.

Similar Messages

  • ERS generated document with zero value for SES

    Hi,
    I have maintained service entry sheet.
    Accounting entry is generated.
    When I run T code MRRL, it has generated document with zero value.
    This is not a free goods PO.
    Why this is happening?
    Please guide on this issue.
    Regards,
    Piyush

    Hi,
    Creating an ERS zero document is an expected system behavior ,you           
    could create an ERS zero document by doing the following wrong           
    procedure:                                                                               
    1. Create PO with ERS falg ON.                                           
    2. Perform GR for PO.                                                    
    3. Create the invoice by MIRO.(Not MRRL).                                
    4. Run MRRL (LIV-ERS).                                                                               
    For every purchase order with flag 'ERS' a table entry is generated.     
    If a goods receipt is posted, this GR should be invoiced via ERS         
    (Tr. MRRL). Manually posted invoices should be avoided, because          
    the table entry will not be deleted. A new invoice receipt must be       
    created while running ERS (but with amount and quantity zero and without 
    FI documents) in order to give a message to the vendor because he        
    has sent you an invoice by mistake.                                      
    Could you please check also the note:1069215
    Best regards
    Erika

  • EBS-R12 Generate XML (with data) from Embedded Data Definition

    Hi
    I'm new to running XMLP/BIP in EBS.
    I have found the extensive set of data definitions and templates in EBS and they work great out of the box.
    I, however, need to make template modifications.
    To this end, a correctly structured XML data template - containing all the data fields - is needed for loading into the template-builder in Word.
    If for example I take the embedded R12 data definition - XLAJELINESRPT.xml - for Posted Payable Invoices, and load it into the template builder, it provides the structure of the data template and not the structure of the output XML data.
    I have tried several ways to run the Data definition through XMLP using the concurrent manager attempting to intercept the generated XML (with data) but it either completes the process and uses the linked output template - producing the PDF - or other output - or if I remove the (output template altogether) it fails with an error.
    Maybe I'm missing an obvious step, but there has to be a way of taking the very comprehensive Data Definitions embedded in R12 EBS and using them in custom report templates.
    If I've totally missed the point, please give me the steps to follow.
    Many thaks in anticipation.
    Mike MacMurray

    HI Mike,
    You cannot load your Data Template into the MS Word Template Builder plugin, as it cannot be run to generate XML this way.
    You have two options to get the data from an XML Publisher Report run as a concurrent program in EBS.
    1) Using the XML Publisher Administrator responsibility, set an end date for both the Data Defintion and Template Definitions associated with the XLAJELINESRPT report.
    2) Leave the concurrent program, Data Defintions and Template Definitions exactly as they are and run the report. Once the report has completed, select the Concurrent Request, click "Diagnostics" then click "View XML". This will open the XML in a new browser window. You can then right click, View Source and then save this document locally.
    You can then load this XML into the MS Word Template Builder and start building your template.
    I hope this helps.
    Regards,
    Cj

  • Generate XML with tag names generated dynamically.

    Hi Mark,
    I want to generate xml in the following way using SQLXoperators.
    But only problem is when i use the operator, the tag name should be supplied before in hand as parameter.
    So it works well when the data for the tags are stored in seperate columns then its pretty simple.
    But lets say the whole hierarchy of the nodes is stored in one table with ID-->PARENTID relationship and the text is stored in a column called description.
    Now using CONNECT BY PRIOR i get the hierarchy and now based on the description value i have to generate the tags and then fill in the other details.
    This is just a summary of what i want. the below sample has much more than that and actual data comes from more than one table.
    But if i get the solution for what i asked before i think i can build the test of the thing.
    <?xml version="1.0" encoding="UTF-8"?>
    <SequenceData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="SequenceData.xsd">
         <Header>
              <TemplateName>Template(XML)</TemplateName>
              <TemplateVersion>1.1</TemplateVersion>
              <CreatedUser>rsh2kor</CreatedUser>
              <CreatedDate>17-06-2005 12.12.22</CreatedDate>
         </Header>
         <List>
              <LoadPoints>
                   <LoadPoint description="Loadpoint1_in_list(level one)">
                        <SetPhase>
                             <SetPhaseVariables>
                                  <SetPhaseVariable>
                                       <Name>pRail</Name>
                                       <Unit>bar</Unit>
                                       <Value>100</Value>
                                       <SettlingTime>0.0</SettlingTime>
                                  </SetPhaseVariable>
                             </SetPhaseVariables>
                             <MonitoredVariables>
                                  <MonitoredVariable>
                                       <ID>12344<ID>
                                       <Name>MeasPoint</Name>
                                       <Unit>pascal</Unit>
                                       <Limit>10</Limit>
                                       <Tolerance>0.0</Tolerance>
                                       <Operator>&gt;</Operator>
                                       <AlertType>STOP</AlertType>
                                  </MonitoredVariable>
                             </MonitoredVariables>
                        </SetPhase>
                        <WaitPhase>
                             <WaitingTime>10</WaitingTime>
                             <MonitoredVariables>
                                  <MonitoredVariable>
                                       <Name>MeasPoint</Name>
                                       <Unit>pascal</Unit>
                                       <Limit>10</Limit>
                                       <Tolerance>0.0</Tolerance>
                                       <Operator>&gt;</Operator>
                                       <AlertType>STOP</AlertType>
                                  </MonitoredVariable>
                             </MonitoredVariables>
                        </WaitPhase>
                        <MeasPhase>
                             <MeasPhaseVariables>
                                  <MeasPhaseVariable>
                                       <Name>MeasPoint</Name>
                                       <Unit>pascal</Unit>
                                       <Result>0</Result>
                                  </MeasPhaseVariable>
                             </MeasPhaseVariables>
                        </MeasPhase>
                   </LoadPoint>
              </LoadPoints>
         </List>
         <Loop Iteration="5">
              <LoadPoints>
                   <LoadPoint description="Loadpoint2_in_Loop">
                        <SetPhase>
                             <SetPhaseVariables>
                                  <SetPhaseVariable LoopCount="1">
                                       <Name>pRail</Name>
                                       <Unit>bar</Unit>
                                       <Value>10</Value>
                                       <SettlingTime>0.0</SettlingTime>
                                  </SetPhaseVariable>
                                  <SetPhaseVariable LoopCount="2">
                                       <Name>pRail</Name>
                                       <Unit>bar</Unit>
                                       <Value>20</Value>
                                       <SettlingTime>0.0</SettlingTime>
                                  </SetPhaseVariable>
                                  <SetPhaseVariable LoopCount="3">
                                       <Name>pRail</Name>
                                       <Unit>bar</Unit>
                                       <Value>30</Value>
                                       <SettlingTime>0.0</SettlingTime>
                                  </SetPhaseVariable>
                                  <SetPhaseVariable LoopCount="4">
                                       <Name>pRail</Name>
                                       <Unit>bar</Unit>
                                       <Value>40</Value>
                                       <SettlingTime>0.0</SettlingTime>
                                  </SetPhaseVariable>
                                  <SetPhaseVariable LoopCount="5">
                                       <Name>pRail</Name>
                                       <Unit>bar</Unit>
                                       <Value>50</Value>
                                       <SettlingTime>0.0</SettlingTime>
                                  </SetPhaseVariable>
                             </SetPhaseVariables>
                             <MonitoredVariables>
                                  <MonitoredVariable>
                                       <Name>MeasPoint</Name>
                                       <Unit>pascal</Unit>
                                       <Limit>10</Limit>
                                       <Tolerance>0.0</Tolerance>
                                       <Operator>&gt;</Operator>
                                       <AlertType>STOP</AlertType>
                                  </MonitoredVariable>
                             </MonitoredVariables>
                        </SetPhase>
                        <WaitPhase>
                             <WaitingTime>10</WaitingTime>
                             <MonitoredVariables>
                                  <MonitoredVariable>
                                       <Name>MeasPoint</Name>
                                       <Unit>pascal</Unit>
                                       <Limit>10</Limit>
                                       <Tolerance>0.0</Tolerance>
                                       <Operator>&gt;</Operator>
                                       <AlertType>STOP</AlertType>
                                  </MonitoredVariable>
                             </MonitoredVariables>
                        </WaitPhase>
                        <MeasPhase>
                             <MeasPhaseVariables>
                                  <MeasPhaseVariable>
                                       <Name>MeasPoint</Name>
                                       <Unit>pascal</Unit>
                                       <Result>0</Result>
                                  </MeasPhaseVariable>
                             </MeasPhaseVariables>
                        </MeasPhase>
                   </LoadPoint>
              </LoadPoints>
              <List>
                   <LoadPoints>
                        <LoadPoint description="Loadpoint3_in_list(level two)">
                             <MonitoredVariables/>
                             <SetPhase>
                                  <SetPhaseVariables>
                                       <SetPhaseVariable>
                                            <Name>pRail</Name>
                                            <Unit>bar</Unit>
                                            <Value>100</Value>
                                            <SettlingTime>0.0</SettlingTime>
                                       </SetPhaseVariable>
                                  </SetPhaseVariables>
                                  <MonitoredVariables>
                                       <MonitoredVariable>
                                            <Name>MeasPoint</Name>
                                            <Unit>pascal</Unit>
                                            <Limit>10</Limit>
                                            <Tolerance>0.0</Tolerance>
                                            <Operator>&gt;</Operator>
                                            <AlertType>STOP</AlertType>
                                       </MonitoredVariable>
                                  </MonitoredVariables>
                             </SetPhase>
                             <WaitPhase>
                                  <WaitingTime>10</WaitingTime>
                                  <MonitoredVariables>
                                       <MonitoredVariable>
                                            <Name>MeasPoint</Name>
                                            <Unit>pascal</Unit>
                                            <Limit>10</Limit>
                                            <Tolerance>0.0</Tolerance>
                                            <Operator>&gt;</Operator>
                                            <AlertType>STOP</AlertType>
                                       </MonitoredVariable>
                                  </MonitoredVariables>
                             </WaitPhase>
                             <MeasPhase>
                                  <MeasPhaseVariables>
                                       <MeasPhaseVariable>
                                            <Name>MeasPoint</Name>
                                            <Unit>pascal</Unit>
                                            <Result>0</Result>
                                       </MeasPhaseVariable>
                                  </MeasPhaseVariables>
                             </MeasPhase>
                        </LoadPoint>
                   </LoadPoints>
              </List>
         </Loop>
    </SequenceData>
    Pls help as soon as possible.
    Thanks.

    I'm not Mark, but check out this article it may be helpful.
    http://www.oracle.com/technology/oramag/oracle/05-may/o35asktom.html
    In 10g there are other SQL statements besides connect by prior for parent child relationships.
    such as:
    CONNECT_BY_ROOT—returns the root of the hierarchy for the current row; this greatly simplifies our query. (See below for an example).
    CONNECT_BY_ISLEAF—is a flag to tell you if the current row has child rows.
    CONNECT_BY_ISCYCLE—is a flag to tell you if the current row is the beginning of an infinite loop in your hierarchy. For example, if A is the parent of B, B is the parent of C, and C is the parent of A, you would have an infinite loop. You can use this flag to see which row or rows are the beginning of an infinite loop in your data.
    NOCYCLE—lets the CONNECT BY query recognize that an infinite loop is occurring and stop without error (instead of returning a CONNECT BY loop error).

  • Generating XML with attributes using XSU

    Oracle document claims if the sql is:
    select empno as @empno from employee
    Using XSU to generate XML will produce and XML document with EMPNO as an attribute instead of element name. But this does not seem to work. There is an exception:
    <ERROR>oracle.xml.sql.OracleXMLSQLException: Character '&' is not allowed in an XML tag name.</ERROR
    Is there anything wrong or is there a work around

    Oracle document claims if the sql is:
    select empno as @empno from employee
    Using XSU to generate XML will produce and XML document with EMPNO as an attribute instead of element name. But this does not seem to work. There is an exception:
    <ERROR>oracle.xml.sql.OracleXMLSQLException: Character '&' is not allowed in an XML tag name.</ERROR
    Is there anything wrong or is there a work around

  • Generate XML with SAX (OutputFormat/XMLSerializer deprecated)

    Hi,
    I'm working on a project using an old code, written by don't-know-who, which generates XML code from data obtained at the moment, at run-time, and then returns it as a String.
    Recently, my project included a new version (2.9) of the xercesImpl.jar library, and now classes OutputFormat and XMLSerializer have become deprecated.
    I'd like to update the old code. Do you know how to modify my code in order to do exactly the same things with a "new" approach which is not deprecated?
    I tried to search in the net and I found this FAQ <http://xerces.apache.org/xerces2-j/faq-general.html#faq-6>, but I didn't understand at all how to convert my code. :(
    Here's a "semplified" version of my method:
    public String generateDocument() {
        OutputFormat of = new OutputFormat("XML", "UTF-8", true);
        of.setIndent(1);
        of.setIndenting(true);
        StringWriter sw = new StringWriter();
        XMLSerializer xs = new XMLSerializer(sw, of);
        try {
            ContentHandler hd = xs.asContentHandler();
            hd.startDocument();
            AttributesImpl atts = new AttributesImpl();
            atts.addAttribute("", "", "id", "CDATA", "1");
            hd.startElement("", "", "addressBook", atts);
            atts.clear();
            hd.startElement("", "", "name", atts);
            String s = "John";
            hd.characters(s.toCharArray(), 0, s.length());
            hd.endElement("", "", "name");
            hd.startElement("", "", "surname", atts);
            s = "Smith";
            hd.characters(s.toCharArray(), 0, s.length());
            hd.endElement("", "", "surname");
            hd.endElement("", "", "addressBook");
            hd.endDocument();
        } catch (Exception e) {
            // TODO Auto-generated catch block
            e.printStackTrace();
        return sw.toString();
    }This code returns a String with this content:
    <addressBook id="1">
      <name>John</name>
      <surname>Smith</surname>
    </addressBook>Thanks a lot.

    This is easy. You have to somewhen learn the basics of the Java XML APIs, e.g. the DOM API. Or fight like a man through
    http://java.sun.com/webservices/reference/tutorials/jaxp/html/dom.html
    http://java.sun.com/webservices/reference/tutorials/jaxp/html/intro.html
    http://java.sun.com/webservices/docs/1.6/tutorial/doc/index.html.

  • Generate XML with multiple parent nodes

    I have the following test data
    CREATE TABLE #TEST1 (
    HS VARCHAR(20),
    HN VARCHAR(20),
    NC FLOAT
    INSERT INTO #TEST1
    VALUES ('COMPLETE','ABC123',1234.56789),
    ('REJECTED','ABC124',1234.56789),
    ('PLANNED','ABC125',1234.56789),
    ('COMPLETE','ABC126',1234.56789),
    ('COMPLETE','ABC127',1234.56789),
    ('REJECTED','ABC128',1234.56789),
    ('COMPLETE','ABC129',1234.56789),
    ('PLANNED','ABC130',1234.56789),
    ('COMPLETE','ABC131',1234.56789),
    ('COMPLETE','ABC132',1234.56789),
    ('REJECTED','ABC133',1234.56789),
    ('COMPLETE','ABC134',1234.56789),
    ('PLANNED','ABC135',1234.56789),
    ('COMPLETE','ABC136',1234.56789),
    ('REJECTED','ABC137',1234.56789),
    ('COMPLETE','ABC138',1234.56789),
    ('COMPLETE','ABC139',1234.56789),
    ('PLANNED','ABC140',1234.56789)
    SELECT ( SELECT *
    FROM #TEST1 T
    FOR XML PATH('STATUS'), TYPE
    FOR XML PATH('Document'), ROOT('kml')
    DROP TABLE #TEST1
    Which produces the following results.
    <kml>
    <Document>
    <STATUS>
    <HS>COMPLETE</HS>
    <HN>ABC123</HN>
    <NC>1.234567890000000e+003</NC>
    </STATUS>
    <STATUS>
    <HS>REJECTED</HS>
    <HN>ABC124</HN>
    <NC>1.234567890000000e+003</NC>
    </STATUS>
    <STATUS>
    <HS>PLANNED</HS>
    <HN>ABC125</HN>
    <NC>1.234567890000000e+003</NC>
    </STATUS>
    <STATUS>
    <HS>COMPLETE</HS>
    <HN>ABC126</HN>
    <NC>1.234567890000000e+003</NC>
    </STATUS>
    <STATUS>
    <HS>COMPLETE</HS>
    <HN>ABC127</HN>
    <NC>1.234567890000000e+003</NC>
    </STATUS>
    <STATUS>
    <HS>REJECTED</HS>
    <HN>ABC128</HN>
    <NC>1.234567890000000e+003</NC>
    </STATUS>
    <STATUS>
    <HS>COMPLETE</HS>
    <HN>ABC129</HN>
    <NC>1.234567890000000e+003</NC>
    </STATUS>
    <STATUS>
    <HS>PLANNED</HS>
    <HN>ABC130</HN>
    <NC>1.234567890000000e+003</NC>
    </STATUS>
    <STATUS>
    <HS>COMPLETE</HS>
    <HN>ABC131</HN>
    <NC>1.234567890000000e+003</NC>
    </STATUS>
    <STATUS>
    <HS>COMPLETE</HS>
    <HN>ABC132</HN>
    <NC>1.234567890000000e+003</NC>
    </STATUS>
    <STATUS>
    <HS>REJECTED</HS>
    <HN>ABC133</HN>
    <NC>1.234567890000000e+003</NC>
    </STATUS>
    <STATUS>
    <HS>COMPLETE</HS>
    <HN>ABC134</HN>
    <NC>1.234567890000000e+003</NC>
    </STATUS>
    <STATUS>
    <HS>PLANNED</HS>
    <HN>ABC135</HN>
    <NC>1.234567890000000e+003</NC>
    </STATUS>
    <STATUS>
    <HS>COMPLETE</HS>
    <HN>ABC136</HN>
    <NC>1.234567890000000e+003</NC>
    </STATUS>
    <STATUS>
    <HS>REJECTED</HS>
    <HN>ABC137</HN>
    <NC>1.234567890000000e+003</NC>
    </STATUS>
    <STATUS>
    <HS>COMPLETE</HS>
    <HN>ABC138</HN>
    <NC>1.234567890000000e+003</NC>
    </STATUS>
    <STATUS>
    <HS>COMPLETE</HS>
    <HN>ABC139</HN>
    <NC>1.234567890000000e+003</NC>
    </STATUS>
    <STATUS>
    <HS>PLANNED</HS>
    <HN>ABC140</HN>
    <NC>1.234567890000000e+003</NC>
    </STATUS>
    </Document>
    </kml>
    What I really want to produce is this
    <kml>
    <Document>
    <STATUS>
    <HS>
    COMPLETE
    <Data>
    <HN>ABC123</HN>
    <NC>1.234567890000000e+003</NC>
    </Data>
    <Data>
    <HN>ABC126</HN>
    <NC>1.234567890000000e+003</NC>
    </Data>
    <Data>
    <HN>ABC127</HN>
    <NC>1.234567890000000e+003</NC>
    </Data>
    <Data>
    <HN>ABC129</HN>
    <NC>1.234567890000000e+003</NC>
    </Data>
    <Data>
    <HN>ABC131</HN>
    <NC>1.234567890000000e+003</NC>
    </Data>
    <Data>
    <HN>ABC132</HN>
    <NC>1.234567890000000e+003</NC>
    </Data>
    <Data>
    <HN>ABC134</HN>
    <NC>1.234567890000000e+003</NC>
    </Data>
    <Data>
    <HN>ABC136</HN>
    <NC>1.234567890000000e+003</NC>
    </Data>
    <Data>
    <HN>ABC138</HN>
    <NC>1.234567890000000e+003</NC>
    </Data>
    <Data>
    <HN>ABC139</HN>
    <NC>1.234567890000000e+003</NC>
    </Data>
    </HS>
    </STATUS>
    <STATUS>
    <HS>
    REJECTED
    <Data>
    <HN>ABC124</HN>
    <NC>1.234567890000000e+003</NC>
    </Data>
    <Data>
    <HN>ABC128</HN>
    <NC>1.234567890000000e+003</NC>
    </Data>
    <Data>
    <HN>ABC133</HN>
    <NC>1.234567890000000e+003</NC>
    </Data>
    <Data>
    <HN>ABC137</HN>
    <NC>1.234567890000000e+003</NC>
    </Data>
    </HS>
    </STATUS>
    <STATUS>
    <HS>
    PLANNED
    <Data>
    <HN>ABC125</HN>
    <NC>1.234567890000000e+003</NC>
    </Data>
    <Data>
    <HN>ABC130</HN>
    <NC>1.234567890000000e+003</NC>
    </Data>
    <Data>
    <HN>ABC135</HN>
    <NC>1.234567890000000e+003</NC>
    </Data>
    <Data>
    <HN>ABC140</HN>
    <NC>1.234567890000000e+003</NC>
    </Data>
    </HS>
    </STATUS>
    </Document>
    </kml>
    Is it possible to group header and then group data under those headers using one SQL statement?
    Thanks in advance
    Q

    E.g.
    DECLARE @TEST1 TABLE
    HS VARCHAR(20) ,
    HN VARCHAR(20) ,
    NC FLOAT
    INSERT INTO @TEST1
    VALUES ( 'COMPLETE', 'ABC123', 1234.56789 ),
    ( 'REJECTED', 'ABC124', 1234.56789 ),
    ( 'PLANNED', 'ABC125', 1234.56789 ),
    ( 'COMPLETE', 'ABC126', 1234.56789 ),
    ( 'COMPLETE', 'ABC127', 1234.56789 ),
    ( 'REJECTED', 'ABC128', 1234.56789 ),
    ( 'COMPLETE', 'ABC129', 1234.56789 ),
    ( 'PLANNED', 'ABC130', 1234.56789 ),
    ( 'COMPLETE', 'ABC131', 1234.56789 ),
    ( 'COMPLETE', 'ABC132', 1234.56789 ),
    ( 'REJECTED', 'ABC133', 1234.56789 ),
    ( 'COMPLETE', 'ABC134', 1234.56789 ),
    ( 'PLANNED', 'ABC135', 1234.56789 ),
    ( 'COMPLETE', 'ABC136', 1234.56789 ),
    ( 'REJECTED', 'ABC137', 1234.56789 ),
    ( 'COMPLETE', 'ABC138', 1234.56789 ),
    ( 'COMPLETE', 'ABC139', 1234.56789 ),
    ( 'PLANNED', 'ABC140', 1234.56789 )
    SELECT O.HS ,
    ( SELECT I.HN ,
    I.NC
    FROM @TEST1 I
    WHERE I.HS = O.HS
    FOR XML PATH('') ,ROOT('Data'), TYPE
    ) AS HS
    FROM @TEST1 O
    GROUP BY O.HS
    FOR XML PATH('Document') , ROOT('kml');
    Caveat: You're using mixed element name casing.

  • Unmarshalling Xml with Name value pair

    HI,
    Can anyone tell how to unmarshall such a sort of XML format
    <GetDeadlineOffset>
    <deadlineCode>DeadlineCode</deadlineCode>
    <parameters>
    <parameter name="Name1" value="Value1"/>
    <parameter name="Name2" value="Value2"/>
    </parameters>
    </GetDeadlineOffset>
    Thanks

    Hi,
    Take you original XSD, duplicate it(give another name) and just change it.
    For example:
    From
    <element name="input">
              <complexType>
                   <sequence>
                        <element name="name" type="string"/>
    <element name="value" type="string"/>
                   </sequence>
              </complexType>
         </element>
    To
    <element name="input">
              <complexType>
                   <sequence>
                        <element name="date" type="string"/>
    <element name="year" type="string"/>
                   </sequence>
              </complexType>
         </element>
    After that create new variable of type element base on you new XSD file.
    Arik

  • Problem with generating xml and nested cursor (ora-600)

    I have a problem with generating xml (with dbms_xmlquery or xmlgen) and nested cursors.
    When I execute the following command, I get a ORA-600 error:
    select dbms_xmlquery.getxml('select mst_id
    , mst_source
    , cursor(select per.*
    , cursor(select ftm_fdf_number
    , ftm_value
    from t_feature_master
    where ftm_mstr_id = pers_master_id ) as features
    from t_person per
    where pers_master_id = mst_id ) as persons
    from f_master
    where mst_id = 3059435')
    from dual;
    <?xml version = '1.0'?>
    <ERROR>oracle.xml.sql.OracleXMLSQLException: ORA-00600: internal error code, arguments: [kokbnp2], [1731], [], [], [], [], [], []
    </ERROR>
    The problem is the second cursor (t_feature_master).
    I want to generate this:
    <master>
    <..>
    <persons>
    <..>
    <features>
    <..>
    </features>
    </persons>
    <persons>
    <..>
    <features>
    <..>
    </features>
    </persons>
    </master>
    If i execute the select-statement in sql-plus, then I get the next result.
    MST_ID MST_SOURCE PERSONS
    3059435 GG CURSOR STATEMENT : 3
    CURSOR STATEMENT : 3
    PERS_MASTER_ID PERS_TITLE PERS_INITI PERS_FIRSTNAME PERS_MIDDL PERS_LASTNAME
    3059435 W. Name
    CURSOR STATEMENT : 15
    FTM_FDF_NUMBER FTM_VALUE
    1 [email protected]
    10 ....
    I use Oracle 8.1.7.4 with Oracle XDK v9.2.0.5.0.
    Is this a bug and do somebody know a workaround?

    Very simple...Drop all type objects and nested tables and create them again. You will get no error. I'll explain the reason later.

  • Generate XML using Java

    Hi all,
    How can I genrate a XML document using Java? What are the imports that I have to use? Also please tell me about JAXP and in what way it can be used to generate an XML
    Please Help me with examples..
    Thanks in advance

    You can generate xml with dom like this
    try {
         DocumentBuilderFactory dbfac = DocumentBuilderFactory.newInstance();
         DocumentBuilder docBuilder = dbfac.newDocumentBuilder();
         Document document = docBuilder.newDocument();
         Element element = document.createElement("<your_tag_name>"); // creares tag
         element.setAttribute("key", "value"); // adds an attribute to your tag
         Text text = document.createTextNode("some text"); // creates "some text node"
         element.appendChild(text); // adds text to our tag for ex. <your_tag_name>some text</your_tag_name>
         CDATASection cdata = document.createCDATASection("cdata text");
         element.appendChild(cdata); // appends it to element
         document.appendChild(element); // if you want to add this element *** root element
         // or
         root.appendChild(element); // where  root is another Element object
    } catch (ParserConfigurationException e) {
         e.printStackTrace();
    }

  • ERS generated document with zero vaue for SES

    Hi,
    I have maintained service entry sheet.
    Accounting entry is generated.
    When I run T code MRRL, it has generated document with zero value.
    This is not a free goods PO.
    Please guide on this issue.
    Regards,
    Piyush

    Repeated by mistake

  • Form2xml generate xml files with "??????????" for non-latin characters

    i used form2xml in oracle 10 g suit to convert forms 5   .fmb to .xml . using the command:
    frmf2xml.bat OVERWRITE=YES myform.fmb
    The forms contains arabic character set, but the xml file is generated with character "????????? "  , and the xml file is unusable
    what can i do to keep arabic characters in the generated  xml files.
    Edit:
    I run form2xml on windows xp SP3 with arabic support (codepage =1256)
    The xml file is generated as UTF-8

    I resolved the problem.
    step1: search in the registry for every NLS_Lang key and modify its value to codepage 1256 using regedit
    step2: in control panel-Region and Language , I  modified language to be Arabic
    Now every thing is good

  • Cannot generate XML for the List of Values (UX 00072)

    Hi,
    I had issues with a .LOV file associated with an object.
    Cannot generate XML for the List of Values (UX 00072)
    [LOV Name] This LOV contains data that does not originate from Corporate Data.
    The object maps to data in a table of the DB that will be populated in the future. The LOV file is "empty", but I have to pass the universe into production waiting for the data.
    This error doesn't permit me to go from Development to Prod.
    Regards,
    Riccardo

    You need to set the display-property="<<Your name property>>" in item-descriptor tag.
    e.g. <item-descriptor name="myItem" display-property="name" />
    Cheers
    R

  • Generate XML report then display like HTML with specified formate

    Hello,friends
    I want to generate XML report then use XSL to parse it,report will display like HTML with specified formate like attachment,any ideas?
    Thank you
    Alb

    Hi Ray,
    I don't why I can not upload any format picture,so I listed the display as below:
    Test Result                                                                                                  Company Logo
    SN                   1111                                                                                     User                          Operator
    Status              Fail                                                                                       Factory                     SE
    Product            xxx                                                                                       Tester                        xxx
    Start time         xxx                                                                                        Line                          xxx 
    Test time          xxx
    NAME                               STATUS           VALUE                          LOW               HIGH                   RULE
    1.0 Pass/Fail     Test           Passed             True                             True                                             EQ 
    2.0 Less than    Test            Failed               15                                10                                                LT
    3.0 String Value Test           Passed          A string from the limit file   A string
                                                           End of Report
    Could you give me some suggestions?
    Thanks a lot
    Alb

  • 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

Maybe you are looking for

  • All my Nikon .xmp files are tagged as Final Cut Pro files!

    Using Aperture, all the .xmp files are incorrectly tagged by Snow Leopard as FCP files. Because I run FCP on this machine too, I can't see how to change this to whatever files they should be tagged as (because my FCP project files will be change by t

  • IOS 4.1 on 3G - Battery Meter Wrong

    Has anyone had problems with the battery meter after updating to 4.1? The meter is correct while discharging, but not while charging. To get an accurate reading after a charge, the only solution I've found is rebooting the phone. I've tried several t

  • Java J2ee server as daemon

    Hi, Im running the latest J2EE application server software from sun on Fedora core 4. Everything works fine. but im not a linux guru and was wondering how to get it work so that whenever I start my computer the web server automatically starts with th

  • Application hangs on filterFunction

    Hello all, I'll try to describe the problem before posting the code, which is a little bit long. I have a search popup with a dataGrid, who's dataProvider is connected to an ArrayCollection object, which is fed by a HTTPService that is reloaded every

  • Accessing  i tunes

    Anyone help me out when i select movie to rent or buy the screen stays on accessing itunes, i have checked to see if there are any undownloaded movies waiting to be synced but there are not. this only happened 2 days ago , im dying to see shutter isl