<?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: ABAP - Data Type Short Dump in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-data-type-short-dump/m-p/3246805#M774999</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sachin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please tel me which Function Module you are using to read data from excel so that I can check.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Jan 2008 11:17:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-09T11:17:49Z</dc:date>
    <item>
      <title>ABAP - Data Type Short Dump</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-data-type-short-dump/m-p/3246801#M774995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am reading data from an excel sheet into a Function Module. In the excel sheet, when i enter 1000, it gets converted into 1,000.00 since its an amount value. This value is being stored in the function mdoule into an internal table (itab) that has a field 'Value' of type C (Length - 60).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the FM, i defined a variable 'amt' of data type P.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; amt = itab-value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i executed the Function Moule, i get a short dump saying 'Unable to interpret '1,000.00' as a number'. How to overcome this issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2008 09:27:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-data-type-short-dump/m-p/3246801#M774995</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-09T09:27:24Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP - Data Type Short Dump</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-data-type-short-dump/m-p/3246802#M774996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sachin,&lt;/P&gt;&lt;P&gt;              We can make that filed as currency type(CURR) ok..&lt;/P&gt;&lt;P&gt;or we make them declare like this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin of itab occurs 0, &lt;/P&gt;&lt;P&gt;          net like vbap-netpr,&lt;/P&gt;&lt;P&gt;         end of itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here netpr is of type CURR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Award points if hellpful.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Kiran Kumar.G.A&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2008 09:35:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-data-type-short-dump/m-p/3246802#M774996</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-09T09:35:56Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP - Data Type Short Dump</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-data-type-short-dump/m-p/3246803#M774997</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;make the below settings for that field column in you Excel sheet and then try.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selecte the entire column in you excel sheet.&lt;/P&gt;&lt;P&gt;1) right click on the header of that column. choose 'Format cells' option.&lt;/P&gt;&lt;P&gt;2) under the 'number' tab go to 'catagory' list box, select the 'Custom' option.&lt;/P&gt;&lt;P&gt;3) in right side you can find 'Type' list box, select '0' from that list box.&lt;/P&gt;&lt;P&gt;4) immediately above to that list box, you can find one text box (under 'Type' only).&lt;/P&gt;&lt;P&gt;5) there enter as many zeros as of field size, click 'OK' button, and save it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try to read the data from your excel sheet and then try.&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;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ashok.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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;Thanks,&lt;/P&gt;&lt;P&gt;Ashok.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Ashok Kumar P on Jan 9, 2008 5:29 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2008 10:57:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-data-type-short-dump/m-p/3246803#M774997</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-09T10:57:38Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP - Data Type Short Dump</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-data-type-short-dump/m-p/3246804#M774998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sachin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is that you read data from an excel file directly into your FM? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After reading the data from the excel file, try converting the character value to a packed decimal format. Then move that value into your amount field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use this FM to convert the char value to a Packed or Float value. OIU_ME_CHAR_TO_NUMBER&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pass itab-value to FM - OIU_ME_CHAR_TO_NUMBER and get the packed digit number. Use that into your amt field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope dump would not come any more on this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Award me points if useful!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ananth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2008 11:03:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-data-type-short-dump/m-p/3246804#M774998</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-09T11:03:05Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP - Data Type Short Dump</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-data-type-short-dump/m-p/3246805#M774999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sachin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please tel me which Function Module you are using to read data from excel so that I can check.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2008 11:17:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-data-type-short-dump/m-p/3246805#M774999</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-09T11:17:49Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP - Data Type Short Dump</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-data-type-short-dump/m-p/3246806#M775000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your replies. I solved the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is what i did.&lt;/P&gt;&lt;P&gt;*Before these, itab-value has 1,000.00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPLACE ',' WITH '' INTO itab-value.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;The output is: 1 000.00&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONDENSE itab-value NO-GAPS.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;The output is: 1000.00&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;amt = itab-value.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;The output is: 1000.00&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2008 19:37:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-data-type-short-dump/m-p/3246806#M775000</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-09T19:37:48Z</dc:date>
    </item>
  </channel>
</rss>

