<?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/3418675#M821102</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess I had posted the wrong error message,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error message is,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"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;and the declearation and code is,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: BEGIN OF ht,
        x(1) TYPE x VALUE '09',
        END OF ht.

      SPLIT fieldy AT ht INTO
        itab1x-condition_id
        itab1x-change_date.&lt;/CODE&gt;&lt;/PRE&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, 18 Feb 2008 20:39:02 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-18T20:39:02Z</dc:date>
    <item>
      <title>Syntax Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error/m-p/3418672#M821099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am facing an problem when I check the unicode on in the attributes of the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error is,&lt;/P&gt;&lt;P&gt;"C_TAB_CHAR" 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;code for the error,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA: BEGIN OF ht,
        x(1) TYPE x VALUE '09',
        END OF ht.

      SPLIT fieldy AT ht INTO
        itab1x-condition_id
        itab1x-change_date.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any Suggestions,&lt;/P&gt;&lt;P&gt;Raju&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Feb 2008 20:02:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error/m-p/3418672#M821099</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-18T20: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/3418673#M821100</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;Please check the constant C_TAB_CHAR whether it is Character type or Not. If it is not declare that as character type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are splitting the data, then all the variables should be declared as character types or string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kannaiah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Feb 2008 20:33:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error/m-p/3418673#M821100</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-18T20:33:21Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error/m-p/3418674#M821101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use this code :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;class CL_ABAP_CHAR_UTILITIES definition load.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF ht,&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       x(1) TYPE x VALUE '09',&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;         x(1) type c value CL_ABAP_CHAR_UTILITIES-&amp;gt;HORIZONTAL_TAB,&lt;/P&gt;&lt;P&gt;        END OF ht.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;horizontal_tab is equivalent to 09 in hexa.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In commands like split, concatenate u can't use type x values&lt;/P&gt;&lt;P&gt;in unicode enabled program..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rest of code remain same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With regards&lt;/P&gt;&lt;P&gt;Mandeep&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Feb 2008 20:35:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error/m-p/3418674#M821101</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-18T20:35:05Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error/m-p/3418675#M821102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess I had posted the wrong error message,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error message is,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"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;and the declearation and code is,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: BEGIN OF ht,
        x(1) TYPE x VALUE '09',
        END OF ht.

      SPLIT fieldy AT ht INTO
        itab1x-condition_id
        itab1x-change_date.&lt;/CODE&gt;&lt;/PRE&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, 18 Feb 2008 20:39:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error/m-p/3418675#M821102</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-18T20:39: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/3418676#M821103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
split fieldy  at cl_abap_char_utilities=&amp;gt;horizontal_tab into itab1x-condition_id itab1x-change_date.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Feb 2008 20:46:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error/m-p/3418676#M821103</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2008-02-18T20:46:16Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error/m-p/3418677#M821104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raju,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are getting a error because of the TYPE X u are using.&lt;/P&gt;&lt;P&gt;Using CL_ABAP_CHAR_UTILITIES-&amp;gt;HORIZONTAL_TAB makes your variable of type C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try Mandeep's solution, it should work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even ARS's solution is correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;~goldie.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Feb 2008 21:02:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error/m-p/3418677#M821104</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-18T21:02:24Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error/m-p/3418678#M821105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;      SPLIT fieldy AT ht-x INTO      "&amp;lt;====
        itab1x-condition_id
        itab1x-change_date.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Feb 2008 21:07:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error/m-p/3418678#M821105</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-18T21: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/3418679#M821106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Rob,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried the way you have specified and the error message is &lt;/P&gt;&lt;P&gt;"HT-X" 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: 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;      SPLIT fieldy AT ht-x 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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am facing this problem after I made the program Unicode enable.&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, 18 Feb 2008 21:10:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error/m-p/3418679#M821106</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-18T21:10:17Z</dc:date>
    </item>
  </channel>
</rss>

