<?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: Error while concatenating amount field in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-concatenating-amount-field/m-p/1483528#M225994</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The best way is to use the UNPACK command...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would suggest you to UNPACK the numeric field into a character one and than concatenate with the other character field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anurag&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Jul 2006 08:17:31 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-07-26T08:17:31Z</dc:date>
    <item>
      <title>Error while concatenating amount field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-concatenating-amount-field/m-p/1483524#M225990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;While concatenating the amount filed with character field and numeric fields it is showing error message 'It must be a character type data object' how can i concatente it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanku in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jul 2006 08:02:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-concatenating-amount-field/m-p/1483524#M225990</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-26T08:02:57Z</dc:date>
    </item>
    <item>
      <title>Re: Error while concatenating amount field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-concatenating-amount-field/m-p/1483525#M225991</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;  U cannot directly concatenate interger and char &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for that ; move the integer to char variable then concatenate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data : lv_int       type I,   " it can be currency ,  float.
       lv_char_int  type char16,
       lv_variable1 type char1,
       lv_data      type char30.


&amp;lt;b&amp;gt;lv_char_int = lv_int.&amp;lt;/b&amp;gt;

concatenate lv_char_int
            lv_variable
        into lv_data. &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Please Reward Points &amp;amp; Mark Helpful Answers&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To mark Helpful Answers ;click radio Button next to the post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RadioButtons&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;o&amp;lt;/b&amp;gt; Helpful Answer&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;o&amp;lt;/b&amp;gt; Very helpful Answer&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;o&amp;lt;/b&amp;gt; Problem Solved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Click any of the above button next to the post; as per the anwers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;To close the thread; Click Probelm solved Radio Button next to the post , which u feel is best possible answers&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jul 2006 08:06:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-concatenating-amount-field/m-p/1483525#M225991</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-26T08:06:38Z</dc:date>
    </item>
    <item>
      <title>Re: Error while concatenating amount field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-concatenating-amount-field/m-p/1483526#M225992</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;First move that variable to char variable.&lt;/P&gt;&lt;P&gt;Then use the concatenate statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Integers can't be concatenated..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Simha.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jul 2006 08:08:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-concatenating-amount-field/m-p/1483526#M225992</guid>
      <dc:creator>Simha_</dc:creator>
      <dc:date>2006-07-26T08:08:07Z</dc:date>
    </item>
    <item>
      <title>Re: Error while concatenating amount field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-concatenating-amount-field/m-p/1483527#M225993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you must convert to character types amount types.&lt;/P&gt;&lt;P&gt;ex:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data : sample(10) type p decimals 3.
data : charr(15) type c.
data : cuk(3) type c.
data : concat(100) type c.


sample = '12345.15'.
cuk = 'TO'.

write sample to charr.

concatenate charr cuk into concat.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ibrahim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jul 2006 08:08:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-concatenating-amount-field/m-p/1483527#M225993</guid>
      <dc:creator>ibrahim_u</dc:creator>
      <dc:date>2006-07-26T08:08:49Z</dc:date>
    </item>
    <item>
      <title>Re: Error while concatenating amount field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-concatenating-amount-field/m-p/1483528#M225994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The best way is to use the UNPACK command...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would suggest you to UNPACK the numeric field into a character one and than concatenate with the other character field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anurag&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jul 2006 08:17:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-concatenating-amount-field/m-p/1483528#M225994</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-26T08:17:31Z</dc:date>
    </item>
  </channel>
</rss>

