<?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: Remove Spaces between tags xml in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-spaces-between-tags-xml/m-p/9589884#M1757467</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ouail,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I haven't come across this issue till i saw this post.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Looked for the solution and found that, to &lt;STRONG&gt;Remove this spaces&lt;/STRONG&gt; you must download your XML file with the &lt;STRONG&gt;FILETYPE = 'ASC' or 'DAT'&lt;/STRONG&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;If i am not wrong, you had downloaded this file with the FILETYPE = 'BIN'.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;So Please check your FILETYPE used in the GUI_DOWNLOAD.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;AyyamPerumal &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 10 Aug 2013 06:00:36 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-08-10T06:00:36Z</dc:date>
    <item>
      <title>Remove Spaces between tags xml</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-spaces-between-tags-xml/m-p/9589881#M1757464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Every body,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/258637" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Knows some one how can remove spaces between the tags of XML File.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regard,&lt;/P&gt;&lt;P&gt;Ouail&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Aug 2013 14:22:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-spaces-between-tags-xml/m-p/9589881#M1757464</guid>
      <dc:creator>former_member445510</dc:creator>
      <dc:date>2013-08-07T14:22:03Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Spaces between tags xml</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-spaces-between-tags-xml/m-p/9589882#M1757465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Resoooooooooooooooooooooolved &lt;SPAN __jive_emoticon_name="laugh" __jive_macro_name="emoticon" class="jive_macro jive_macro_emoticon jive_emote" src="https://community.sap.com/1700/images/emoticons/laugh.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Aug 2013 15:36:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-spaces-between-tags-xml/m-p/9589882#M1757465</guid>
      <dc:creator>former_member445510</dc:creator>
      <dc:date>2013-08-09T15:36:16Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Spaces between tags xml</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-spaces-between-tags-xml/m-p/9589883#M1757466</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;Bit confusing never seen such spaces would suggest to view it in a different XML viewer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Arindam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Aug 2013 23:31:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-spaces-between-tags-xml/m-p/9589883#M1757466</guid>
      <dc:creator>arindam_m</dc:creator>
      <dc:date>2013-08-09T23:31:10Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Spaces between tags xml</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-spaces-between-tags-xml/m-p/9589884#M1757467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ouail,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I haven't come across this issue till i saw this post.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Looked for the solution and found that, to &lt;STRONG&gt;Remove this spaces&lt;/STRONG&gt; you must download your XML file with the &lt;STRONG&gt;FILETYPE = 'ASC' or 'DAT'&lt;/STRONG&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;If i am not wrong, you had downloaded this file with the FILETYPE = 'BIN'.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;So Please check your FILETYPE used in the GUI_DOWNLOAD.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;AyyamPerumal &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Aug 2013 06:00:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-spaces-between-tags-xml/m-p/9589884#M1757467</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-08-10T06:00:36Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Spaces between tags xml</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-spaces-between-tags-xml/m-p/9589885#M1757468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ouail roukbi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please close this thread with answer, how you resolved this problem, it will helps others.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ramesh.T&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Aug 2013 03:25:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-spaces-between-tags-xml/m-p/9589885#M1757468</guid>
      <dc:creator>former_member209120</dc:creator>
      <dc:date>2013-08-12T03:25:50Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Spaces between tags xml</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-spaces-between-tags-xml/m-p/9589886#M1757469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Of course Ramesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I could remove those spaces from my string to use just the ABAP key word &lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"&gt;replace all occurrences of regex . &lt;/SPAN&gt;But my problem was that i stored data in a internal table, witch contains lines, en every end-line for XML is interpreted as large space, so&amp;nbsp; " replace all occurrences of regex " is not going to help in this case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As solution, i stored data of internal table in a string by looping from ITAB to WA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; xml_str1 &lt;SPAN class="L0S55"&gt;=&amp;nbsp; &lt;SPAN class="L0S33"&gt;'&amp;lt;?xml version="1.0" encoding="iso-8859-1"?&amp;gt;'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;loop &lt;SPAN class="L0S52"&gt;at &lt;/SPAN&gt;gt_xml &lt;SPAN class="L0S52"&gt;into &lt;/SPAN&gt;gt_xml&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;line&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;concatenate&amp;nbsp; &lt;/SPAN&gt;xml_str1 gt_xml&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;line&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;into &lt;/SPAN&gt;xml_str1&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="L0S52"&gt;endloop&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;So now i stored all of data in a string &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;&lt;STRONG&gt;xml_str1&lt;/STRONG&gt;, witch i gave it to this class-method:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;call &lt;SPAN class="L0S52"&gt;method &lt;/SPAN&gt;cl_salv_data_services&lt;SPAN class="L0S70"&gt;=&amp;gt;&lt;/SPAN&gt;download_xml_to_file&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;exporting&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; content&amp;nbsp; &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;STRONG&gt;xml_str1&lt;/STRONG&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; filename &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'C:\Users\Ouail\Desktop\XML_FILE.XML'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;In this was i get data without any space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Please close this thread.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your answers.&lt;/P&gt;&lt;P&gt;Ouail.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Aug 2013 07:22:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-spaces-between-tags-xml/m-p/9589886#M1757469</guid>
      <dc:creator>former_member445510</dc:creator>
      <dc:date>2013-08-12T07:22:23Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Spaces between tags xml</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-spaces-between-tags-xml/m-p/9589887#M1757470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ouail roukbi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Please close this thread.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Close this by marking as Correct Answer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark your answer as Correct...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Aug 2013 07:44:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-spaces-between-tags-xml/m-p/9589887#M1757470</guid>
      <dc:creator>former_member209120</dc:creator>
      <dc:date>2013-08-12T07:44:49Z</dc:date>
    </item>
  </channel>
</rss>

