<?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: Doubt in ABAP Data types in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-abap-data-types/m-p/1081501#M97965</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Li, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes the reply helped me a bit ......... but still i want some more areas where 'X' and 'XSTRING' used....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;R.Kripa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Nov 2005 09:48:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-11-24T09:48:49Z</dc:date>
    <item>
      <title>Doubt in ABAP Data types</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-abap-data-types/m-p/1081495#M97959</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;I want a clear idea of what is the diference between data type 'f' and 'p' with examples and in what situation which should be used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Similary what and where is 'x' and 'xstring' is used .. In what situations we 'll handly BYTE data ?????&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Iam not at all clear ... so eagerly waiting for ur responses with sample examples and clear explanations &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;R.Kripa.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Nov 2005 04:15:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-abap-data-types/m-p/1081495#M97959</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-03T04:15:14Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in ABAP Data types</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-abap-data-types/m-p/1081496#M97960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Data Type: P&lt;/P&gt;&lt;P&gt;Size : 1 &amp;#150; 16 &lt;/P&gt;&lt;P&gt;Description: Each byte stores 2 digits so a pack field of size 2 actually stores 4 digits.The range would depend on the size of the field and the number of decimal place defined.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data Type: F&lt;/P&gt;&lt;P&gt;Size : 8 &lt;/P&gt;&lt;P&gt;Description:Floating point number.Errors occur while rounding hence not very widely used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data Type: X&lt;/P&gt;&lt;P&gt;Size: 1 &amp;#150; 65535&lt;/P&gt;&lt;P&gt;Desc:Hexadecimal &amp;#150; first character is an X.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for more detail info please visit the 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/eb2fcc358411d1829f0000e829fbfe/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_47x200/helpdata/en/fc/eb2fcc358411d1829f0000e829fbfe/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please reward points if it helps you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Nov 2005 04:24:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-abap-data-types/m-p/1081496#M97960</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-03T04:24:54Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in ABAP Data types</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-abap-data-types/m-p/1081497#M97961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;F is floating point, exponential format&lt;/P&gt;&lt;P&gt;     very large number is possible.&lt;/P&gt;&lt;P&gt; ex:) F = '3.141592'  ==&amp;gt;    3.1415920000000002E+00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P is packed decimal, maximum digit is 15.&lt;/P&gt;&lt;P&gt; 1 byte = 2 nibbles = 8 bits&lt;/P&gt;&lt;P&gt; Type P is b bytes ( = 16 nibble )&lt;/P&gt;&lt;P&gt; the last nibble is sign(+ or -).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; ex:) P = 3000      ==&amp;gt;   000000000003000C (hex format)&lt;/P&gt;&lt;P&gt; last nibble = C : plus value, D : minus value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Min Seob Lee&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Nov 2005 05:24:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-abap-data-types/m-p/1081497#M97961</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-03T05:24:30Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in ABAP Data types</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-abap-data-types/m-p/1081498#M97962</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;Thanks for the replies .... i ve provided 2 points each ..... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i dont want any basic descriptions .... i want some explanations of the usage of these data types ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;chers,&lt;/P&gt;&lt;P&gt;R.Kripa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Nov 2005 05:46:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-abap-data-types/m-p/1081498#M97962</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-03T05:46:54Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in ABAP Data types</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-abap-data-types/m-p/1081499#M97963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As explained earlier, type f is exponential representation: Not used at all for any business purposes because depending on the actual value of the number unexpected rounding may occur as a result of the internal exponential representation.&lt;/P&gt;&lt;P&gt;Type P is a little bit slower in calculation, but it is the typical representation of numeric values in database systems: Two digits fit in one byte. SAP always uses Type P for internal representation of business values connected to currencies (money) or units (weight, amount...).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Type X is hexadecimal, rarely used but sometimes not to avoid. When communicating from ABAP to the outside world via files, Type X is used for control characters like Linefeed (Hex 0A) or Carriage Return (Hex 0D).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don't know what kind of answer you expect - hope it helps a little.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;C.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Nov 2005 08:13:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-abap-data-types/m-p/1081499#M97963</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2005-11-03T08:13:30Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in ABAP Data types</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-abap-data-types/m-p/1081500#M97964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Lets talk about the "0.2".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In floating point variables, this value cant be stored exactly. Its internal value is like "0.1999999999999" or "0.20000000001" ause of binary translation. Only numbers like 0.5 0.25 (fractions of 1/2) can be stored exactly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Packed decimal it is stored exactly as "0.2" cause there is no binary translation. There is no rounding necessary to show the exact value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Integer you cant store "0.2" cause Integer can only hold natural numbers like 1,2,3,4... in poisitive and negative.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In business programms P is used e.g. for prices, Integer for counting. f is very seldomly used.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Nov 2005 08:32:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-abap-data-types/m-p/1081500#M97964</guid>
      <dc:creator>rainer_hbenthal</dc:creator>
      <dc:date>2005-11-03T08:32:30Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in ABAP Data types</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-abap-data-types/m-p/1081501#M97965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Li, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes the reply helped me a bit ......... but still i want some more areas where 'X' and 'XSTRING' used....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;R.Kripa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Nov 2005 09:48:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-abap-data-types/m-p/1081501#M97965</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-24T09:48:49Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in ABAP Data types</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-abap-data-types/m-p/1081502#M97966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kripa,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Types X and XSTRING are for binary data. For type X, the length of the data is specified at declaration, whereas for XSTRING, it can arbitrarily grow as for STRING. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;X      binary octets                 RAW       base64 string  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Type X is used for binary octets. The length of the octets sequence must be specified at declaration. The initial value of each octet is 0. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The lexical representation of binary octets is a sequence of characters in the MIME base64 format. &lt;/P&gt;&lt;P&gt;There are two possible representations of data of type X, namely base64 and hex. base64 is a preferred binary coding scheme in the Internet community. There are standard libraries for encoding and decoding. base64 uses about 33% less space over hex coding. Although ABAP MOVE uses hex coding for binary to character conversion, base64 will be used to represent data of this type in XML. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that the sequence of octets is transformed by the base64 encoding. The result, interpreted as a sequence of US-ASCII characters, appears as a sequence of Unicode characters in the content of that element. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dictionary type RAW corresponds to this type. &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;XSTRING variable length binary octets RAWSTRING base64 string  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Type XSTRING is used for a variable length binary octets. The initial value is ''. The length can vary as the string grows. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The lexical representation of this type is the same as Type X. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This type corresponds to the binary type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dictionary type RAWSTRING corresponds to this type. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Nov 2005 10:03:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-abap-data-types/m-p/1081502#M97966</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-24T10:03:03Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in ABAP Data types</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-abap-data-types/m-p/1081503#M97967</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;Thanks anyway...... but iam sorry i could'nt get half of ur reply &lt;SPAN __jive_emoticon_name="sad"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could u please give me an example....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;Data : test1 type x.&lt;/P&gt;&lt;P&gt;data : test2(50) type xstring.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;test1 = aaa222333.&lt;/P&gt;&lt;P&gt;test2 = '78678fsjfblkjn9r0'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write : test1, test2 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what will be my output...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hey the sample i ve given may be very simple.... but i need some codes like this with the scnario and the output.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks In advance &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;R.Kripa.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Nov 2005 10:44:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-abap-data-types/m-p/1081503#M97967</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-24T10:44:32Z</dc:date>
    </item>
  </channel>
</rss>

