<?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: Decimal Data type in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/decimal-data-type/m-p/1509678#M235133</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem is not with the decimal points but when you transfer command with an itab with pack fields, you would see that sort of issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best is to use UNPACK command basically to convert the value to char/numeric and than transfer it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the soln is define the internal table with character field (make sure that you have the lenght as twice the len of pack field). UNPACK the pack field to char/num field and than transfer.&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, 09 Aug 2006 08:08:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-08-09T08:08:07Z</dc:date>
    <item>
      <title>Decimal Data type</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/decimal-data-type/m-p/1509675#M235130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a problem while printing field value of DECimal data type . iam fectching a field named KURSF from BKPF into a internal table and finally this internal table values are downloaded to application server. the problem is when viewing the file downloaded in application server i can see hashes in the field value of KURSF instead of actual values&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance,&lt;/P&gt;&lt;P&gt;Neha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Aug 2006 07:48:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/decimal-data-type/m-p/1509675#M235130</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-09T07:48:15Z</dc:date>
    </item>
    <item>
      <title>Re: Decimal Data type</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/decimal-data-type/m-p/1509676#M235131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i guess, the values are truncated. can you check the field length defined in that internal table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;field to which you are populating the database values.&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;srikanth&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Srikanth Kidambi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Aug 2006 07:57:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/decimal-data-type/m-p/1509676#M235131</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-09T07:57:30Z</dc:date>
    </item>
    <item>
      <title>Re: Decimal Data type</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/decimal-data-type/m-p/1509677#M235132</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;/P&gt;&lt;P&gt;move that field (kursf) before download to a char-field,&lt;/P&gt;&lt;P&gt;because it's a packed value - that you cannot use for other applications!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Andreas Mann&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Aug 2006 08:01:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/decimal-data-type/m-p/1509677#M235132</guid>
      <dc:creator>andreas_mann3</dc:creator>
      <dc:date>2006-08-09T08:01:10Z</dc:date>
    </item>
    <item>
      <title>Re: Decimal Data type</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/decimal-data-type/m-p/1509678#M235133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem is not with the decimal points but when you transfer command with an itab with pack fields, you would see that sort of issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best is to use UNPACK command basically to convert the value to char/numeric and than transfer it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the soln is define the internal table with character field (make sure that you have the lenght as twice the len of pack field). UNPACK the pack field to char/num field and than transfer.&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, 09 Aug 2006 08:08:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/decimal-data-type/m-p/1509678#M235133</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-09T08:08:07Z</dc:date>
    </item>
    <item>
      <title>Re: Decimal Data type</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/decimal-data-type/m-p/1509679#M235134</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;When downloading CURRENCY or DECIMAL fields, you should MOVE the data into a CHARACTER Variable and then TRANSFER it to application server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : l_kursf type bkpf-kursf.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MOVE wa_tab-KURSF to l_kursf.&lt;/P&gt;&lt;P&gt;concatenate wa_tab-field1&lt;/P&gt;&lt;P&gt;            wa_tab-field2&lt;/P&gt;&lt;P&gt;            l_kursf&lt;/P&gt;&lt;P&gt;            into l_string separated by `,`.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Transfer l_string to l_file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;close dataset.&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, 09 Aug 2006 08:11:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/decimal-data-type/m-p/1509679#M235134</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-09T08:11:30Z</dc:date>
    </item>
    <item>
      <title>Re: Decimal Data type</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/decimal-data-type/m-p/1509680#M235135</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;that problem is common, since it will fail to transfer the currency fields. so you need to convert that to Char and transfer it to application server. then you can see the data .&lt;/P&gt;&lt;P&gt;The problem is with the currency fields, try to convert it to char and check./&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Aug 2006 08:20:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/decimal-data-type/m-p/1509680#M235135</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-09T08:20:18Z</dc:date>
    </item>
  </channel>
</rss>

