<?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: Function module to add spaces in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-add-spaces/m-p/7542833#M1562580</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did not get you dear&lt;/P&gt;&lt;P&gt;first you are concatenating and then spitting ?&lt;/P&gt;&lt;P&gt;If so you can use separated by space with concatenate and use space for spitting.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Anmol.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Dec 2010 14:34:16 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-12-28T14:34:16Z</dc:date>
    <item>
      <title>Function module to add spaces</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-add-spaces/m-p/7542830#M1562577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to concatenate a numeric field with a string. The numeric field length is 5. However the actual entry may be less than that. What I want now is one function module to add proper no of spaces before the numeric field so that I can split the concatenated result afterwards without being bothered what the length of that numeric field is. ( I will simply take out the first five characters). I know a function module CONVERSION_EXIT_ALPHA_INPUT that adds 0(zero). Is there any function module that can add spaces is the length is below 5?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Dec 2010 13:28:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-add-spaces/m-p/7542830#M1562577</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-28T13:28:14Z</dc:date>
    </item>
    <item>
      <title>Re: Function module to add spaces</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-add-spaces/m-p/7542831#M1562578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do we need a fm for this ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data:lv(5) type n.
data:str type char10.

lv = '1234'.
str+5(*) = lv.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Dec 2010 13:51:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-add-spaces/m-p/7542831#M1562578</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2010-12-28T13:51:40Z</dc:date>
    </item>
    <item>
      <title>Re: Function module to add spaces</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-add-spaces/m-p/7542832#M1562579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did not get you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: My numc field may be 12345 or just 123 (I don't know).&lt;/P&gt;&lt;P&gt;After concatenation with the string (say ABCDEF) it may become 12345ABCDEF or 123ABCDEF.&lt;/P&gt;&lt;P&gt;What will be splitting criteria then?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Dec 2010 14:07:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-add-spaces/m-p/7542832#M1562579</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-28T14:07:58Z</dc:date>
    </item>
    <item>
      <title>Re: Function module to add spaces</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-add-spaces/m-p/7542833#M1562580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did not get you dear&lt;/P&gt;&lt;P&gt;first you are concatenating and then spitting ?&lt;/P&gt;&lt;P&gt;If so you can use separated by space with concatenate and use space for spitting.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Anmol.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Dec 2010 14:34:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-add-spaces/m-p/7542833#M1562580</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-28T14:34:16Z</dc:date>
    </item>
    <item>
      <title>Re: Function module to add spaces</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-add-spaces/m-p/7542834#M1562581</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;&lt;STRONG&gt;Splitting criteria will be from offset 5&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You said that your numeric fields maximum length is 5. So do it like this. always the first five characters is for the numeric value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:lv(5) type n.&lt;/P&gt;&lt;P&gt;data:str type char255.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lv = '123'.&lt;/P&gt;&lt;P&gt;str+0(5) = lv.&lt;/P&gt;&lt;P&gt;str+5(*) = 'ABCDEF'.&lt;/P&gt;&lt;P&gt;write str.&lt;/P&gt;&lt;P&gt;skip 1.&lt;/P&gt;&lt;P&gt;write str+0(5).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lv = '1234'.&lt;/P&gt;&lt;P&gt;str+0(5) = lv.&lt;/P&gt;&lt;P&gt;str+5(*) = 'ABCDEF'.&lt;/P&gt;&lt;P&gt;write str.&lt;/P&gt;&lt;P&gt;skip 1 .&lt;/P&gt;&lt;P&gt;write str+0(5)..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Dec 2010 14:37:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-add-spaces/m-p/7542834#M1562581</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2010-12-28T14:37:11Z</dc:date>
    </item>
  </channel>
</rss>

