<?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 Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/xml-file-creation/m-p/3002562#M709353</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;I agree to that. But in the case I mentioned, how do I acccept the entire contents in a string?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Nov 2007 08:32:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-11-01T08:32:07Z</dc:date>
    <item>
      <title>XML file creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/xml-file-creation/m-p/3002560#M709351</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 have to create an XML file, The input kind is not decided yet . It may be a string or an internal table. I have searched various questions posted here. But they have either the length of the string or they are using the maximum length 255 in the examples. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my case, if i use string , how will it be handle data which exceeds 255 chars? Also in case, I have to go for internal table, the structure is not fixed yet. But the file generated should look like this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="23" type="ul"&gt;&lt;P&gt;XML file contents ***********************&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;outgoing_mail&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;document&amp;gt;Document Number&amp;lt;/document&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;strsrv_direction&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;archiving&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;archive&amp;gt;&amp;lt;/archive&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;object&amp;gt; &amp;lt;/object&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;objectkey&amp;gt;&amp;lt;/objectkey&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/archiving&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;local_printing&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;local_print&amp;gt; &amp;lt;/local_print&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;printer&amp;gt; &amp;lt;/printer&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/local_printing&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;printshop&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;print&amp;gt;&amp;lt;/print&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/printshop&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;emailing&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;as_text&amp;gt;&amp;lt;/as_text&amp;gt; (As text or Attachment)&lt;/P&gt;&lt;P&gt;&amp;lt;email_address&amp;gt;Receiver email address&amp;lt;/email_address&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/emailing&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/strsrv_direction&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;naw&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;number&amp;gt;&amp;lt;/number&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;name&amp;gt;&amp;lt;/name&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;street&amp;gt;&amp;lt;/street&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;housenumber&amp;gt;&amp;lt;/housenumber&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;housenr_supplement&amp;gt;&amp;lt;/housenr_supplement&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;postal_code&amp;gt;&amp;lt;/postalcode&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;city&amp;gt;&amp;lt;/city&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/naw&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;textblock_01&amp;gt;&lt;/P&gt;&lt;P&gt;The text from the send email&lt;/P&gt;&lt;P&gt;&amp;lt;/textblock_01&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/outgoing_mail&amp;gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="23" type="ul"&gt;&lt;P&gt;XML file contents ***********************&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Oct 2007 12:02:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/xml-file-creation/m-p/3002560#M709351</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-31T12:02:01Z</dc:date>
    </item>
    <item>
      <title>Re: XML file creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/xml-file-creation/m-p/3002561#M709352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Namita,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Type string can handle more than 255 characters (look up SAP Help for "string" under "Built in ABAP Types").&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are using an internal table define it's record type as a string. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
types: begin of ty_rec,
            rec type string,
          end of ty_rec.

data: tbl_data type table of ty_rec.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Oct 2007 21:45:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/xml-file-creation/m-p/3002561#M709352</guid>
      <dc:creator>former_member221770</dc:creator>
      <dc:date>2007-10-31T21:45:57Z</dc:date>
    </item>
    <item>
      <title>Re: XML file creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/xml-file-creation/m-p/3002562#M709353</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;I agree to that. But in the case I mentioned, how do I acccept the entire contents in a string?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Nov 2007 08:32:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/xml-file-creation/m-p/3002562#M709353</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-01T08:32:07Z</dc:date>
    </item>
  </channel>
</rss>

