<?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: Data Types P, X C . in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-types-p-x-c/m-p/3381691#M811900</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Character types&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of the five non-numeric types, the four types C, D, N, and T are character types. Fields with these types are known as character fields. Each position in one of these fields takes up enough space for the code of one character. Currently, ABAP only works with single-byte codes such as ASCII and EBCDI. However, an adaptation to UNICODE is in preparation. Under UNICODE, each character occupies two or four bytes. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hexadecimal Type&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The remaining non-numeric type - X - always interprets individual bytes in memory. One byte is represented by a two-digit hexadecimal display. The fields with this type are called hexadecimal fields. In hexadecimal fields, you can process single bits. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;XSTRING for byte strings&lt;/P&gt;&lt;P&gt;A byte string is a hexadecimal type with variable length. It can contain any number of bytes. The length of a byte string is the same as the number of bytes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Feb 2008 05:49:03 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-15T05:49:03Z</dc:date>
    <item>
      <title>Data Types P, X C .</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-types-p-x-c/m-p/3381688#M811897</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;Can anyone explain me the difference between data types &lt;/P&gt;&lt;P&gt;P, X C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2008 05:43:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-types-p-x-c/m-p/3381688#M811897</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-15T05:43:32Z</dc:date>
    </item>
    <item>
      <title>Re: Data Types P, X C .</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-types-p-x-c/m-p/3381689#M811898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb2fd9358411d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb2fd9358411d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;award points if helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2008 05:45:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-types-p-x-c/m-p/3381689#M811898</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2008-02-15T05:45:48Z</dc:date>
    </item>
    <item>
      <title>Re: Data Types P, X C .</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-types-p-x-c/m-p/3381690#M811899</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;Char type p u can define like this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : l_data type p decimals 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;about char type c,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: l_data type c, here u cant maintain any decimals&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that's is the main difference with these two.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward points if useful,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;seshu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2008 05:46:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-types-p-x-c/m-p/3381690#M811899</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-15T05:46:17Z</dc:date>
    </item>
    <item>
      <title>Re: Data Types P, X C .</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-types-p-x-c/m-p/3381691#M811900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Character types&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of the five non-numeric types, the four types C, D, N, and T are character types. Fields with these types are known as character fields. Each position in one of these fields takes up enough space for the code of one character. Currently, ABAP only works with single-byte codes such as ASCII and EBCDI. However, an adaptation to UNICODE is in preparation. Under UNICODE, each character occupies two or four bytes. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hexadecimal Type&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The remaining non-numeric type - X - always interprets individual bytes in memory. One byte is represented by a two-digit hexadecimal display. The fields with this type are called hexadecimal fields. In hexadecimal fields, you can process single bits. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;XSTRING for byte strings&lt;/P&gt;&lt;P&gt;A byte string is a hexadecimal type with variable length. It can contain any number of bytes. The length of a byte string is the same as the number of bytes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2008 05:49:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-types-p-x-c/m-p/3381691#M811900</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-15T05:49:03Z</dc:date>
    </item>
    <item>
      <title>Re: Data Types P, X C .</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-types-p-x-c/m-p/3381692#M811901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;Predefined ABAP Types &lt;/P&gt;&lt;P&gt;The table below shows the predefined ABAP types. Additional attributes can be found under value ranges and initial values. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Type Length Standard length Description &lt;/P&gt;&lt;P&gt;b  1 Byte   1 byte integer (internal) &lt;/P&gt;&lt;P&gt;&lt;U&gt;*c 1 to 65,535 characters 1 character Text field&lt;/U&gt;* cursor as i as i Database cursor &lt;/P&gt;&lt;P&gt;d 8 characters   Date field &lt;/P&gt;&lt;P&gt;f 8 bytes   Floating point number &lt;/P&gt;&lt;P&gt;i 4 bytes   4 byte integer &lt;/P&gt;&lt;P&gt;n 1 to 65,535 characters 1 character Numeric text &lt;/P&gt;&lt;P&gt;&lt;U&gt;*p 1 to 16 bytes 8 bytes Packed number&lt;/U&gt;* string variable   Text string &lt;/P&gt;&lt;P&gt;s 2 bytes   2 byte integer (internal) &lt;/P&gt;&lt;P&gt;t 6 characters   Time field &lt;/P&gt;&lt;P&gt;x 1 to 65,535 bytes 1 byte Byte field &lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;xstring variable   Byte string&lt;/STRONG&gt;&lt;/U&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These types are predefined in every ABAP program. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All predefined ABAP types in this table are elementary. &lt;/P&gt;&lt;P&gt;Apart from the types b and s, the predefined ABAP types can also be used to define your own data types and data objects and for typing. The types b and s cannot be specified directly in ABAP statements. Self-defined data types and data objects in ABAP programs are of the data type b and s if they are defined with reference to data elements to the ABAP Dictionary which are of the external data types INT1 or INT2. &lt;/P&gt;&lt;P&gt;The predefined data types string and xstring describe data objects of variable length (dynamic data objects). While the length of data objects in all other elementary data types is determined for its whole lifetime, the length of text and byte strings varies according to their content (the maximum size of a string is determined by profile parameter ztta/max_memreq_MB, see Maximum size of dynamic data objects). &lt;/P&gt;&lt;P&gt;The program-globally predefined data type cursor is currently synonymous with the predefined ABAP type i. This is required for the declaration of a cursor variable for database cursor handling. &lt;/P&gt;&lt;P&gt;All predefined ABAP types for which a length interval is specified in second column in the table are generic, which means that the length is not part of the type description. For the type p, the fractional portion is indefinite as well as the length. &lt;/P&gt;&lt;P&gt;The entries in the standard length column specify the length that is used for the corresponding generic data type when declaring data objects, if no explicit length is specified in the relevant statement. &lt;/P&gt;&lt;P&gt;In Unicode systems, the length must either be specified in characters and bytes. In non-Unicode systems, the length of a character is one byte, but in Unicode systems the length of a character depends on which Unicode character representation is used. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks and regards&lt;/P&gt;&lt;P&gt;sreelatha gullapalli&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2008 05:49:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-types-p-x-c/m-p/3381692#M811901</guid>
      <dc:creator>sreelatha_gullapalli</dc:creator>
      <dc:date>2008-02-15T05:49:30Z</dc:date>
    </item>
    <item>
      <title>Re: Data Types P, X C .</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-types-p-x-c/m-p/3381693#M811902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check this url...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb2fcc358411d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb2fcc358411d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2008 05:50:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-types-p-x-c/m-p/3381693#M811902</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-15T05:50:44Z</dc:date>
    </item>
    <item>
      <title>Re: Data Types P, X C .</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-types-p-x-c/m-p/3381694#M811903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;type C it accepts alpha numeric variables.&lt;/P&gt;&lt;P&gt;type P --packed it accepts decimals u can give how many decimal places u want.&lt;/P&gt;&lt;P&gt;example : T type P decimal 2,&lt;/P&gt;&lt;P&gt;T will accept 2 decimals points.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2008 05:51:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-types-p-x-c/m-p/3381694#M811903</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-15T05:51:06Z</dc:date>
    </item>
    <item>
      <title>Re: Data Types P, X C .</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-types-p-x-c/m-p/3381695#M811904</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;P is for Packed decimals, i.e. you can have a decimal point in this data type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;C is for Character, i.e. it can have numbers , characters as well as special characters like (*, $, etc). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;X is for hexadecimal numbers. Here number is mentioned in its hexadecimal format, i.e. 1 , 2, 3....9, A , B....E. This is generally used to handle special charaters such as TAB or Carriage Return(Enter).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kirti.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2008 05:57:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-types-p-x-c/m-p/3381695#M811904</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-15T05:57:34Z</dc:date>
    </item>
    <item>
      <title>Re: Data Types P, X C .</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-types-p-x-c/m-p/3381696#M811905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt; Data Type   Initial field length  Valid field length    &lt;/P&gt;&lt;P&gt; P                                  8                      1 - 16        &lt;/P&gt;&lt;P&gt; p is numeric type meaning packed number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data Type  Initial field length  Valid field length    &lt;/P&gt;&lt;P&gt; C                               1                     1 - 65535       &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; C is character  type meaning text field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Data Type  Initial field length  Valid field length    &lt;/P&gt;&lt;P&gt;    X                           1                      1 - 65535        &lt;/P&gt;&lt;P&gt; X is hexadecimal  type meaning hexadecimal field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it is useful.&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;sreelakshmi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2008 05:58:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-types-p-x-c/m-p/3381696#M811905</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-15T05:58:17Z</dc:date>
    </item>
  </channel>
</rss>

