<?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 Merging the variable values having in different data type in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/merging-the-variable-values-having-in-different-data-type/m-p/2390558#M531536</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Having to different type of data type(C &amp;amp; P) variable &amp;amp; want to merge together .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can be done ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Jun 2007 07:58:37 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-06T07:58:37Z</dc:date>
    <item>
      <title>Merging the variable values having in different data type</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/merging-the-variable-values-having-in-different-data-type/m-p/2390558#M531536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Having to different type of data type(C &amp;amp; P) variable &amp;amp; want to merge together .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can be done ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2007 07:58:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/merging-the-variable-values-having-in-different-data-type/m-p/2390558#M531536</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-06T07:58:37Z</dc:date>
    </item>
    <item>
      <title>Re: Merging the variable values having in different data type</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/merging-the-variable-values-having-in-different-data-type/m-p/2390559#M531537</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;Use CONCATENATE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2007 08:02:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/merging-the-variable-values-having-in-different-data-type/m-p/2390559#M531537</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-06T08:02:44Z</dc:date>
    </item>
    <item>
      <title>Re: Merging the variable values having in different data type</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/merging-the-variable-values-having-in-different-data-type/m-p/2390560#M531538</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;concatenate statement will not work for  &lt;/P&gt;&lt;P&gt;data type p&lt;/P&gt;&lt;P&gt;so convert the variable type of p &lt;/P&gt;&lt;P&gt;into char and then concatenate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;have this code below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: c TYPE char1.&lt;/P&gt;&lt;P&gt;data: p type p.&lt;/P&gt;&lt;P&gt;data: s TYPE char20.&lt;/P&gt;&lt;P&gt;data: m type char20.&lt;/P&gt;&lt;P&gt;c = 'A'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;p = '23.4'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;move p to s.&lt;/P&gt;&lt;P&gt;CONCATENATE c s into m SEPARATED BY space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write m.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;venkatesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2007 08:04:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/merging-the-variable-values-having-in-different-data-type/m-p/2390560#M531538</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-06T08:04:42Z</dc:date>
    </item>
    <item>
      <title>Re: Merging the variable values having in different data type</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/merging-the-variable-values-having-in-different-data-type/m-p/2390561#M531539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: T(100).&lt;/P&gt;&lt;P&gt;DATA: T0(20).&lt;/P&gt;&lt;P&gt;DATA: T1(20) VALUE 'First'.&lt;/P&gt;&lt;P&gt;DATA: T2     TYPE P DECIMALS 2 VALUE 100.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;t0 = t2.&lt;/P&gt;&lt;P&gt;WRITE: / t0, t1, t2.&lt;/P&gt;&lt;P&gt;concatenate t0 t1 into t.&lt;/P&gt;&lt;P&gt;write: / t.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards, Dieter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2007 08:06:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/merging-the-variable-values-having-in-different-data-type/m-p/2390561#M531539</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-06T08:06:55Z</dc:date>
    </item>
    <item>
      <title>Re: Merging the variable values having in different data type</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/merging-the-variable-values-having-in-different-data-type/m-p/2390562#M531540</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;try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;* Converting type p to type c
DATA: p1(4) TYPE P VALUE 124,
          c1(4) TYPE c,
          c2(4) TYPE c value 'anve',
          final(8) TYPE c.

MOVE: p1 TO c1.

concatenate c1 c2 into final.

write final.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;Anversha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2007 08:12:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/merging-the-variable-values-having-in-different-data-type/m-p/2390562#M531540</guid>
      <dc:creator>anversha_s</dc:creator>
      <dc:date>2007-06-06T08:12:11Z</dc:date>
    </item>
  </channel>
</rss>

