<?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 Problem due to different Field types in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-due-to-different-field-types/m-p/3805589#M915356</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; &lt;/P&gt;&lt;P&gt;I have to join AFRU table with a Z table based on two fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) RUECK&lt;/P&gt;&lt;P&gt;2) RMZHL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem with joining these two fields is in AFRU table both these field's type is Numeric but in Z table both are Character.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Due to that the data is not picked even if both fields have the same value.&lt;/P&gt;&lt;P&gt;In AFRU table both fields have values 000000 and then the no.How I can write the select query so that they can match and give a proper output?&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;&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 May 2008 08:48:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-22T08:48:49Z</dc:date>
    <item>
      <title>Problem due to different Field types</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-due-to-different-field-types/m-p/3805589#M915356</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; &lt;/P&gt;&lt;P&gt;I have to join AFRU table with a Z table based on two fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) RUECK&lt;/P&gt;&lt;P&gt;2) RMZHL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem with joining these two fields is in AFRU table both these field's type is Numeric but in Z table both are Character.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Due to that the data is not picked even if both fields have the same value.&lt;/P&gt;&lt;P&gt;In AFRU table both fields have values 000000 and then the no.How I can write the select query so that they can match and give a proper output?&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;&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2008 08:48:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-due-to-different-field-types/m-p/3805589#M915356</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-22T08:48:49Z</dc:date>
    </item>
    <item>
      <title>Re: Problem due to different Field types</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-due-to-different-field-types/m-p/3805590#M915357</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;The join will not work unless you change the data type in the ztable.&lt;/P&gt;&lt;P&gt;Other way is to do independent selects  without using the join.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shruthi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2008 08:51:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-due-to-different-field-types/m-p/3805590#M915357</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-22T08:51:36Z</dc:date>
    </item>
    <item>
      <title>Re: Problem due to different Field types</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-due-to-different-field-types/m-p/3805591#M915358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;   You can fetch the data without using join statements as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select f1 f1 from table1 into itab1&lt;/P&gt;&lt;P&gt;where.........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if itab1 is not initial.&lt;/P&gt;&lt;P&gt;select f1 f2 from table 2 into itab2&lt;/P&gt;&lt;P&gt;for all entries in itab1&lt;/P&gt;&lt;P&gt;where f1 = itab1-f1&lt;/P&gt;&lt;P&gt;and f2 = itab1-f2.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2008 08:55:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-due-to-different-field-types/m-p/3805591#M915358</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-22T08:55:11Z</dc:date>
    </item>
    <item>
      <title>Re: Problem due to different Field types</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-due-to-different-field-types/m-p/3805592#M915359</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;first create a database view by directly writing the join conditions in se11&lt;/P&gt;&lt;P&gt;(donot use foreign key relation ships button),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then use this database view in your program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use your select query normally.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it will fetch records having the same value of fields in join conditions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope i am clear&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if helpful&lt;/P&gt;&lt;P&gt;prasanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2008 08:55:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-due-to-different-field-types/m-p/3805592#M915359</guid>
      <dc:creator>prasanth_kasturi</dc:creator>
      <dc:date>2008-05-22T08:55:35Z</dc:date>
    </item>
    <item>
      <title>Re: Problem due to different Field types</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-due-to-different-field-types/m-p/3805593#M915360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the two table fields should have same domain&lt;/P&gt;&lt;P&gt;other wise u can't fetch.&lt;/P&gt;&lt;P&gt;better to change ztable fields as like that standard table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it helps..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2008 08:59:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-due-to-different-field-types/m-p/3805593#M915360</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-22T08:59:32Z</dc:date>
    </item>
  </channel>
</rss>

