<?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: Join 4 tables...... in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/join-4-tables/m-p/2917258#M686843</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 suggest you to use FOR ALL ENTRIES  since you are joining 4 tables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          the following is sample code....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;              select data from vbak into it_vbak&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                 then .. select data from vbap into it_vbap &lt;/P&gt;&lt;P&gt;                       for all entries in it_vbak&lt;/P&gt;&lt;P&gt;                             where vbeln = it_vbak-vbeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;              then .. select data from knvv into it_knvv&lt;/P&gt;&lt;P&gt;                       for all entries in it_vbak&lt;/P&gt;&lt;P&gt;                            where kunnr = it_vbak.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            then ..  select data from ztable &lt;/P&gt;&lt;P&gt;                    for all entreis in it_vbak&lt;/P&gt;&lt;P&gt;                        where kunnr = it_vbak&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at last, loop these internal table into final  internal table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if useful&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;sree&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Oct 2007 06:00:09 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-09T06:00:09Z</dc:date>
    <item>
      <title>Join 4 tables......</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/join-4-tables/m-p/2917250#M686835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt; Good morning. May I share the problem correlated to inner join for 4 tables? One custom table, KNVV, VBAK and VBAP tables with me. I have the selection criteria for the following:&lt;/P&gt;&lt;P&gt;HKUNNR, KUNNR, VKORG, VTGEW, SPART, VKGRP, WERKS, MATNR and VBTYP.&lt;/P&gt;&lt;P&gt;I need to select VKGRP and KUNNR from KNVV and VBELN, POSNR from VBAP. &lt;/P&gt;&lt;P&gt;My custom table have fields for the following. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MANDT				Client&lt;/P&gt;&lt;P&gt;KUNNR			 	Customer&lt;/P&gt;&lt;P&gt;VKORG			 	Sales Organization&lt;/P&gt;&lt;P&gt;VTWEG			 	Distribution Channel&lt;/P&gt;&lt;P&gt;SPART		      		Division&lt;/P&gt;&lt;P&gt;HKUNNR	 	Customer number of the higher-level customer hierarchy&lt;/P&gt;&lt;P&gt;HITYP				Customer hierarchy type&lt;/P&gt;&lt;P&gt;HILVL				Customer Hierarchy Level (Customer or Buying Group)&lt;/P&gt;&lt;P&gt;KTOKD				Customer Account Group&lt;/P&gt;&lt;P&gt;It was wondered for me that my query is showing the error. Please suggest me how can I approach to join these 4 tables. Your help will be greatly appreciate. Waiting ofr your valuable suggestions.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&amp;#133;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Oct 2007 05:08:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/join-4-tables/m-p/2917250#M686835</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-09T05:08:22Z</dc:date>
    </item>
    <item>
      <title>Re: Join 4 tables......</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/join-4-tables/m-p/2917251#M686836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i thaink if u r joining  more than two tables means better to use for "all entries statements" it will give u high perforamances comparied to joining the tables where more than two table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward is usefull.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Oct 2007 05:17:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/join-4-tables/m-p/2917251#M686836</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-09T05:17:00Z</dc:date>
    </item>
    <item>
      <title>Re: Join 4 tables......</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/join-4-tables/m-p/2917252#M686837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Ravi what Nagraj says is correct it is not good programming practice to use joins on more than 3 tables this will increase data retreival time and program will run slow, better use FOR ALL ENTRIES. if your still want to go with join then pl make this clear. what fields u want to extract from which tabel your question is lil confusing.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Quavi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Oct 2007 05:21:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/join-4-tables/m-p/2917252#M686837</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-09T05:21:20Z</dc:date>
    </item>
    <item>
      <title>Re: Join 4 tables......</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/join-4-tables/m-p/2917253#M686838</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;you can join any number of tables but t he problem with joins is &lt;/P&gt;&lt;P&gt;if you join more than 2 tables then the performance reduces very much &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thats why SAP advises to use FOR ALL ENTRIES if there are more than 2 tables to join &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you use more than 2 tables in joins what happens is the database connectivity is there for that 4 tables up to the execution of the program so it degardes the performance so better to use FOR ALL ENTRIES &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;syntax :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select data from dbtable1 into table itab1 where condition &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if not itab[] is initial &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select data from dbtable2 into table itab2 FOR ALL ENTRIES in itab1 where condition &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if not itab2 is initial .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select data from dbtable3 into table itab3 FOR ALL ENTRIES in itab2 where condition &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif. &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;/P&gt;&lt;P&gt;like this you need to extract the data &lt;/P&gt;&lt;P&gt;with this you don't get any problem in feture regarding performance &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward fi usefull&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Oct 2007 05:30:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/join-4-tables/m-p/2917253#M686838</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-09T05:30:23Z</dc:date>
    </item>
    <item>
      <title>Re: Join 4 tables......</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/join-4-tables/m-p/2917254#M686839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; Thanks for your valuable suggestions. As per my previous query I was mentioned details of selection fields and selection screen fields and tables also. &lt;/P&gt;&lt;P&gt;Here please find my query which I was assigned to little bit suspect ion. It would be great for me if I will get your valuable suggestions up on this query&amp;#133;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;SELECT P~VBELN&lt;/P&gt;&lt;P&gt;	 P~POSNR&lt;/P&gt;&lt;P&gt;	 P~VBTYP&lt;/P&gt;&lt;P&gt;	 P~VKGRP&lt;/P&gt;&lt;P&gt;	 K~KUNNR&lt;/P&gt;&lt;P&gt;	 K~VKGRP&lt;/P&gt;&lt;P&gt; 	 INTO TABLE I_JOIN&lt;/P&gt;&lt;P&gt; 	 FROM KNVV AS K&lt;/P&gt;&lt;P&gt;	 INNER JOIN ZNCUSTHRCY AS A ON A&lt;SUB&gt;KUNNR = K&lt;/SUB&gt;KUNNR&lt;/P&gt;&lt;P&gt;	 INNER JOIN VBAP AS P ON P&lt;SUB&gt;SPART = K&lt;/SUB&gt;SPART&lt;/P&gt;&lt;P&gt; INNER JOIN VBAK AS V ON V&lt;SUB&gt;VBELN = P&lt;/SUB&gt;VBELN&lt;/P&gt;&lt;P&gt;			AND V&lt;SUB&gt;POSNR = P&lt;/SUB&gt;POSNR&lt;/P&gt;&lt;P&gt;			AND V&lt;SUB&gt;VTWEG = A&lt;/SUB&gt;VTWEG&lt;/P&gt;&lt;P&gt;WHERE A~HKUNNR IN S_HKUNNR&lt;/P&gt;&lt;P&gt;      AND A~KUNNR IN S_KUNNR&lt;/P&gt;&lt;P&gt;      AND B~VKORG = P-VKORG&lt;/P&gt;&lt;P&gt;      AND B~VTWEG IN S_VTWEG&lt;/P&gt;&lt;P&gt;      AND B~SPART IN S_SPART&lt;/P&gt;&lt;P&gt;      AND B~VKGRP IN S_VKGRP&lt;/P&gt;&lt;P&gt;      AND P~WERKS IN S_WERKS&lt;/P&gt;&lt;P&gt;      AND P~MATMR IN S_MATNR&lt;/P&gt;&lt;P&gt;      AND P~VBTYP IN (&amp;#145;C&amp;#146; , &amp;#145;J&amp;#146;).&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Oct 2007 05:37:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/join-4-tables/m-p/2917254#M686839</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-09T05:37:05Z</dc:date>
    </item>
    <item>
      <title>Re: Join 4 tables......</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/join-4-tables/m-p/2917255#M686840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am just sending just template of how to join, if we have more than 2 tables.&lt;/P&gt;&lt;P&gt;i used sflight,sbook,spfli tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if u see in the PERFORM, in that select stmt, we can add 'n' no of joins like that, how i did for 3 tables. normally for 4 tables also same. plz try it out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sample Prog:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  Z14049_ABAPQUERY1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; TABLES: SFLIGHT,SBOOK,SPFLI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; DATA: L_CITYFRM LIKE SPFLI-CITYFROM,&lt;/P&gt;&lt;P&gt;       L_CITYTO  LIKE SPFLI-CITYTO.&lt;/P&gt;&lt;P&gt; DATA: BEGIN OF ITAB1 OCCURS 0,&lt;/P&gt;&lt;P&gt;       CARRID LIKE SFLIGHT-CARRID,&lt;/P&gt;&lt;P&gt;       CONNID LIKE SFLIGHT-CONNID,&lt;/P&gt;&lt;P&gt;       FLDATE LIKE SFLIGHT-FLDATE,&lt;/P&gt;&lt;P&gt;       PRICE  LIKE SFLIGHT-PRICE,&lt;/P&gt;&lt;P&gt;       BOOKID LIKE SBOOK-BOOKID,&lt;/P&gt;&lt;P&gt;       CUSTOMID LIKE SBOOK-CUSTOMID,&lt;/P&gt;&lt;P&gt;       CITYFROM LIKE SPFLI-CITYFROM,&lt;/P&gt;&lt;P&gt;       CITYTO   LIKE SPFLI-CITYTO,&lt;/P&gt;&lt;P&gt;       END OF ITAB1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; SELECT-OPTIONS: S_CITYF FOR L_CITYFRM,&lt;/P&gt;&lt;P&gt;                 S_CITYTO  FOR L_CITYTO.&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM GET_DATA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT ITAB1.&lt;/P&gt;&lt;P&gt;WRITE:/  ITAB1-CARRID , ITAB1-CONNID, ITAB1-FLDATE,ITAB1-PRICE,ITAB1-BOOKID,ITAB1-CONNID,ITAB1-CITYFROM,ITAB1-CITYTO.&lt;/P&gt;&lt;P&gt;ENDLOOP.&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;*&amp;amp;      Form  GET_DATA&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 GET_DATA .&lt;/P&gt;&lt;P&gt; SELECT S&lt;SUB&gt;CARRID S&lt;/SUB&gt;CONNID S&lt;SUB&gt;FLDATE S&lt;/SUB&gt;PRICE B&lt;SUB&gt;BOOKID B&lt;/SUB&gt;CUSTOMID F&lt;SUB&gt;CITYFROM F&lt;/SUB&gt;CITYTO&lt;/P&gt;&lt;P&gt;       INTO TABLE ITAB1&lt;/P&gt;&lt;P&gt;       FROM ( ( SFLIGHT AS S&lt;/P&gt;&lt;P&gt;       INNER JOIN SBOOK AS B ON S&lt;SUB&gt;CARRID = B&lt;/SUB&gt;CARRID )&lt;/P&gt;&lt;P&gt;       INNER JOIN SPFLI AS F ON B&lt;SUB&gt;CARRID = F&lt;/SUB&gt;CARRID )&lt;/P&gt;&lt;P&gt;       WHERE F~CITYFROM IN S_CITYF&lt;/P&gt;&lt;P&gt;       AND   F~CITYTO   IN S_CITYTO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Pradeep&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Oct 2007 05:42:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/join-4-tables/m-p/2917255#M686840</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-09T05:42:45Z</dc:date>
    </item>
    <item>
      <title>Re: Join 4 tables......</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/join-4-tables/m-p/2917256#M686841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pradeep,&lt;/P&gt;&lt;P&gt; Thanks for your suggestion. What i am trying to claryfy with you guys is: is it correct which i mentioned the select statement in the above mail.&lt;/P&gt;&lt;P&gt;I am trying to get clarity correlated to that tables with all conditions. Please clarify me..thanks for your suggestions..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Oct 2007 05:51:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/join-4-tables/m-p/2917256#M686841</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-09T05:51:12Z</dc:date>
    </item>
    <item>
      <title>Re: Join 4 tables......</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/join-4-tables/m-p/2917257#M686842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi.&lt;/P&gt;&lt;P&gt;Your code is correct. carry on. However keep one thing in mind that it is good not to use joins on more than 3 tables.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Quavi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Oct 2007 05:56:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/join-4-tables/m-p/2917257#M686842</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-09T05:56:50Z</dc:date>
    </item>
    <item>
      <title>Re: Join 4 tables......</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/join-4-tables/m-p/2917258#M686843</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 suggest you to use FOR ALL ENTRIES  since you are joining 4 tables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          the following is sample code....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;              select data from vbak into it_vbak&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                 then .. select data from vbap into it_vbap &lt;/P&gt;&lt;P&gt;                       for all entries in it_vbak&lt;/P&gt;&lt;P&gt;                             where vbeln = it_vbak-vbeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;              then .. select data from knvv into it_knvv&lt;/P&gt;&lt;P&gt;                       for all entries in it_vbak&lt;/P&gt;&lt;P&gt;                            where kunnr = it_vbak.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            then ..  select data from ztable &lt;/P&gt;&lt;P&gt;                    for all entreis in it_vbak&lt;/P&gt;&lt;P&gt;                        where kunnr = it_vbak&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at last, loop these internal table into final  internal table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if useful&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;sree&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Oct 2007 06:00:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/join-4-tables/m-p/2917258#M686843</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-09T06:00:09Z</dc:date>
    </item>
    <item>
      <title>Re: Join 4 tables......</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/join-4-tables/m-p/2917259#M686844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sree,&lt;/P&gt;&lt;P&gt; Thanks for the immediate response. Appriciate for your all assistance. Here i am woundering my self becuase of my dought. Here i have 3 internal tables with me with data.&lt;/P&gt;&lt;P&gt;1) I_VBAK (header data)&lt;/P&gt;&lt;P&gt;2) I_VBAP (For Order quantity)&lt;/P&gt;&lt;P&gt;3) I_VBEP (For Confirmed quantity)&lt;/P&gt;&lt;P&gt;Now i need to populate final internal table. So for which table i need maintain looping. Because for one record in I_VBAP there may or may not more than one record in I_VBEP. So for which table i need maintain looping. Please clarify me in this situation. Your help will be appriciated..Waiting for reply&lt;/P&gt;&lt;P&gt;&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;ravi...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Oct 2007 12:10:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/join-4-tables/m-p/2917259#M686844</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-10T12:10:46Z</dc:date>
    </item>
  </channel>
</rss>

