<?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 concatenation.. help in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/concatenation-help/m-p/2237512#M482016</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI guys,&lt;/P&gt;&lt;P&gt;Need some help in concatenation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VarA = Left (location+'  '),4) + right (order,8).. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please solve the above &lt;/P&gt;&lt;P&gt;Example: "Location = 09  &amp;amp; order = 99912365478&lt;/P&gt;&lt;P&gt;Then &lt;/P&gt;&lt;P&gt;(location + 2 space) = (09  ) .i.e. 4 characters leftmost of (location + 2 space) = (09  )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;8 digits (rightmost) from order number = 12365478&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So,&lt;/P&gt;&lt;P&gt;VarA =4 characters leftmost of (location + 2 space)  + 8 digits (rightmost) from order number &lt;/P&gt;&lt;P&gt;=&amp;gt; VarA = = (09  ) + 12365478&lt;/P&gt;&lt;P&gt;=&amp;gt; VarA = = 09  12365478.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Incase location is 09AA, then &lt;/P&gt;&lt;P&gt;Then (location + 2 space) = (09AA  ) .i.e. 4 characters leftmost of (location + 2 space) = 09AA&lt;/P&gt;&lt;P&gt;VarA = 09AA12365478&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to get this output remember two spaces in between..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;nazeer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 May 2007 04:39:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-02T04:39:07Z</dc:date>
    <item>
      <title>concatenation.. help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/concatenation-help/m-p/2237512#M482016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI guys,&lt;/P&gt;&lt;P&gt;Need some help in concatenation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VarA = Left (location+'  '),4) + right (order,8).. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please solve the above &lt;/P&gt;&lt;P&gt;Example: "Location = 09  &amp;amp; order = 99912365478&lt;/P&gt;&lt;P&gt;Then &lt;/P&gt;&lt;P&gt;(location + 2 space) = (09  ) .i.e. 4 characters leftmost of (location + 2 space) = (09  )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;8 digits (rightmost) from order number = 12365478&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So,&lt;/P&gt;&lt;P&gt;VarA =4 characters leftmost of (location + 2 space)  + 8 digits (rightmost) from order number &lt;/P&gt;&lt;P&gt;=&amp;gt; VarA = = (09  ) + 12365478&lt;/P&gt;&lt;P&gt;=&amp;gt; VarA = = 09  12365478.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Incase location is 09AA, then &lt;/P&gt;&lt;P&gt;Then (location + 2 space) = (09AA  ) .i.e. 4 characters leftmost of (location + 2 space) = 09AA&lt;/P&gt;&lt;P&gt;VarA = 09AA12365478&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to get this output remember two spaces in between..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;nazeer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2007 04:39:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/concatenation-help/m-p/2237512#M482016</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-02T04:39:07Z</dc:date>
    </item>
    <item>
      <title>Re: concatenation.. help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/concatenation-help/m-p/2237513#M482017</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;DATA: temp(4) type c,&lt;/P&gt;&lt;P&gt;          output(12) type c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;move location to temp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;concatenate location&lt;EM&gt;0(4) order&lt;/EM&gt;3(8) into output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2007 04:41:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/concatenation-help/m-p/2237513#M482017</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-02T04:41:19Z</dc:date>
    </item>
    <item>
      <title>Re: concatenation.. help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/concatenation-help/m-p/2237514#M482018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI prasanth..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please go through the thread properly..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need spaces inbetween the VarA if location is just 2 of length..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for your answer the output will be 0912345678 not &lt;/P&gt;&lt;P&gt;(09  12345678)..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;nazeer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        nazeer shaik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2007 04:45:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/concatenation-help/m-p/2237514#M482018</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-02T04:45:15Z</dc:date>
    </item>
    <item>
      <title>Re: concatenation.. help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/concatenation-help/m-p/2237515#M482019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nazeer,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;              use this code inur program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data: temp(12).&lt;/P&gt;&lt;P&gt;concatenate  (location&lt;EM&gt;0(4))   (order&lt;/EM&gt;3(8))  into temp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if helpful.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Hemant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2007 04:51:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/concatenation-help/m-p/2237515#M482019</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-02T04:51:00Z</dc:date>
    </item>
    <item>
      <title>Re: concatenation.. help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/concatenation-help/m-p/2237516#M482020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;DATA: temp(4) type c,&lt;/P&gt;&lt;P&gt;output(12) type c,&lt;/P&gt;&lt;P&gt;location(4) type c value 'AB',&lt;/P&gt;&lt;P&gt;order(12) type c value 'abcd12345678'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;move location to temp.&lt;/P&gt;&lt;P&gt;if temp+2(1) cs sy-abcde.&lt;/P&gt;&lt;P&gt;concatenate location&lt;EM&gt;0(4)  order&lt;/EM&gt;3(8) into output.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;concatenate location&lt;EM&gt;0(2) order&lt;/EM&gt;3(8) into output separated by '  '.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;write &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; output.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2007 04:51:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/concatenation-help/m-p/2237516#M482020</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-02T04:51:26Z</dc:date>
    </item>
    <item>
      <title>Re: concatenation.. help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/concatenation-help/m-p/2237517#M482021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;nazeer,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Location = 09 &lt;/P&gt;&lt;P&gt;  order = 99912365478&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  If you want 2 more spaces in location &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     concatenate location ' ' ' '   into location.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  then&lt;/P&gt;&lt;P&gt;   concatenate location order+3(8) into VarA .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don't forget to reward if useful...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2007 04:53:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/concatenation-help/m-p/2237517#M482021</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-02T04:53:20Z</dc:date>
    </item>
    <item>
      <title>Re: concatenation.. help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/concatenation-help/m-p/2237518#M482022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for all your answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2007 04:58:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/concatenation-help/m-p/2237518#M482022</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-02T04:58:59Z</dc:date>
    </item>
    <item>
      <title>Re: concatenation.. help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/concatenation-help/m-p/2237519#M482023</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;&amp;lt;b&amp;gt;I have tried this code..it is meeting ur requirements..&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;it checks if the third and fourth digit of location is empty and then processes..&amp;lt;/b&amp;gt;i changed the value of location and ran it again...working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:order(11).&lt;/P&gt;&lt;P&gt;data:location(4) type c value '90AA',&lt;/P&gt;&lt;P&gt;     temp(12).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;order = '99912345678'.&lt;/P&gt;&lt;P&gt;if location+2(2) ne ''.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;concatenate location order+3(8) into temp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write : temp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;concatenate location&lt;EM&gt;0(2) order&lt;/EM&gt;3(8) into temp separated by '  '. " two spaces here&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write : temp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if useful!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        shweta  soni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2007 06:32:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/concatenation-help/m-p/2237519#M482023</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-02T06:32:25Z</dc:date>
    </item>
  </channel>
</rss>

