<?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: Unicode error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-error/m-p/5592941#M1274900</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;Either make the tables as global and use them directly instead of passing.&lt;/P&gt;&lt;P&gt;In Unicode the table structure should be same with reference type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Form value_check tables p_itab1 structure itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Endform.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 May 2009 11:07:09 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-05-15T11:07:09Z</dc:date>
    <item>
      <title>Unicode error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-error/m-p/5592939#M1274898</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;I am getting a unicode error in callling a subroutine. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : BEGIN OF ITAB OCCURS 0.&lt;/P&gt;&lt;P&gt;         INCLUDE STRUCTURE KOMP.&lt;/P&gt;&lt;P&gt;data: flag type c,&lt;/P&gt;&lt;P&gt;        chk_flg type c.&lt;/P&gt;&lt;P&gt;DATA: END OF ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Fetch data in Itab.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perform value_check tables ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Form value_check tables p_itab1 structure komp.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Some processing&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Endform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The unicode error I am getting is ITAB and line type p_itab1 are incompatible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think it is due to 2 extra fields in ITAB. Kindly proposed a soloution without affecting the functionality of program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rajneesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2009 10:56:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-error/m-p/5592939#M1274898</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-15T10:56:37Z</dc:date>
    </item>
    <item>
      <title>Re: Unicode error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-error/m-p/5592940#M1274899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi &lt;/P&gt;&lt;P&gt;give it this way....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Form value_check tables p_itab1 like itab.
.....
endform.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Siddarth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2009 11:05:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-error/m-p/5592940#M1274899</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-15T11:05:40Z</dc:date>
    </item>
    <item>
      <title>Re: Unicode error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-error/m-p/5592941#M1274900</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;Either make the tables as global and use them directly instead of passing.&lt;/P&gt;&lt;P&gt;In Unicode the table structure should be same with reference type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Form value_check tables p_itab1 structure itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Endform.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2009 11:07:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-error/m-p/5592941#M1274900</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-15T11:07:09Z</dc:date>
    </item>
    <item>
      <title>Re: Unicode error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-error/m-p/5592942#M1274901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this &lt;/P&gt;&lt;P&gt;DATA : BEGIN OF itab OCCURS 0.&lt;/P&gt;&lt;P&gt;        INCLUDE STRUCTURE komp.&lt;/P&gt;&lt;P&gt;DATA: flag TYPE c,&lt;/P&gt;&lt;P&gt;chk_flg TYPE c.&lt;/P&gt;&lt;P&gt;DATA: END OF itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM value_check TABLES itab.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM value_check TABLES p_itab1 &lt;STRONG&gt;STRUCTURE itab.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.                    "value_check&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2009 11:11:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-error/m-p/5592942#M1274901</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-15T11:11:51Z</dc:date>
    </item>
    <item>
      <title>Re: Unicode error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-error/m-p/5592943#M1274902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Rajneesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES parameters are obsolete for both function module interfaces and FORM interfaces. If the itab data are not changed within the FORM routine then forward it as USING parameter otherwise as CHANGING parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
TYPES BEGIN OF ty_s_record.
  INCLUDE TYPE komp.
TYPES: flag type c.
TYPES: chk_flg type c.
TYPES: END OF ty_s_record.
TYPES: ty_t_itab   TYPE STANDARD TABLE OF ty_s_itab
                            WITH DEFAULT KEY.

DATA:
  lt_itab    TYPE ty_t_itab.


...
PERFORM values_check USING lt_itab.
PERFORM values_check CHANGING lt_itab.

FORM values_check USING VALUES(ut_itab)  TYPE ty_t_itab.
...
ENDFORM.


FORM values_check CHANGING ct_itab  TYPE ty_t_itab.
...
ENDFORM.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2009 11:25:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-error/m-p/5592943#M1274902</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2009-05-15T11:25:29Z</dc:date>
    </item>
    <item>
      <title>Re: Unicode error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-error/m-p/5592944#M1274903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Rajneesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you are right the 2 types are not compatible. Define the structure type and table type first and you will get rid of this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
types:
  begin of TY_STRUCT.
  include type OLD_STRUCT.
types:
  FLAG type c length 1,
  end of TY_STRUCT.
types:
  TY_TABLE type standard table of TY_STRUCT with default key.

data:
  MY_STRUCT type TY_STRUCT,
  MY_TABLE  type TY_TABLE.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whereever possible avoid forms. Their runtime behaviour is inferior compared to methods. Even without OO Design a program using static methods will be a benefit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;  Klaus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2009 19:47:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-error/m-p/5592944#M1274903</guid>
      <dc:creator>former_member183804</dc:creator>
      <dc:date>2009-05-18T19:47:10Z</dc:date>
    </item>
  </channel>
</rss>

