<?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: selecting from two table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selecting-from-two-table/m-p/9288835#M1724922</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Huda,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The select query looks fine. Since it's a ZTable, please check if the data exists in corresponding tables for your search criteria given in the query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That might be an issue. &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_macro_emoticon jive_emote" src="https://community.sap.com/1214/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Vivek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Feb 2013 17:22:12 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-02-21T17:22:12Z</dc:date>
    <item>
      <title>selecting from two table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selecting-from-two-table/m-p/9288832#M1724919</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'm now work in a table that compine data from tow table .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;table display employee Id, employee name, a_time, l_time, and delay.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;ztable1&lt;/SPAN&gt; contain&amp;nbsp; employee Id, date, a_time, l_time, and delay.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #339966;"&gt;ztable2&lt;/SPAN&gt; contain&amp;nbsp; employee Id, employee name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="mso-bidi-language: AR-SA; mso-fareast-language: EN-US; : ; line-height: 107%; Courier New&amp;amp;quot: ; color: gray; font-size: 10pt; background: white; mso-ansi-language: EN-US; mso-fareast-theme-font: minor-latin; font-family: &amp;amp;quot; mso-fareast-font-family: Calibri;"&gt;*select&lt;/EM&gt;&lt;SPAN style="background: white; color: black; line-height: 107%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 10pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;&lt;BR /&gt;&lt;EM style="mso-bidi-language: AR-SA; mso-fareast-language: EN-US; : ; line-height: 107%; Courier New&amp;amp;quot: ; color: gray; font-size: 10pt; background: white; mso-ansi-language: EN-US; mso-fareast-theme-font: minor-latin; font-family: &amp;amp;quot; mso-fareast-font-family: Calibri;"&gt;*&lt;/EM&gt;&lt;SPAN style="background: white; color: black; line-height: 107%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 10pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;&lt;BR /&gt;&lt;EM style="mso-bidi-language: AR-SA; mso-fareast-language: EN-US; : ; line-height: 107%; Courier New&amp;amp;quot: ; color: gray; font-size: 10pt; background: white; mso-ansi-language: EN-US; mso-fareast-theme-font: minor-latin; font-family: &amp;amp;quot; mso-fareast-font-family: Calibri;"&gt;*&amp;nbsp; A~EMPLOYEE_ID&lt;/EM&gt;&lt;SPAN style="background: white; color: black; line-height: 107%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 10pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;&lt;BR /&gt;&lt;EM style="mso-bidi-language: AR-SA; mso-fareast-language: EN-US; : ; line-height: 107%; Courier New&amp;amp;quot: ; color: gray; font-size: 10pt; background: white; mso-ansi-language: EN-US; mso-fareast-theme-font: minor-latin; font-family: &amp;amp;quot; mso-fareast-font-family: Calibri;"&gt;*&amp;nbsp; B~EMP_NAME&lt;/EM&gt;&lt;SPAN style="background: white; color: black; line-height: 107%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 10pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;&lt;BR /&gt;&lt;EM style="mso-bidi-language: AR-SA; mso-fareast-language: EN-US; : ; line-height: 107%; Courier New&amp;amp;quot: ; color: gray; font-size: 10pt; background: white; mso-ansi-language: EN-US; mso-fareast-theme-font: minor-latin; font-family: &amp;amp;quot; mso-fareast-font-family: Calibri;"&gt;*&amp;nbsp; A~A_TIME&lt;/EM&gt;&lt;SPAN style="background: white; color: black; line-height: 107%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 10pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;&lt;BR /&gt;&lt;EM style="mso-bidi-language: AR-SA; mso-fareast-language: EN-US; : ; line-height: 107%; Courier New&amp;amp;quot: ; color: gray; font-size: 10pt; background: white; mso-ansi-language: EN-US; mso-fareast-theme-font: minor-latin; font-family: &amp;amp;quot; mso-fareast-font-family: Calibri;"&gt;*&amp;nbsp; A~L_TIME&lt;/EM&gt;&lt;SPAN style="background: white; color: black; line-height: 107%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 10pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;&lt;BR /&gt;&lt;EM style="mso-bidi-language: AR-SA; mso-fareast-language: EN-US; : ; line-height: 107%; Courier New&amp;amp;quot: ; color: gray; font-size: 10pt; background: white; mso-ansi-language: EN-US; mso-fareast-theme-font: minor-latin; font-family: &amp;amp;quot; mso-fareast-font-family: Calibri;"&gt;*&amp;nbsp; A~DELAY into CORRESPONDING FIELDS OF TABLE &lt;SPAN style="color: #0000ff;"&gt;internaltable&lt;/SPAN&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="mso-bidi-language: AR-SA; mso-fareast-language: EN-US; : ; line-height: 107%; Courier New&amp;amp;quot: ; color: black; font-size: 10pt; background: white; mso-ansi-language: EN-US; mso-fareast-theme-font: minor-latin; font-family: &amp;amp;quot; mso-fareast-font-family: Calibri;"&gt;&lt;EM style="mso-bidi-language: AR-SA; mso-fareast-language: EN-US; : ; line-height: 107%; Courier New&amp;amp;quot: ; color: gray; font-size: 10pt; background: white; mso-ansi-language: EN-US; mso-fareast-theme-font: minor-latin; font-family: &amp;amp;quot; mso-fareast-font-family: Calibri;"&gt;*FROM &lt;SPAN style="color: #ff0000;"&gt;ztable1&lt;/SPAN&gt; as A&amp;nbsp; INNER JOIN&amp;nbsp; &lt;SPAN style="color: #99cc00;"&gt;ztable2&lt;/SPAN&gt; as B on A~EMPLOYEE_ID = B~EMP_ID and A~DATE1 = spisified_date.&lt;/EM&gt;&lt;SPAN style="background: white; color: black; line-height: 107%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 10pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;&lt;BR /&gt;&lt;BR /&gt;No result found, and there is no errors in the code.Could any one help???? I think there is error in the select statment.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="mso-bidi-language: AR-SA; mso-fareast-language: EN-US; : ; line-height: 107%; Courier New&amp;amp;quot: ; color: black; font-size: 10pt; background: white; mso-ansi-language: EN-US; mso-fareast-theme-font: minor-latin; font-family: &amp;amp;quot; mso-fareast-font-family: Calibri;"&gt;thanks for all.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 16:13:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selecting-from-two-table/m-p/9288832#M1724919</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-02-21T16:13:49Z</dc:date>
    </item>
    <item>
      <title>Re: selecting from two table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selecting-from-two-table/m-p/9288833#M1724920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Huda&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please insert in the code the WHERE sentence after the ON sentence,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DL&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 16:18:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selecting-from-two-table/m-p/9288833#M1724920</guid>
      <dc:creator>former_member361112</dc:creator>
      <dc:date>2013-02-21T16:18:58Z</dc:date>
    </item>
    <item>
      <title>Re: selecting from two table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selecting-from-two-table/m-p/9288834#M1724921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="mso-bidi-language: AR-SA; mso-fareast-language: EN-US; line-height: 107%; color: gray; font-size: 10pt; background: white; mso-ansi-language: EN-US; mso-fareast-theme-font: minor-latin; font-family: &amp;amp;quot; mso-fareast-font-family;"&gt;&lt;EM&gt;*Select&amp;nbsp; A~EMPLOYEE_ID&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; line-height: 107%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 10pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-language: AR-SA; mso-fareast-language: EN-US; line-height: 107%; color: gray; font-size: 10pt; background: white; mso-ansi-language: EN-US; mso-fareast-theme-font: minor-latin; font-family: &amp;amp;quot; mso-fareast-font-family;"&gt;&lt;EM&gt;*&amp;nbsp; B~EMP_NAME&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; line-height: 107%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 10pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-language: AR-SA; mso-fareast-language: EN-US; line-height: 107%; color: gray; font-size: 10pt; background: white; mso-ansi-language: EN-US; mso-fareast-theme-font: minor-latin; font-family: &amp;amp;quot; mso-fareast-font-family;"&gt;&lt;EM&gt;*&amp;nbsp; A~A_TIME&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; line-height: 107%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 10pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-language: AR-SA; mso-fareast-language: EN-US; line-height: 107%; color: gray; font-size: 10pt; background: white; mso-ansi-language: EN-US; mso-fareast-theme-font: minor-latin; font-family: &amp;amp;quot; mso-fareast-font-family;"&gt;&lt;EM&gt;*&amp;nbsp; A~L_TIME&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; line-height: 107%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 10pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-language: AR-SA; mso-fareast-language: EN-US; line-height: 107%; color: gray; font-size: 10pt; background: white; mso-ansi-language: EN-US; mso-fareast-theme-font: minor-latin; font-family: &amp;amp;quot; mso-fareast-font-family;"&gt;&lt;EM&gt;*&amp;nbsp; A~DELAY into TABLE lt_attendance_node&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; line-height: 107%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 10pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-language: AR-SA; mso-fareast-language: EN-US; line-height: 107%; color: gray; font-size: 10pt; background: white; mso-ansi-language: EN-US; mso-fareast-theme-font: minor-latin; font-family: &amp;amp;quot; mso-fareast-font-family;"&gt;&lt;EM&gt;*from ztable1 as A&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; line-height: 107%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 10pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-language: AR-SA; mso-fareast-language: EN-US; line-height: 107%; color: gray; font-size: 10pt; background: white; mso-ansi-language: EN-US; mso-fareast-theme-font: minor-latin; font-family: &amp;amp;quot; mso-fareast-font-family;"&gt;&lt;EM&gt;*inner join&amp;nbsp; ztable2 as B on EMPLOYEE_ID = B~EMP_ID where A~DATE1 = spisified_date.&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background: white; color: #000000; line-height: 107%; font-size: 10pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;still didn't work ,, Iwant to select all table1 ,and the name of employee from another table &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 16:28:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selecting-from-two-table/m-p/9288834#M1724921</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-02-21T16:28:25Z</dc:date>
    </item>
    <item>
      <title>Re: selecting from two table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selecting-from-two-table/m-p/9288835#M1724922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Huda,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The select query looks fine. Since it's a ZTable, please check if the data exists in corresponding tables for your search criteria given in the query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That might be an issue. &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_macro_emoticon jive_emote" src="https://community.sap.com/1214/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Vivek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 17:22:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selecting-from-two-table/m-p/9288835#M1724922</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-02-21T17:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: selecting from two table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selecting-from-two-table/m-p/9288836#M1724923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN class="j-status-levels"&gt;&lt;IMG alt="Not Active Contributor" class="jiveImage" src="https://community.sap.com/1214/plugins/points/resources/images/not-active-contributor.gif" title="Not Active Contributor" /&gt; &lt;/SPAN&gt;&lt;SPAN class="j-post-author "&gt;&lt;STRONG&gt;&lt;A _jive_internal="true" class="jiveTT-hover-user jive-username-link" href="https://answers.sap.com/people/sapvivekbatta" id="jive-53621916237007487869669"&gt;Vivek Batta&lt;/A&gt;,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-post-author "&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-post-author "&gt;&lt;STRONG&gt;thank you for your reply.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-post-author "&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-post-author "&gt;&lt;STRONG&gt;I try to do the search in table1 where the date = spisified_date. &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-post-author "&gt;&lt;STRONG&gt;and it works all what I want from table2 is to disply the employee name. But the select which contain table2 didn't work. employee ID in both tables.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-post-author "&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-post-author "&gt;&lt;STRONG&gt;could you help please???&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 17:45:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selecting-from-two-table/m-p/9288836#M1724923</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-02-21T17:45:25Z</dc:date>
    </item>
    <item>
      <title>Re: selecting from two table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selecting-from-two-table/m-p/9288837#M1724924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Huda, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in your 1st post, u mentioned the structure of your Z tables as below :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;ztable1&lt;/SPAN&gt; contain&amp;nbsp; &lt;STRONG&gt;employee Id&lt;/STRONG&gt;, date, a_time, l_time, and delay.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #339966;"&gt;ztable2&lt;/SPAN&gt; contain&amp;nbsp; &lt;STRONG&gt;employee Id&lt;/STRONG&gt;, employee name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but in your query , it's written, B~EMP_ID&amp;nbsp; ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: gray; font-size: 10pt; background: white; font-family: &amp;amp;amp;"&gt;select&lt;/EM&gt;&lt;SPAN style="background: white; color: black; font-family: &amp;amp;font-size;"&gt;&lt;BR /&gt;&lt;EM style="color: gray; font-size: 10pt; background: white; font-family: &amp;amp;amp;"&gt;*&lt;/EM&gt;&lt;SPAN style="background: white; color: black; font-family: &amp;amp;font-size;"&gt;&lt;BR /&gt;&lt;EM style="color: gray; font-size: 10pt; background: white; font-family: &amp;amp;amp;"&gt;*&amp;nbsp; A~EMPLOYEE_ID&lt;/EM&gt;&lt;SPAN style="background: white; color: black; font-family: &amp;amp;font-size;"&gt;&lt;BR /&gt;&lt;EM style="color: gray; font-size: 10pt; background: white; font-family: &amp;amp;amp;"&gt;*&amp;nbsp; B~EMP_NAME&lt;/EM&gt;&lt;SPAN style="background: white; color: black; font-family: &amp;amp;font-size;"&gt;&lt;BR /&gt;&lt;EM style="color: gray; font-size: 10pt; background: white; font-family: &amp;amp;amp;"&gt;*&amp;nbsp; A~A_TIME&lt;/EM&gt;&lt;SPAN style="background: white; color: black; font-family: &amp;amp;font-size;"&gt;&lt;BR /&gt;&lt;EM style="color: gray; font-size: 10pt; background: white; font-family: &amp;amp;amp;"&gt;*&amp;nbsp; A~L_TIME&lt;/EM&gt;&lt;SPAN style="background: white; color: black; font-family: &amp;amp;font-size;"&gt;&lt;BR /&gt;&lt;EM style="color: gray; font-size: 10pt; background: white; font-family: &amp;amp;amp;"&gt;*&amp;nbsp; A~DELAY into CORRESPONDING FIELDS OF TABLE &lt;SPAN style="color: #0000ff;"&gt;internaltable&lt;/SPAN&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 10pt; background: white; font-family: &amp;amp;amp;"&gt;&lt;EM style="color: gray; font-size: 10pt; background: white; font-family: &amp;amp;amp;"&gt;*FROM &lt;SPAN style="color: #ff0000;"&gt;ztable1&lt;/SPAN&gt; as A&amp;nbsp; INNER JOIN&amp;nbsp; &lt;SPAN style="color: #99cc00;"&gt;ztable2&lt;/SPAN&gt; as B on &lt;STRONG&gt;A~EMPLOYEE_ID = B~EMPLOYEE_ID&lt;/STRONG&gt; and A~DATE1 = spisified_date.&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should work &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_macro_emoticon jive_emote" src="https://community.sap.com/1214/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Vivek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 18:00:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selecting-from-two-table/m-p/9288837#M1724924</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-02-21T18:00:06Z</dc:date>
    </item>
    <item>
      <title>Re: selecting from two table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selecting-from-two-table/m-p/9288838#M1724925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello Huda,&lt;/P&gt;&lt;P&gt;table1 and table 2 both has a field employee_id....check both domain and data type and no. of characters in both tables..... any foreign key relationship has already been created between those table???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sabyasachi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 18:15:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selecting-from-two-table/m-p/9288838#M1724925</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-02-21T18:15:59Z</dc:date>
    </item>
    <item>
      <title>Re: selecting from two table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selecting-from-two-table/m-p/9288839#M1724926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;SELECT A~EMPLOYEE_ID B~EMP_NAME A~A_TIME A~L_TIME A~DELAY &lt;/P&gt;&lt;P&gt;&amp;nbsp; INTO itab as A&lt;/P&gt;&lt;P&gt;&amp;nbsp; INNER JOIN ztable2 as B &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; on&amp;nbsp; A~EMPLOYEE_ID = B~EMP_ID &lt;/P&gt;&lt;P&gt;&amp;nbsp; WHERE &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A~DATE1 = spisified_date.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 18:19:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selecting-from-two-table/m-p/9288839#M1724926</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2013-02-21T18:19:22Z</dc:date>
    </item>
    <item>
      <title>Re: selecting from two table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selecting-from-two-table/m-p/9288840#M1724927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Huda, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i think you have to create a foreign key relationship between both tables based on employee id......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope your problem will be solved...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sabyasachi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 18:23:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selecting-from-two-table/m-p/9288840#M1724927</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-02-21T18:23:10Z</dc:date>
    </item>
    <item>
      <title>Re: selecting from two table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selecting-from-two-table/m-p/9288841#M1724928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ztable1:&lt;/P&gt;&lt;P&gt;CLIENT type&amp;nbsp; MANDT&lt;/P&gt;&lt;P&gt;ATT_ID type Z_ID&lt;/P&gt;&lt;P&gt;EMPLOYEE_ID&amp;nbsp; typeZEMPLOYEE_ID&lt;/P&gt;&lt;P&gt;DATE1 type&amp;nbsp; ZDATE&lt;/P&gt;&lt;P&gt;A_TIME&amp;nbsp; type ZATIME&lt;/P&gt;&lt;P&gt;L_TIME&amp;nbsp; type ZLTIME&lt;/P&gt;&lt;P&gt;PERM_ type TIME ZPERM_TIME&lt;/P&gt;&lt;P&gt;DELAY type&amp;nbsp; ZDELAY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ztable2:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLIENT&amp;nbsp; type MANDT&lt;/P&gt;&lt;P&gt;EMP_ID type&amp;nbsp; Z_ID&lt;/P&gt;&lt;P&gt;EMP_NAME type&amp;nbsp; Z_NAME&lt;/P&gt;&lt;P&gt;TIM_ID&amp;nbsp; type Z_ID&lt;/P&gt;&lt;P&gt;PASSWORD&amp;nbsp; type ZPASS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate your cooperation &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 18:24:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selecting-from-two-table/m-p/9288841#M1724928</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-02-21T18:24:50Z</dc:date>
    </item>
    <item>
      <title>Re: selecting from two table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selecting-from-two-table/m-p/9288842#M1724929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I thenk this is will help ,,I will make forign key &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 18:25:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selecting-from-two-table/m-p/9288842#M1724929</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-02-21T18:25:48Z</dc:date>
    </item>
    <item>
      <title>Re: selecting from two table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selecting-from-two-table/m-p/9288843#M1724930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in Ztable1 :&lt;/P&gt;&lt;P&gt;EMPLOYEE_ID&amp;nbsp; typeZEMPLOYEE_ID&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in your ztable2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EMP_ID type&amp;nbsp; Z_ID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check that both domain are same or not??.....to create a foreign key relationship both domain must be same.. create a foreign key relationship......then execute your code......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it will be helpfull.......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sabyasachi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 18:32:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selecting-from-two-table/m-p/9288843#M1724930</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-02-21T18:32:52Z</dc:date>
    </item>
    <item>
      <title>Re: selecting from two table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selecting-from-two-table/m-p/9288844#M1724931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I change the data type in the table after deleting all data ......and it work now .....thank you very much for your help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 19:09:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selecting-from-two-table/m-p/9288844#M1724931</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-02-21T19:09:39Z</dc:date>
    </item>
    <item>
      <title>Re: selecting from two table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selecting-from-two-table/m-p/9288845#M1724932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Huda..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;whenever you are writing a select statement to get the data from database table into the internal table&lt;/P&gt;&lt;P&gt;dont use into corresponding fields of table i-tab...it is a big performance issue..instead you use the same structure what you had declared ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2013 04:19:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selecting-from-two-table/m-p/9288845#M1724932</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-02-22T04:19:03Z</dc:date>
    </item>
  </channel>
</rss>

