<?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: what is basic datatype in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-basic-datatype/m-p/2559636#M583661</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Basic Data Types in ABAP are&lt;/P&gt;&lt;P&gt;CHAR  - C&lt;/P&gt;&lt;P&gt;DATE  - D&lt;/P&gt;&lt;P&gt;Integer - I&lt;/P&gt;&lt;P&gt;Packed -- P&lt;/P&gt;&lt;P&gt;Float - F&lt;/P&gt;&lt;P&gt;TIME  - T&lt;/P&gt;&lt;P&gt;Hexadecimal -X&lt;/P&gt;&lt;P&gt;Numeric - N&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for other SAP data atypes see any table &lt;/P&gt;&lt;P&gt;you can see the data types like&lt;/P&gt;&lt;P&gt;CHAR,QUAN,CURR,UNIT,INT2 etc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see the doc&lt;/P&gt;&lt;P&gt;the five non-numeric types (text field (C), numeric text field (N), date field (D), time field (T), and hexadecimal field (X)), there are three numeric types, used in ABAP to display and calculate numbers. Data type N is not a numeric type. Type N objects can only contain numeric characters (0...9), but are not represented internally as numbers. Typical type N fields are account numbers and zip codes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;integers - type I&lt;/P&gt;&lt;P&gt;The value range of type I numbers is -2*&lt;STRONG&gt;31 to 2&lt;/STRONG&gt;*31-1 and includes only whole numbers. Non-integer results of arithmetic operations (e.g. fractions) are rounded, not truncated. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use type I data for counters, numbers of items, indexes, time periods, and so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Packed numbers - type P&lt;/P&gt;&lt;P&gt;Type P data allows digits after the decimal point. The number of decimal places is generic, and is determined in the program. The value range of type P data depends on its size and the number of digits after the decimal point. The valid size can be any value from 1 to 16 bytes. Two decimal digits are packed into one byte, while the last byte contains one digit and the sign. Up to 14 digits are allowed after the decimal point. The initial value is zero. When working with type P data, it is a good idea to set the program attribute Fixed point arithmetic.Otherwise, type P numbers are treated as integers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use type P data for such values as distances, weights, amounts of money, and so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Floating point numbers - type F&lt;/P&gt;&lt;P&gt;The value range of type F numbers is 1x10*&lt;STRONG&gt;-307 to 1x10&lt;/STRONG&gt;*308 for positive and negative numbers, including 0 (zero). The accuracy range is approximately 15 decimals, depending on the floating point arithmetic of the hardware platform. Since type F data is internally converted to a binary system, rounding errors can occur. Although the ABAP processor tries to minimize these effects, you should not use type F data if high accuracy is required. Instead, use type P data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You use type F fields when you need to cope with very large value ranges and rounding errors are not critical.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using I and F fields for calculations is quicker than using P fields. Arithmetic operations using I and F fields are very similar to the actual machine code operations, while P fields require more support from the software. Nevertheless, you have to use type P data to meet accuracy or value range requirements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;C ---&amp;gt; character&lt;/P&gt;&lt;P&gt;D ---&amp;gt; date&lt;/P&gt;&lt;P&gt;P ---&amp;gt; packed&lt;/P&gt;&lt;P&gt;T ---&amp;gt; time&lt;/P&gt;&lt;P&gt;X ---&amp;gt; hexadecimal&lt;/P&gt;&lt;P&gt;I ---&amp;gt; integer.&lt;/P&gt;&lt;P&gt;N ---&amp;gt; Numeric.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward points for useful Answers&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Anji Reddy Vangala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Jul 2007 08:07:03 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-16T08:07:03Z</dc:date>
    <item>
      <title>what is basic datatype</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-basic-datatype/m-p/2559635#M583660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is a basic datatype in ABAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ramana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jul 2007 08:01:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-basic-datatype/m-p/2559635#M583660</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-16T08:01:41Z</dc:date>
    </item>
    <item>
      <title>Re: what is basic datatype</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-basic-datatype/m-p/2559636#M583661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Basic Data Types in ABAP are&lt;/P&gt;&lt;P&gt;CHAR  - C&lt;/P&gt;&lt;P&gt;DATE  - D&lt;/P&gt;&lt;P&gt;Integer - I&lt;/P&gt;&lt;P&gt;Packed -- P&lt;/P&gt;&lt;P&gt;Float - F&lt;/P&gt;&lt;P&gt;TIME  - T&lt;/P&gt;&lt;P&gt;Hexadecimal -X&lt;/P&gt;&lt;P&gt;Numeric - N&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for other SAP data atypes see any table &lt;/P&gt;&lt;P&gt;you can see the data types like&lt;/P&gt;&lt;P&gt;CHAR,QUAN,CURR,UNIT,INT2 etc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see the doc&lt;/P&gt;&lt;P&gt;the five non-numeric types (text field (C), numeric text field (N), date field (D), time field (T), and hexadecimal field (X)), there are three numeric types, used in ABAP to display and calculate numbers. Data type N is not a numeric type. Type N objects can only contain numeric characters (0...9), but are not represented internally as numbers. Typical type N fields are account numbers and zip codes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;integers - type I&lt;/P&gt;&lt;P&gt;The value range of type I numbers is -2*&lt;STRONG&gt;31 to 2&lt;/STRONG&gt;*31-1 and includes only whole numbers. Non-integer results of arithmetic operations (e.g. fractions) are rounded, not truncated. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use type I data for counters, numbers of items, indexes, time periods, and so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Packed numbers - type P&lt;/P&gt;&lt;P&gt;Type P data allows digits after the decimal point. The number of decimal places is generic, and is determined in the program. The value range of type P data depends on its size and the number of digits after the decimal point. The valid size can be any value from 1 to 16 bytes. Two decimal digits are packed into one byte, while the last byte contains one digit and the sign. Up to 14 digits are allowed after the decimal point. The initial value is zero. When working with type P data, it is a good idea to set the program attribute Fixed point arithmetic.Otherwise, type P numbers are treated as integers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use type P data for such values as distances, weights, amounts of money, and so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Floating point numbers - type F&lt;/P&gt;&lt;P&gt;The value range of type F numbers is 1x10*&lt;STRONG&gt;-307 to 1x10&lt;/STRONG&gt;*308 for positive and negative numbers, including 0 (zero). The accuracy range is approximately 15 decimals, depending on the floating point arithmetic of the hardware platform. Since type F data is internally converted to a binary system, rounding errors can occur. Although the ABAP processor tries to minimize these effects, you should not use type F data if high accuracy is required. Instead, use type P data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You use type F fields when you need to cope with very large value ranges and rounding errors are not critical.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using I and F fields for calculations is quicker than using P fields. Arithmetic operations using I and F fields are very similar to the actual machine code operations, while P fields require more support from the software. Nevertheless, you have to use type P data to meet accuracy or value range requirements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;C ---&amp;gt; character&lt;/P&gt;&lt;P&gt;D ---&amp;gt; date&lt;/P&gt;&lt;P&gt;P ---&amp;gt; packed&lt;/P&gt;&lt;P&gt;T ---&amp;gt; time&lt;/P&gt;&lt;P&gt;X ---&amp;gt; hexadecimal&lt;/P&gt;&lt;P&gt;I ---&amp;gt; integer.&lt;/P&gt;&lt;P&gt;N ---&amp;gt; Numeric.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward points for useful Answers&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Anji Reddy Vangala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jul 2007 08:07:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-basic-datatype/m-p/2559636#M583661</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-16T08:07:03Z</dc:date>
    </item>
  </channel>
</rss>

