<?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 problem in delete statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-problem-in-delete-statement/m-p/2207956#M472603</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;        Sorry giving points delayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Thank u for ur necessary contributions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;sanjay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 May 2007 03:39:36 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-10T03:39:36Z</dc:date>
    <item>
      <title>Unicode problem in delete statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-problem-in-delete-statement/m-p/2207948#M472595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;           I have come thru an upgrade error, i m providing details and the error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  There is one Table : zxyz with field "zzabc(type numc length 4)" .&lt;/P&gt;&lt;P&gt;   We have one internal table it_tab1 which is having a field "zzabc" which is like "zxyz-zzabc".&lt;/P&gt;&lt;P&gt;So when i have written a statement as&lt;/P&gt;&lt;P&gt;delete it_tab1 from i_index_p where zzabc = zxyz-zzabc.&lt;/P&gt;&lt;P&gt;Its giving error "delete statement may have unicode related error".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Frnds please provide if any solution available to rectify this error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&amp;amp;regards,&lt;/P&gt;&lt;P&gt;sanjay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2007 12:11:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-problem-in-delete-statement/m-p/2207948#M472595</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-09T12:11:04Z</dc:date>
    </item>
    <item>
      <title>Re: Unicode problem in delete statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-problem-in-delete-statement/m-p/2207949#M472596</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;Press F1, when the error message appears to detail message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You wanted to delete from a given record (FROM index) with a WHERE condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error will surely not appear when you remove the FROM index condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Personally I prefer better the exact erasing with the DELETE ... INDEX statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Tamá&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2007 12:18:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-problem-in-delete-statement/m-p/2207949#M472596</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-09T12:18:10Z</dc:date>
    </item>
    <item>
      <title>Re: Unicode problem in delete statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-problem-in-delete-statement/m-p/2207950#M472597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sanjay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly let us know which version you are using e.g 6.10 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Restrictions in Unicode Programs:&lt;/P&gt;&lt;P&gt;SAP have tried to keep the number of restrictions needed for the Unicode environment as low as possible, to minimize the amount of conversion work. However, in some cases, this has led to fairly complex rules - for example, those governing assignments and comparisons between incompatible structures or between structures and single fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per ur requirement:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Database Operations:&lt;/P&gt;&lt;P&gt;In non-Unicode programs, the following statements transfer the data to the field wa or the table line itab according to the structure of the table work area dbtab without considering the structure of the field or line. Only the length and the alignment are checked. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * FROM dbtab ... INTO wa ... &lt;/P&gt;&lt;P&gt;SELECT * FROM dbtab ... INTO TABLE itab  ... &lt;/P&gt;&lt;P&gt;SELECT * FROM dbtab ... APPENDING TABLE itab ... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FETCH NEXT CURSOR c ... INTO wa. &lt;/P&gt;&lt;P&gt;FETCH NEXT CURSOR c ... INTO TABLE itab. &lt;/P&gt;&lt;P&gt;FETCH NEXT CURSOR c ... APPENDING TABLE itab. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INSERT INTO dbtab ... FROM wa. &lt;/P&gt;&lt;P&gt;INSERT dbtab ... FROM wa. &lt;/P&gt;&lt;P&gt;INSERT dbtab ... FROM TABLE itab. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UPDATE dbtab ... FROM wa. &lt;/P&gt;&lt;P&gt;UPDATE dbtab ... FROM TABLE itab. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODIFY dbtab ... FROM wa. &lt;/P&gt;&lt;P&gt;MODIFY dbtab ... FROM TABLE itab. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DELETE dbtab FROM wa. &lt;/P&gt;&lt;P&gt;DELETE dbtab FROM TABLE itab. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Unicode programs the following rules apply: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the work area or the line of the internal table is a structure, the system also checks whether the fragment views of the work area and the database table are identical with regard to the length of the database table. &lt;/P&gt;&lt;P&gt;If the work area is a single field, the field must be character-type and the database table purely character-type. These requirements are valid for all statements listed above. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If Helpful reward with some points.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pulokesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2007 12:27:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-problem-in-delete-statement/m-p/2207950#M472597</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-09T12:27:20Z</dc:date>
    </item>
    <item>
      <title>Re: Unicode problem in delete statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-problem-in-delete-statement/m-p/2207951#M472598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Karmakar,&lt;/P&gt;&lt;P&gt;                       I am using 6.10 version plzz get back to me if u hav any solutions.&lt;/P&gt;&lt;P&gt; thanks&amp;amp;regards,&lt;/P&gt;&lt;P&gt;  sanjay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2007 12:37:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-problem-in-delete-statement/m-p/2207951#M472598</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-09T12:37:40Z</dc:date>
    </item>
    <item>
      <title>Re: Unicode problem in delete statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-problem-in-delete-statement/m-p/2207952#M472599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sanjay,&lt;/P&gt;&lt;P&gt;              Try to transform the numc field of length 4 to a character field of length 4 by using MOVE statement or by direct assignment to a variable using "=", and then execute your program. If Helpful reward with points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pulokesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2007 13:01:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-problem-in-delete-statement/m-p/2207952#M472599</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-09T13:01:09Z</dc:date>
    </item>
    <item>
      <title>Re: Unicode problem in delete statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-problem-in-delete-statement/m-p/2207953#M472600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any solutions frnds.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&amp;amp;regards,&lt;/P&gt;&lt;P&gt;sanjay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2007 13:01:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-problem-in-delete-statement/m-p/2207953#M472600</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-09T13:01:35Z</dc:date>
    </item>
    <item>
      <title>Re: Unicode problem in delete statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-problem-in-delete-statement/m-p/2207954#M472601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;does it_tab1 and i_index_p have the same structure??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please check that before u carry on further as Database Operations between Incompatible Structures isnt possible in Unicode Systems.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Database Operations with workareas: 	&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * FROM dbtab INTO wa ... &lt;/P&gt;&lt;P&gt;SELECT * FROM dbtab INTO TABLE wa ...&lt;/P&gt;&lt;P&gt;UPDATA dbtab FROM wa ...&lt;/P&gt;&lt;P&gt;DELETE dbtab FROM wa ...&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Here workareas need to be compatible&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2007 13:09:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-problem-in-delete-statement/m-p/2207954#M472601</guid>
      <dc:creator>rahulkavuri</dc:creator>
      <dc:date>2007-05-09T13:09:57Z</dc:date>
    </item>
    <item>
      <title>Re: Unicode problem in delete statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-problem-in-delete-statement/m-p/2207955#M472602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Sanjay,&lt;/P&gt;&lt;P&gt;                 In your code that u have posted here that at the "Delete" statement level interpreter is encountering a "numc" field in line of your internal table. But as per constraints provided by SAP that "In Unicode programs the following rules apply: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a.&amp;gt; If the work area or the line of the internal table is a structure, the system also checks whether the fragment views of the work area and the database table are identical with regard to the length of the database table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b.&amp;gt; If the work area is a single field, the field must be character-type and the database table purely character-type. These requirements are valid for all statements listed above. " &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thats why before triggering the "DELETE" statement you should modify the all contents of  ITAB1 to char type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help u to solve your problem.&lt;/P&gt;&lt;P&gt;Reward with points if it is helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pulokesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2007 13:15:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-problem-in-delete-statement/m-p/2207955#M472602</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-09T13:15:15Z</dc:date>
    </item>
    <item>
      <title>Re: Unicode problem in delete statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-problem-in-delete-statement/m-p/2207956#M472603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;        Sorry giving points delayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Thank u for ur necessary contributions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;sanjay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2007 03:39:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-problem-in-delete-statement/m-p/2207956#M472603</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-10T03:39:36Z</dc:date>
    </item>
  </channel>
</rss>

