<?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 Why preceding length field  is required while creating Fields in Data base dictionary with type LCHAR or LRAW in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-preceding-length-field-is-required-while-creating-fields-in-data-base/m-p/9610236#M1759594</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello ABAP Guru's&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to create table Fields With giving the Data type as &lt;STRONG&gt;LCHAR&lt;/STRONG&gt; or &lt;STRONG&gt;LRAW &lt;/STRONG&gt;in se11..It is giving error like ' Z&amp;lt;Field&amp;gt;&lt;STRONG&gt; does not have a preceding length field of type INT4' &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and when I created another field (above to LCHAR or LRAW field ) with data type with &lt;STRONG&gt;INT4&lt;/STRONG&gt; is not showing error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know what is the&lt;STRONG&gt; reason &lt;/STRONG&gt;behind of this....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks In Advance,&lt;/P&gt;&lt;P&gt;Sekhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Jul 2013 09:49:29 GMT</pubDate>
    <dc:creator>former_member298409</dc:creator>
    <dc:date>2013-07-29T09:49:29Z</dc:date>
    <item>
      <title>Why preceding length field  is required while creating Fields in Data base dictionary with type LCHAR or LRAW</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-preceding-length-field-is-required-while-creating-fields-in-data-base/m-p/9610236#M1759594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello ABAP Guru's&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to create table Fields With giving the Data type as &lt;STRONG&gt;LCHAR&lt;/STRONG&gt; or &lt;STRONG&gt;LRAW &lt;/STRONG&gt;in se11..It is giving error like ' Z&amp;lt;Field&amp;gt;&lt;STRONG&gt; does not have a preceding length field of type INT4' &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and when I created another field (above to LCHAR or LRAW field ) with data type with &lt;STRONG&gt;INT4&lt;/STRONG&gt; is not showing error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know what is the&lt;STRONG&gt; reason &lt;/STRONG&gt;behind of this....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks In Advance,&lt;/P&gt;&lt;P&gt;Sekhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jul 2013 09:49:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/why-preceding-length-field-is-required-while-creating-fields-in-data-base/m-p/9610236#M1759594</guid>
      <dc:creator>former_member298409</dc:creator>
      <dc:date>2013-07-29T09:49:29Z</dc:date>
    </item>
    <item>
      <title>Re: Why preceding length field  is required while creating Fields in Data base dictionary with type LCHAR or LRAW</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-preceding-length-field-is-required-while-creating-fields-in-data-base/m-p/9610237#M1759595</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;BR /&gt;When create table Fields With giving the Data type as &lt;STRONG&gt;LCHAR&lt;/STRONG&gt; or &lt;STRONG&gt;LRAW &lt;/STRONG&gt;you need to create the preceeding length field, this field will contain the length of the data contained in the LChar or Lraw datatype field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, if field xyz of type lchar has contents : 'hello people how are you'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the preceeding length field should have the length of the data contained in field XYZ.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Additionally:this LCHAR field has to be the last field in the table and there can be only one fiel of LCHAR in one database table.&lt;/P&gt;&lt;P&gt;Such fields cannot be used in where clause of a select query!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jul 2013 10:25:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/why-preceding-length-field-is-required-while-creating-fields-in-data-base/m-p/9610237#M1759595</guid>
      <dc:creator>AbhishekV</dc:creator>
      <dc:date>2013-07-29T10:25:24Z</dc:date>
    </item>
    <item>
      <title>Re: Why preceding length field  is required while creating Fields in Data base dictionary with type LCHAR or LRAW</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-preceding-length-field-is-required-while-creating-fields-in-data-base/m-p/9610238#M1759596</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;The data type LCHR should be used for character strings of arbitrary length, but with at least 256 characters.&lt;BR /&gt;Unlike binary data (LRAW), character data (LCHR) is converted automatically in heterogeneous environments, providing the database system used supports ASCII-EBCDIC or code page conversion in heterogeneous networks. Type LCHR is therefore suitable for long texts that are to be stored. Fields of type LCHR can occur in structures and tables. Fields of this type must be placed at the end in tables and have a preceding length field of the type INT2. When using INSERT or UPDATE in ABAP/4 programs, the preceding length field must be filled with the length actually required. LCHR fields cannot be used in WHERE conditions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jul 2013 10:31:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/why-preceding-length-field-is-required-while-creating-fields-in-data-base/m-p/9610238#M1759596</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-07-29T10:31:37Z</dc:date>
    </item>
    <item>
      <title>Re: Why preceding length field  is required while creating Fields in Data base dictionary with type LCHAR or LRAW</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-preceding-length-field-is-required-while-creating-fields-in-data-base/m-p/9610239#M1759597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Those data type were created (back to the &lt;A href="http://help.sap.com/saphelp_45b/helpdata/en/bc/897415dc4ad111950d0060b03c6b76/content.htm"&gt;45b&lt;/A&gt; version, or 4.0 ?) to replace the now disabled VARC type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One of those fields can only be the last field of a table, and must be preceded by a INT2 field which contains the actual length required. (Depending on the actual DB those fields are not actually in the DB table so cannot be used in a WHERE clause)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jul 2013 10:40:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/why-preceding-length-field-is-required-while-creating-fields-in-data-base/m-p/9610239#M1759597</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2013-07-29T10:40:34Z</dc:date>
    </item>
  </channel>
</rss>

