<?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: How to join internal table? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-join-internal-table/m-p/4160981#M994800</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you, this is useful for me, but i'm still can't implement this with my code.&lt;/P&gt;&lt;P&gt;Any body can make me the example?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Muhammad Ridwan Nawawi on Jul 21, 2008 11:32 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Jul 2008 09:19:58 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-21T09:19:58Z</dc:date>
    <item>
      <title>How to join internal table?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-join-internal-table/m-p/4160976#M994795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i don't know how to join 2 or more internal table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT&lt;/P&gt;&lt;P&gt;    c~bukrs&lt;/P&gt;&lt;P&gt;    c~waers&lt;/P&gt;&lt;P&gt;    v~dmbtr&lt;/P&gt;&lt;P&gt;    i~dmbtr&lt;/P&gt;&lt;P&gt;  FROM&lt;/P&gt;&lt;P&gt;    (i_curr as c&lt;/P&gt;&lt;P&gt;    LEFT OUTER JOIN i_vendor_p as v&lt;/P&gt;&lt;P&gt;      ON c&lt;SUB&gt;bukrs = v&lt;/SUB&gt;bukrs AND&lt;/P&gt;&lt;P&gt;         c&lt;SUB&gt;waers = v&lt;/SUB&gt;waers)&lt;/P&gt;&lt;P&gt;    LEFT OUTER JOIN i_intrcpny_vendor_p as i&lt;/P&gt;&lt;P&gt;      ON c&lt;SUB&gt;bukrs = i&lt;/SUB&gt;bukrs AND&lt;/P&gt;&lt;P&gt;         c&lt;SUB&gt;waers = i&lt;/SUB&gt;waers&lt;/P&gt;&lt;P&gt;  INTO TABLE i_data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that query return error &lt;/P&gt;&lt;P&gt;" Fields "I_CURR AS C JOIN I_VENDOR_P AS V ON C&lt;SUB&gt;BUKRS = V&lt;/SUB&gt;BUKRS AND C&lt;SUB&gt;WAERS = V&lt;/SUB&gt;WAERS" is unknown. It is neither in one of the specified table nor defined by a "DATA" statement"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have search this problem, and i get syntax PROVIDE  ENDPROVIDE to solve this problem. but i can implement to this query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please expert, let me know how to jin this internal table with PROVIDE.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jul 2008 09:06:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-join-internal-table/m-p/4160976#M994795</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-21T09:06:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to join internal table?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-join-internal-table/m-p/4160977#M994796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; i don't know how to join 2 or more internal table&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; SELECT&lt;/P&gt;&lt;P&gt;&amp;gt;     c~bukrs&lt;/P&gt;&lt;P&gt;&amp;gt;     c~waers&lt;/P&gt;&lt;P&gt;&amp;gt;     v~dmbtr&lt;/P&gt;&lt;P&gt;&amp;gt;     i~dmbtr&lt;/P&gt;&lt;P&gt;&amp;gt;   FROM&lt;/P&gt;&lt;P&gt;&amp;gt;     (i_curr as c&lt;/P&gt;&lt;P&gt;&amp;gt;     LEFT OUTER JOIN i_vendor_p as v&lt;/P&gt;&lt;P&gt;&amp;gt;       ON c&lt;SUB&gt;bukrs = v&lt;/SUB&gt;bukrs AND&lt;/P&gt;&lt;P&gt;&amp;gt;          c&lt;SUB&gt;waers = v&lt;/SUB&gt;waers)&lt;/P&gt;&lt;P&gt;&amp;gt;     LEFT OUTER JOIN i_intrcpny_vendor_p as i&lt;/P&gt;&lt;P&gt;&amp;gt;       ON c&lt;SUB&gt;bukrs = i&lt;/SUB&gt;bukrs AND&lt;/P&gt;&lt;P&gt;&amp;gt;          c&lt;SUB&gt;waers = i&lt;/SUB&gt;waers&lt;/P&gt;&lt;P&gt;&amp;gt;   INTO TABLE i_data.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; that query return error &lt;/P&gt;&lt;P&gt;&amp;gt; " Fields "I_CURR AS C JOIN I_VENDOR_P AS V ON C&lt;SUB&gt;BUKRS = V&lt;/SUB&gt;BUKRS AND C&lt;SUB&gt;WAERS = V&lt;/SUB&gt;WAERS" is unknown. It is neither in one of the specified table nor defined by a "DATA" statement"&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; i have search this problem, and i get syntax PROVIDE  ENDPROVIDE to solve this problem. but i can implement to this query.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; Please expert, let me know how to jin this internal table with PROVIDE.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u cant join normal internal tables with provide and endprovide u have to use infotype internal tables&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jul 2008 09:09:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-join-internal-table/m-p/4160977#M994796</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-21T09:09:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to join internal table?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-join-internal-table/m-p/4160978#M994797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Muhammad Ridwan Nawawi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can not join the internal tables. Join operation is only for Database tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For your query, You can use loop and read statements to get the required data among the internal tables you have into a new internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Sasidhar Reddy Matli.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jul 2008 09:10:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-join-internal-table/m-p/4160978#M994797</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-21T09:10:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to join internal table?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-join-internal-table/m-p/4160979#M994798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how to use infotype, ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i'm have not use this syntax.&lt;/P&gt;&lt;P&gt;please give me some example&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jul 2008 09:13:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-join-internal-table/m-p/4160979#M994798</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-21T09:13:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to join internal table?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-join-internal-table/m-p/4160980#M994799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Check this links:&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_47x200/helpdata/en/4f/d528b1575e11d189270000e8322f96/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_47x200/helpdata/en/4f/d528b1575e11d189270000e8322f96/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Adil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jul 2008 09:14:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-join-internal-table/m-p/4160980#M994799</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-21T09:14:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to join internal table?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-join-internal-table/m-p/4160981#M994800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you, this is useful for me, but i'm still can't implement this with my code.&lt;/P&gt;&lt;P&gt;Any body can make me the example?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Muhammad Ridwan Nawawi on Jul 21, 2008 11:32 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jul 2008 09:19:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-join-internal-table/m-p/4160981#M994800</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-21T09:19:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to join internal table?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-join-internal-table/m-p/4160982#M994801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah, finally i'm using this method, i got it from &lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=306015&amp;amp;sid=b51315650710d01b526c3feb17f44c8b" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=306015&amp;amp;sid=b51315650710d01b526c3feb17f44c8b&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT i_data ASSIGNING &amp;lt;fs_data&amp;gt;.&lt;/P&gt;&lt;P&gt;    READ TABLE i_vendor_p TRANSPORTING NO FIELDS&lt;/P&gt;&lt;P&gt;      WITH KEY&lt;/P&gt;&lt;P&gt;        bukrs = &amp;lt;fs_data&amp;gt;-bukrs&lt;/P&gt;&lt;P&gt;        waers = &amp;lt;fs_data&amp;gt;-waers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Join vendor payment&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;      idx = sy-tabix.&lt;/P&gt;&lt;P&gt;      CLEAR wa_amount.&lt;/P&gt;&lt;P&gt;      LOOP AT i_vendor_p INTO wa_amount&lt;/P&gt;&lt;P&gt;        FROM idx TO idx&lt;/P&gt;&lt;P&gt;        WHERE&lt;/P&gt;&lt;P&gt;          bukrs = &amp;lt;fs_data&amp;gt;-bukrs AND&lt;/P&gt;&lt;P&gt;          waers = &amp;lt;fs_data&amp;gt;-waers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        &amp;lt;fs_data&amp;gt;-tvndp = wa_amount-dmbtr.&lt;/P&gt;&lt;P&gt;      ENDLOOP.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Join inter-company vendor payment&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    READ TABLE i_intrcpny_vendor_p TRANSPORTING NO FIELDS&lt;/P&gt;&lt;P&gt;      WITH KEY&lt;/P&gt;&lt;P&gt;        bukrs = &amp;lt;fs_data&amp;gt;-bukrs&lt;/P&gt;&lt;P&gt;        waers = &amp;lt;fs_data&amp;gt;-waers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;      idx = sy-tabix.&lt;/P&gt;&lt;P&gt;      CLEAR wa_amount.&lt;/P&gt;&lt;P&gt;      LOOP AT i_intrcpny_vendor_p INTO wa_amount&lt;/P&gt;&lt;P&gt;        FROM idx TO idx&lt;/P&gt;&lt;P&gt;        WHERE&lt;/P&gt;&lt;P&gt;          bukrs = &amp;lt;fs_data&amp;gt;-bukrs AND&lt;/P&gt;&lt;P&gt;          waers = &amp;lt;fs_data&amp;gt;-waers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        &amp;lt;fs_data&amp;gt;-ticvp = wa_amount-dmbtr.&lt;/P&gt;&lt;P&gt;      ENDLOOP.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Calculate total net payment&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  &amp;lt;fs_data&amp;gt;-tnetp = &amp;lt;fs_data&amp;gt;-tvndp - &amp;lt;fs_data&amp;gt;-ticvp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please tell me if you know another solution to join internal table. Or another method that has high performance than this metode. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your answer.&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;Muhammad Ridwan Nawawi&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.ridwanforge.net" target="test_blank"&gt;http://www.ridwanforge.net&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jul 2008 10:49:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-join-internal-table/m-p/4160982#M994801</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-21T10:49:28Z</dc:date>
    </item>
  </channel>
</rss>

