<?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: Problem with space into string in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-space-into-string/m-p/4010401#M958116</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi send the string into the char string field like &lt;/P&gt;&lt;P&gt;data: test(200) type c .&lt;/P&gt;&lt;P&gt;and use the offset values while populating into the table like this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;itab-field1 = test+0(20) .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Jun 2008 14:04:35 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-16T14:04:35Z</dc:date>
    <item>
      <title>Problem with space into string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-space-into-string/m-p/4010396#M958111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've problem with space into a string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have this string.&lt;/P&gt;&lt;P&gt;000006602002-09724600002009____215618_        10.000,00_             0,00_             0,00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After this istruction...&lt;/P&gt;&lt;P&gt;REPLACE ALL occurrences of '_' in string_lv with ' '.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The value is the followings&lt;/P&gt;&lt;P&gt;000006602002-09724600002009215618        10.000,00             0,00             0,00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'have to tabulate the fields into a file, but doesn't respect the heading space, if I write concatenate f1 f2 into f3 respecting space, there is an check error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How I can do?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Antonio Sanseverino on Jun 16, 2008 3:22 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2008 13:15:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-space-into-string/m-p/4010396#M958111</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-16T13:15:19Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with space into string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-space-into-string/m-p/4010397#M958112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try using the &lt;STRONG&gt;TRANSLATE&lt;/STRONG&gt; command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Converts the characters "A" to "B", "a" to "b", and vice versa. text contains "Abracadabra" after the conversion. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA text TYPE string. &lt;/P&gt;&lt;P&gt;text = `Barbcbdbarb`. &lt;/P&gt;&lt;P&gt;TRANSLATE text USING 'ABBAabba'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2008 13:27:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-space-into-string/m-p/4010397#M958112</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-16T13:27:52Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with space into string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-space-into-string/m-p/4010398#M958113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Antonio,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use concatenate statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Concatenate &amp;lt;f1&amp;gt; &amp;lt;f2&amp;gt;  into &amp;lt;result&amp;gt; RESPECTING BLANKS.&lt;/P&gt;&lt;P&gt;Example&lt;/P&gt;&lt;P&gt;TYPES text   TYPE c LENGTH 10. &lt;/P&gt;&lt;P&gt;DATA  itab   TYPE TABLE OF text. &lt;/P&gt;&lt;P&gt;DATA  result TYPE string. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;APPEND 'When'  TO itab. &lt;/P&gt;&lt;P&gt;APPEND 'the'   TO itab. &lt;/P&gt;&lt;P&gt;APPEND 'music' TO itab. &lt;/P&gt;&lt;P&gt;APPEND 'is'    TO itab. &lt;/P&gt;&lt;P&gt;APPEND 'over'  TO itab. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE LINES OF itab INTO result SEPARATED BY space. &lt;/P&gt;&lt;P&gt;... &lt;/P&gt;&lt;P&gt;CONCATENATE LINES OF itab INTO result RESPECTING BLANKS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if found helpful.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Boobalan Suburaj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2008 13:30:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-space-into-string/m-p/4010398#M958113</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-16T13:30:46Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with space into string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-space-into-string/m-p/4010399#M958114</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;Instead of giving '' write space . Your problem will be solved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anomitro Guha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2008 13:30:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-space-into-string/m-p/4010399#M958114</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-16T13:30:51Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with space into string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-space-into-string/m-p/4010400#M958115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Doesn't work I've an error when I active the program.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2008 13:39:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-space-into-string/m-p/4010400#M958115</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-16T13:39:18Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with space into string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-space-into-string/m-p/4010401#M958116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi send the string into the char string field like &lt;/P&gt;&lt;P&gt;data: test(200) type c .&lt;/P&gt;&lt;P&gt;and use the offset values while populating into the table like this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;itab-field1 = test+0(20) .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2008 14:04:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-space-into-string/m-p/4010401#M958116</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-16T14:04:35Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with space into string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-space-into-string/m-p/4010402#M958117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Antonio,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check if this suits your requirement:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA lv_data   TYPE string VALUE '000006602002-09724600002009____215618_ 10.000,00_ 0,00_ 0,00'.
DATA lv_table  TYPE TABLE OF string.

SPLIT lv_data AT '_' INTO TABLE lv_table.
CONCATENATE LINES OF lv_table INTO lv_data SEPARATED BY SPACE.
WRITE lv_data.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2008 14:25:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-space-into-string/m-p/4010402#M958117</guid>
      <dc:creator>BGarcia</dc:creator>
      <dc:date>2008-06-16T14:25:41Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with space into string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-space-into-string/m-p/4010403#M958118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes!!&lt;/P&gt;&lt;P&gt;But why I can't use Concatenate... respecting blanks?&lt;/P&gt;&lt;P&gt;And why I can't fill headings blanks into string?&lt;/P&gt;&lt;P&gt;It's the first time i see this!&lt;/P&gt;&lt;P&gt;Bah Thanks a lot You have had a good idea&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2008 14:27:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-space-into-string/m-p/4010403#M958118</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-16T14:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with space into string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-space-into-string/m-p/4010404#M958119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;"CONCATENATE LINES OF"&lt;/P&gt;&lt;P&gt;"CONCATENATE F1 F2 INTO F3 RESPECTING BLANKS"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I' have an error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe my biggest problem is the system...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With offset it's ok!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2008 14:33:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-space-into-string/m-p/4010404#M958119</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-16T14:33:34Z</dc:date>
    </item>
  </channel>
</rss>

