<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: ABAP XML Output in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-xml-output/m-p/1535393#M244283</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should also be possible to do via the ABAP iXML framework:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is good documentation and example code at:&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/86/8280ba12d511d5991b00508b6b8b11/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/86/8280ba12d511d5991b00508b6b8b11/content.htm&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another simple option would be to copy the code from blog:&lt;/P&gt;&lt;P&gt;/people/r.eijpe/blog/2005/11/21/xml-dom-processing-in-abap-part-ii--convert-an-xml-file-into-an-abap-table-using-sap-dom-approach&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And replace the file-upload code with a call to istream = streamfactory-&amp;gt;create_istream_uri( URL_TO_SITE ).&lt;/P&gt;&lt;P&gt;which would let you read the XML data directly from a specified URI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer this thread, u may get ur answer in it.&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="147314"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prakash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Aug 2006 10:02:19 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-08-07T10:02:19Z</dc:date>
    <item>
      <title>ABAP XML Output</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-xml-output/m-p/1535392#M244282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to know how to create specific XML schema output. i tried with FM available and classes available but i need the output in the following format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;?xml version="1.0" encoding="UTF-8" ?&amp;gt; &lt;/P&gt;&lt;P&gt;- &amp;lt;ps:ProcessSet xmlns:ts="http://schemas.ariba.com/IS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xtc="http://schemas/ariba/xt/core" xmlns:xtd="http://schemas/ariba/xt/datatypes" xmlns:dts="http://schemas/ariba/xt/database" msgid="yw890-hplw47j-904gk4n-s3n4mzq2"&amp;gt;&lt;/P&gt;&lt;P&gt;- &amp;lt;ProcessSetProperties null_representation="indirect" process_scope="Entity"&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;DateTimeFormats dateTimeFormat="YYYY-MM-DD HH24:MI:SS" /&amp;gt; &lt;/P&gt;&lt;P&gt;  &amp;lt;Source&amp;gt;SG&amp;lt;/Source&amp;gt; &lt;/P&gt;&lt;P&gt;  &amp;lt;Message_Version&amp;gt;1.0.0&amp;lt;/Message_Version&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need ABAP code for the above format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance&lt;/P&gt;&lt;P&gt;Anney&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Aug 2006 09:40:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-xml-output/m-p/1535392#M244282</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-07T09:40:50Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP XML Output</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-xml-output/m-p/1535393#M244283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should also be possible to do via the ABAP iXML framework:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is good documentation and example code at:&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/86/8280ba12d511d5991b00508b6b8b11/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/86/8280ba12d511d5991b00508b6b8b11/content.htm&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another simple option would be to copy the code from blog:&lt;/P&gt;&lt;P&gt;/people/r.eijpe/blog/2005/11/21/xml-dom-processing-in-abap-part-ii--convert-an-xml-file-into-an-abap-table-using-sap-dom-approach&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And replace the file-upload code with a call to istream = streamfactory-&amp;gt;create_istream_uri( URL_TO_SITE ).&lt;/P&gt;&lt;P&gt;which would let you read the XML data directly from a specified URI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer this thread, u may get ur answer in it.&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="147314"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prakash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Aug 2006 10:02:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-xml-output/m-p/1535393#M244283</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-07T10:02:19Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP XML Output</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-xml-output/m-p/1535394#M244284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Welcome to SDN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can use class CL_XML_DOCUMENT for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to add the name spaces (xmlns:ts, xmlns:xsi, xmlns:xtc, etc)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use the method ADD_NAMESPACE_DEF of CL_XML_DOCUMENT class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Aug 2006 10:08:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-xml-output/m-p/1535394#M244284</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2006-08-07T10:08:45Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP XML Output</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-xml-output/m-p/1535395#M244285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this code..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM xml_genr .&lt;/P&gt;&lt;P&gt;  DATA: xml_DATA    TYPE string,&lt;/P&gt;&lt;P&gt;        fname type string,&lt;/P&gt;&lt;P&gt;        it_xml_BKDATA TYPE STANDARD TABLE OF string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL TRANSFORMATION id&lt;/P&gt;&lt;P&gt;     SOURCE WEBCASH = it_XMLtemp&lt;/P&gt;&lt;P&gt;     RESULT XML xml_DATA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  APPEND xml_DATA TO it_xml_BKDATA.&lt;/P&gt;&lt;P&gt;concatenate lv_file '.xml' into fname.&lt;/P&gt;&lt;P&gt;  CALL METHOD cl_gui_frontend_services=&amp;gt;gui_download&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      filename = fname&lt;/P&gt;&lt;P&gt;    CHANGING&lt;/P&gt;&lt;P&gt;      data_tab = it_xml_BKDATA&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      OTHERS   = 24.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sailaja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Aug 2006 10:26:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-xml-output/m-p/1535395#M244285</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-07T10:26:03Z</dc:date>
    </item>
  </channel>
</rss>

