<?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: space issue in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/space-issue/m-p/3996663#M954838</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;  Take a new variable or constant with length what you need for your concatenate statement and fill with space like in the below said way. Then make spaces with in the single quotes with ALT+0160 (Press alt key in you key board and clik on 0160 in your key board which equals to one space).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Bujji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Jun 2008 08:53:37 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-09T08:53:37Z</dc:date>
    <item>
      <title>space issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/space-issue/m-p/3996658#M954833</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;how we can define more spaces between two variables in output .&lt;/P&gt;&lt;P&gt;for ex: i neeed output as &lt;/P&gt;&lt;P&gt;Var1                Var2   but it is coming as &lt;/P&gt;&lt;P&gt;Var1 Var2 ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how we can pls &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THX&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jun 2008 08:20:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/space-issue/m-p/3996658#M954833</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-09T08:20:49Z</dc:date>
    </item>
    <item>
      <title>Re: space issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/space-issue/m-p/3996659#M954834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can use &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write: 10 var1 ,40 var2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plz reward if useful&lt;/P&gt;&lt;P&gt;vivek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jun 2008 08:22:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/space-issue/m-p/3996659#M954834</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-09T08:22:26Z</dc:date>
    </item>
    <item>
      <title>Re: space issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/space-issue/m-p/3996660#M954835</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;  If you want the space in output then use offset to get space between fields see below code...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE: / wa-matnr, 20 wa-maktx, 66 wa-werks.......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Bujji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jun 2008 08:24:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/space-issue/m-p/3996660#M954835</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-09T08:24:20Z</dc:date>
    </item>
    <item>
      <title>Re: space issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/space-issue/m-p/3996661#M954836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;but i need to use space while concatenating two variables &lt;/P&gt;&lt;P&gt;How ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jun 2008 08:36:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/space-issue/m-p/3996661#M954836</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-09T08:36:08Z</dc:date>
    </item>
    <item>
      <title>Re: space issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/space-issue/m-p/3996662#M954837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Chaaya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in SAP ABAP if you wish to concatenate 2 or 3 strings together then you can use the following function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STRING_CONCATENATE_3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above mentioned function module excepts 3 strings and concatenates them into 1. Please see the example given below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT ZEX_STRINGCON .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters: p_str1(100),&lt;/P&gt;&lt;P&gt;                      p_str2(100),&lt;/P&gt;&lt;P&gt;                      p_str3(100).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:       d_str(500).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'STRING_CONCATENATE_3'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    STRING1         = p_str1&lt;/P&gt;&lt;P&gt;    STRING2         = p_str2&lt;/P&gt;&lt;P&gt;    STRING3         = p_str3&lt;/P&gt;&lt;P&gt; IMPORTING&lt;/P&gt;&lt;P&gt;   STRING           = d_str&lt;/P&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;P&gt;   TOO_SMALL       = 1&lt;/P&gt;&lt;P&gt;   OTHERS          = 2&lt;/P&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Write: d_str.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the input is as follows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;p_str1 = 'This'&lt;/P&gt;&lt;P&gt;p_str2 = 'Is'&lt;/P&gt;&lt;P&gt;p_str3 = 'ABAP'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The output would be as follows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;String Concatenate      &lt;/P&gt;&lt;P&gt;                       &lt;/P&gt;&lt;P&gt;THISISABAP         &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i hope this helps...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do reward if helpful or get back with further queries.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jun 2008 08:48:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/space-issue/m-p/3996662#M954837</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-09T08:48:08Z</dc:date>
    </item>
    <item>
      <title>Re: space issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/space-issue/m-p/3996663#M954838</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;  Take a new variable or constant with length what you need for your concatenate statement and fill with space like in the below said way. Then make spaces with in the single quotes with ALT+0160 (Press alt key in you key board and clik on 0160 in your key board which equals to one space).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Bujji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jun 2008 08:53:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/space-issue/m-p/3996663#M954838</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-09T08:53:37Z</dc:date>
    </item>
    <item>
      <title>Re: space issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/space-issue/m-p/3996664#M954839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;u can declare a variable tab = '     '.&lt;/P&gt;&lt;P&gt;data tab(5) type c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;concatenate str1 str2 into &amp;lt;var&amp;gt; separated by tab.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jun 2008 09:03:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/space-issue/m-p/3996664#M954839</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-09T09:03:38Z</dc:date>
    </item>
  </channel>
</rss>

