<?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: Syntax Error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error/m-p/3397505#M815784</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you should try writing ht in quotes like 'ht' try it once&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Feb 2008 14:36:41 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-25T14:36:41Z</dc:date>
    <item>
      <title>Syntax Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error/m-p/3397504#M815783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi we are upgrading to Ecc 6 from 4.6 and have the following Syntax error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Error is - "HT" must be a character-type data object (data type C, N, D, T or STRING)		&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data declaration,&lt;/P&gt;&lt;P&gt;  DATA: BEGIN OF ht,&lt;/P&gt;&lt;P&gt;        x(1) TYPE x VALUE '09',&lt;/P&gt;&lt;P&gt;        END OF ht.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA: BEGIN OF itab1x,&lt;/P&gt;&lt;P&gt;     condition_id(10) TYPE c,&lt;/P&gt;&lt;P&gt;     change_date(10) TYPE c.&lt;/P&gt;&lt;P&gt;  DATA: END OF itab1x.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF itab1 OCCURS 0,&lt;/P&gt;&lt;P&gt;condition_id(10) TYPE c,&lt;/P&gt;&lt;P&gt;change_date(10) TYPE c.&lt;/P&gt;&lt;P&gt;DATA: END OF itab1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the error is at,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      SPLIT fieldy AT ht INTO&lt;/P&gt;&lt;P&gt;        itab1x-condition_id&lt;/P&gt;&lt;P&gt;        itab1x-change_date.&lt;/P&gt;&lt;P&gt;      MOVE-CORRESPONDING itab1x TO itab1.&lt;/P&gt;&lt;P&gt;      APPEND itab1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ANy Suggestions please.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Raju..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2008 14:34:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error/m-p/3397504#M815783</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-25T14:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error/m-p/3397505#M815784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you should try writing ht in quotes like 'ht' try it once&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2008 14:36:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error/m-p/3397505#M815784</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-25T14:36:41Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error/m-p/3397506#M815785</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;it will not allow the type x check it and let me know..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;venkat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2008 14:39:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error/m-p/3397506#M815785</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-25T14:39:00Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error/m-p/3397507#M815786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can't use the type x variable because of the unicode in ECC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the real value of '09'? You could replace it with a method in cl_abap_char_utilities?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also heard there's a type CVALUE to define chars the same way you did it with variable x, try it that way, I'm also in 4.6 and can´t check it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2008 14:42:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error/m-p/3397507#M815786</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-25T14:42:08Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error/m-p/3397508#M815787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ANy More suggestions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am still Unable to get this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this dosent work what would be an alternative for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raju.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2008 14:55:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error/m-p/3397508#M815787</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-25T14:55:18Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error/m-p/3397509#M815788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SPLIT fieldy AT CL_ABAP_CHAR_UTILITIES=&amp;gt;HORIZONTAL_TAB INTO itab1x-condition_id itab1x-change_date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2008 15:00:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error/m-p/3397509#M815788</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2008-02-25T15:00:58Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error/m-p/3397510#M815789</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;Check the following link:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/doubt-in-unicode-enabling.htm" target="test_blank"&gt;http://www.sap-img.com/abap/doubt-in-unicode-enabling.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bhaskar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2008 15:02:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error/m-p/3397510#M815789</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-25T15:02:25Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error/m-p/3397511#M815790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Matthew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What would be the data Declaration for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see you didnt use ht in the split statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Raju.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2008 15:22:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error/m-p/3397511#M815790</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-25T15:22:58Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error/m-p/3397512#M815791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any More Suggestions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raju...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2008 15:56:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error/m-p/3397512#M815791</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-25T15:56:30Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error/m-p/3397513#M815792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try declaring x as type xstring&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But matthew's suggestion is the right way to do it in ECC, it should work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Ramiro Escamilla on Feb 25, 2008 5:00 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2008 16:00:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error/m-p/3397513#M815792</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-25T16:00:09Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error/m-p/3397514#M815793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You don't need a declaration, you use CL_ABAP_CHAR_UTILITIES=&amp;gt;HORIZONTAL_TAB precisely as I've stated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2008 16:04:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error/m-p/3397514#M815793</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2008-02-25T16:04:12Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error/m-p/3397515#M815794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks All.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Matthew. The problem is solved but I am still wondering where are we splitting now and how does the statement you have specified works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Raju.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2008 17:07:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error/m-p/3397515#M815794</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-25T17:07:02Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error/m-p/3397516#M815795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You're splitting at the horizontal tab character represented in hex as x09.  You can reference any public constant (a_constant) of some class (cl_class) using the following syntax:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;cl_class=&amp;gt;a_constant.&lt;/STRONG&gt;  It's standard ABAP syntax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case you are accessing the constant public attribute HORIZONTAL_TAB of class CL_ABAP_CHAR_UTILITIES.  This constant was provided specifically by SAP to address the fact that in a unicode system you can't use the "ht" approach you tried anymore.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you look at class CL_ABAP_CHAR_UTILITIES, you'll see useful methods, and other attributes you can use; e.g. NEWLINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Feb 2008 08:53:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error/m-p/3397516#M815795</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2008-02-26T08:53:45Z</dc:date>
    </item>
  </channel>
</rss>

