<?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: types in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/types/m-p/993090#M74723</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 can have a field of more length what u r adding, as in addition there r chances to overflow eg. whenu add 99 + 99 the result will be a three digit number, so consider this and choose a field with length larger.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As collect will add the numeric fields.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Jul 2005 09:30:47 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-07-14T09:30:47Z</dc:date>
    <item>
      <title>types</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/types/m-p/993089#M74722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi!&lt;/P&gt;&lt;P&gt;i have a field which is type WERTV13.&lt;/P&gt;&lt;P&gt;i am reading an excel file into an internal table.&lt;/P&gt;&lt;P&gt;this field is empty and gets the value &lt;/P&gt;&lt;P&gt;20202020202020202020202.02&lt;/P&gt;&lt;P&gt;when i am running on the internal table i am using the collect command and moving records with the same matnr&lt;/P&gt;&lt;P&gt;to another internal table with the same structure.&lt;/P&gt;&lt;P&gt;after a while when it tries to collect more then 4 records to the same line i get dump on this field &lt;/P&gt;&lt;P&gt;and it says that the field is not long enough.&lt;/P&gt;&lt;P&gt;what can i do in order to get rid from the value&lt;/P&gt;&lt;P&gt;20202020202020202020202.02. and move zero instead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks its very urgent&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yifat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jul 2005 09:27:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/types/m-p/993089#M74722</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-14T09:27:04Z</dc:date>
    </item>
    <item>
      <title>Re: types</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/types/m-p/993090#M74723</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 can have a field of more length what u r adding, as in addition there r chances to overflow eg. whenu add 99 + 99 the result will be a three digit number, so consider this and choose a field with length larger.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As collect will add the numeric fields.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jul 2005 09:30:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/types/m-p/993090#M74723</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-14T09:30:47Z</dc:date>
    </item>
    <item>
      <title>Re: types</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/types/m-p/993091#M74724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yifat,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you upload files you should only use character fields in the internal table where you load the data in.&lt;/P&gt;&lt;P&gt;You'll never know how the input will be (empty, decimal point or comma, alphanumeric characters in number fields, etc..)&lt;/P&gt;&lt;P&gt;After some checks you can move the characters fields to an other internal table converting them to the correct type you need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Arjan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By the way: the value 20202020... is the internal display of spaces in a packed (= "numeric") field. This is not a situation you want to see. Again: don't use packed/numeric fields directly when uploading data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Arjan Aalbers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jul 2005 09:32:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/types/m-p/993091#M74724</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-14T09:32:40Z</dc:date>
    </item>
    <item>
      <title>Re: types</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/types/m-p/993092#M74725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yifat Bar,&lt;/P&gt;&lt;P&gt;   The field you are using is of type CURR ( Basically it is a number) now when you use 'COLLECT' statement it summerizes the table contents and gives the sum of the numerical fields There is a condition for this....&lt;/P&gt;&lt;P&gt;  "When the line is inserted, the system checks whether there is already a table entry that matches the key. If there is no corresponding entry already in the table, the COLLECT statement has the same effect as inserting the new line. If an entry with the same key already exists, the COLLECT statement does not append a new line, but adds the contents of the numeric fields in the work area to the contents of the numeric fields in the existing entry."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the below link...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_47x200/helpdata/en/fc/eb36d5358411d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_47x200/helpdata/en/fc/eb36d5358411d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, Instead of that try to use APPEND Statement to insert values into the internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vara&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jul 2005 09:36:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/types/m-p/993092#M74725</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-14T09:36:55Z</dc:date>
    </item>
  </channel>
</rss>

