<?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: where condition solution in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/where-condition-solution/m-p/3194122#M761076</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;You can not compare two fields with diff length,&lt;/P&gt;&lt;P&gt;Declare one of the field with the same length as that of the other and then compare.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Else you can use offset like :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Field1+0(30) = field2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just give a try....should be helpful to you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One more thing : When ever you use for All Entries Clause &lt;STRONG&gt;Select All the Primary Key fields&lt;/STRONG&gt; else you will not get complete data. As in this case if there are two values for same TABNAME, AS4LOCAL but diff AS4VERS then you will get only one.&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;Lalit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Dec 2007 10:27:55 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-12-26T10:27:55Z</dc:date>
    <item>
      <title>where condition solution</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/where-condition-solution/m-p/3194121#M761075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SELECT tabname&lt;/P&gt;&lt;P&gt;             as4local&lt;/P&gt;&lt;P&gt;             FROM dd02l&lt;/P&gt;&lt;P&gt;             INTO TABLE i_table_delete&lt;/P&gt;&lt;P&gt;             FOR ALL ENTRIES IN i_fetch_data_temp&lt;/P&gt;&lt;P&gt;             WHERE tabname = i_fetch_data_temp-obj_name.&lt;/P&gt;&lt;P&gt;                       char 30(DD02L)        char 40( table TADIR)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the above where condition the length is not matching but i need to compare the two fields is there any solution for this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Dec 2007 10:22:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/where-condition-solution/m-p/3194121#M761075</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-26T10:22:56Z</dc:date>
    </item>
    <item>
      <title>Re: where condition solution</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/where-condition-solution/m-p/3194122#M761076</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;You can not compare two fields with diff length,&lt;/P&gt;&lt;P&gt;Declare one of the field with the same length as that of the other and then compare.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Else you can use offset like :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Field1+0(30) = field2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just give a try....should be helpful to you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One more thing : When ever you use for All Entries Clause &lt;STRONG&gt;Select All the Primary Key fields&lt;/STRONG&gt; else you will not get complete data. As in this case if there are two values for same TABNAME, AS4LOCAL but diff AS4VERS then you will get only one.&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;Lalit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Dec 2007 10:27:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/where-condition-solution/m-p/3194122#M761076</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-26T10:27:55Z</dc:date>
    </item>
    <item>
      <title>Re: where condition solution</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/where-condition-solution/m-p/3194123#M761077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rocky&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Define one more table having the same structure exept one field obj_name, change field length to 30 char.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before writing query transfer all data of i_table_delete into new table by MOVE-CORRESPONDING syntax and write down your query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Nimesh S. Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Dec 2007 10:31:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/where-condition-solution/m-p/3194123#M761077</guid>
      <dc:creator>Nimesh_S_Patel</dc:creator>
      <dc:date>2007-12-26T10:31:21Z</dc:date>
    </item>
    <item>
      <title>Re: where condition solution</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/where-condition-solution/m-p/3194124#M761078</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;&lt;/P&gt;&lt;P&gt;  While declaring the structure of internal table declare both the fields as same data element.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Dec 2007 10:35:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/where-condition-solution/m-p/3194124#M761078</guid>
      <dc:creator>former_member386202</dc:creator>
      <dc:date>2007-12-26T10:35:59Z</dc:date>
    </item>
    <item>
      <title>Re: where condition solution</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/where-condition-solution/m-p/3194125#M761079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the data is moving into the new internal table properly but it is causing dump in select statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Dec 2007 11:05:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/where-condition-solution/m-p/3194125#M761079</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-26T11:05:56Z</dc:date>
    </item>
  </channel>
</rss>

