<?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: XML file creation in application server in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/xml-file-creation-in-application-server/m-p/8204561#M1626688</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ASC Format is related to .txt file and BIN format supports .xml and others too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Seshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Sep 2011 15:58:08 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-09-21T15:58:08Z</dc:date>
    <item>
      <title>XML file creation in application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/xml-file-creation-in-application-server/m-p/8204556#M1626683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created an XML DOM tree and it is saved in an internal table of type &lt;/P&gt;&lt;P&gt;BEGIN OF xml_line, &lt;/P&gt;&lt;P&gt;         data(256) TYPE x, &lt;/P&gt;&lt;P&gt;END OF xml_line. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to store this in the application server. The code that I'm using to copy the contents are as follows: &lt;/P&gt;&lt;P&gt;OPEN DATASET w_xml_out_file FOR OUTPUT &lt;/P&gt;&lt;P&gt;      IN BINARY MODE. &lt;/P&gt;&lt;P&gt;    IF sy-subrc EQ 0. &lt;/P&gt;&lt;P&gt;      CLEAR: f_xml_table. &lt;/P&gt;&lt;P&gt;      LOOP AT t_xml_table INTO f_xml_table. &lt;/P&gt;&lt;P&gt;          TRANSFER f_xml_table TO w_xml_out_file.       &lt;/P&gt;&lt;P&gt;      ENDLOOP. &lt;/P&gt;&lt;P&gt;      CLOSE DATASET w_xml_out_file. &lt;/P&gt;&lt;P&gt;   ENDIF. &lt;/P&gt;&lt;P&gt;I downloaded this file from the application server onto my presentation server and checked its contents.&lt;/P&gt;&lt;P&gt;The problem is that all the data is not present in this output XML file. It is taking only some data. &lt;/P&gt;&lt;P&gt;When I use the same table to generate an output file directly on the presentation server, it does not have any problems. &lt;/P&gt;&lt;P&gt;Any help on the above issues is appreciated. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;-Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2011 02:57:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/xml-file-creation-in-application-server/m-p/8204556#M1626683</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-20T02:57:24Z</dc:date>
    </item>
    <item>
      <title>Re: XML file creation in application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/xml-file-creation-in-application-server/m-p/8204557#M1626684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;which conversion do you apply to your data in order to fill table t_xml_table ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;should be utf-8 and set the encoding properly at the beginning of the file&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2011 14:28:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/xml-file-creation-in-application-server/m-p/8204557#M1626684</guid>
      <dc:creator>franois_henrotte</dc:creator>
      <dc:date>2011-09-21T14:28:11Z</dc:date>
    </item>
    <item>
      <title>Re: XML file creation in application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/xml-file-creation-in-application-server/m-p/8204558#M1626685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi François Henrotte,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've already done that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2011 14:38:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/xml-file-creation-in-application-server/m-p/8204558#M1626685</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-21T14:38:00Z</dc:date>
    </item>
    <item>
      <title>Re: XML file creation in application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/xml-file-creation-in-application-server/m-p/8204559#M1626686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be try to define as below and see what happens.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;types : gty_line_t(100) TYPE x.&lt;/P&gt;&lt;P&gt;data : gt_restab        TYPE STANDARD TABLE OF gty_line_t,&lt;/P&gt;&lt;P&gt;         &amp;lt;gs_restab&amp;gt;        LIKE LINE OF gt_restab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OPEN DATASET l_file_name FOR OUTPUT IN BINARY MODE .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;            LOOP AT gt_restab ASSIGNING &amp;lt;gs_restab&amp;gt;.&lt;/P&gt;&lt;P&gt;              TRANSFER &amp;lt;gs_restab&amp;gt; TO l_file_name.&lt;/P&gt;&lt;P&gt;           endloop.&lt;/P&gt;&lt;P&gt;          endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CLOSE DATASET l_file_name.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2011 15:15:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/xml-file-creation-in-application-server/m-p/8204559#M1626686</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-21T15:15:56Z</dc:date>
    </item>
    <item>
      <title>Re: XML file creation in application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/xml-file-creation-in-application-server/m-p/8204560#M1626687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was checking my file contents in AL11. &lt;/P&gt;&lt;P&gt;I downloaded this same file in AL11 onto the presentation server to check its contents.&lt;/P&gt;&lt;P&gt;I used the transaction CG3Y to do the above.&lt;/P&gt;&lt;P&gt;I was downloading the file in ASC format all this while. &lt;/P&gt;&lt;P&gt;I downloaded the file in BIN format and now it is showing the complete XML file without any errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You for all your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If some1 can throw more light on why the file must be downloaded in the BIN format and not in the ASC it would be great.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2011 15:44:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/xml-file-creation-in-application-server/m-p/8204560#M1626687</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-21T15:44:22Z</dc:date>
    </item>
    <item>
      <title>Re: XML file creation in application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/xml-file-creation-in-application-server/m-p/8204561#M1626688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ASC Format is related to .txt file and BIN format supports .xml and others too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Seshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2011 15:58:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/xml-file-creation-in-application-server/m-p/8204561#M1626688</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-21T15:58:08Z</dc:date>
    </item>
  </channel>
</rss>

