<?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 How to separate a single join into two separate join statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-separate-a-single-join-into-two-separate-join-statement/m-p/3281497#M784770</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;select PA0002&lt;SUB&gt;NACHN PA0002&lt;/SUB&gt;PERNR PA0002&lt;SUB&gt;VORNA KNVP&lt;/SUB&gt;KUNNR KNVP&lt;SUB&gt;PARVW KNVP&lt;/SUB&gt;PERNR KNVP&lt;SUB&gt;SPART KNVP&lt;/SUB&gt;VKORG KNVP&lt;SUB&gt;VTWEG VBAK&lt;/SUB&gt;AUART&lt;/P&gt;&lt;P&gt;       VBAK&lt;SUB&gt;ERDAT VBAK&lt;/SUB&gt;ERNAM VBAK&lt;SUB&gt;ERZET VBAK&lt;/SUB&gt;FAKSK VBAK&lt;SUB&gt;KUNNR VBAK&lt;/SUB&gt;LIFSK VBAK&lt;SUB&gt;SPART VBAK&lt;/SUB&gt;VBELN VBAK&lt;SUB&gt;VKORG VBAK&lt;/SUB&gt;VTWEG VBUK~CMGST&lt;/P&gt;&lt;P&gt;       VBUK&lt;SUB&gt;VBELN TVLS&lt;/SUB&gt;LIFSP&lt;/P&gt;&lt;P&gt;into (PA0002-NACHN , PA0002-PERNR , PA0002-VORNA , KNVP-KUNNR , KNVP-PARVW , KNVP-PERNR , KNVP-SPART , KNVP-VKORG , KNVP-VTWEG&lt;/P&gt;&lt;P&gt;     , VBAK-AUART , VBAK-ERDAT , VBAK-ERNAM , VBAK-ERZET , VBAK-FAKSK , VBAK-KUNNR , VBAK-LIFSK , VBAK-SPART , VBAK-VBELN&lt;/P&gt;&lt;P&gt;     , VBAK-VKORG , VBAK-VTWEG , VBUK-CMGST , VBUK-VBELN , TVLS-LIFSP )&lt;/P&gt;&lt;P&gt;from ( PA0002&lt;/P&gt;&lt;P&gt;       inner join KNVP&lt;/P&gt;&lt;P&gt;       on KNVP&lt;SUB&gt;PERNR = PA0002&lt;/SUB&gt;PERNR&lt;/P&gt;&lt;P&gt;       inner join VBAK&lt;/P&gt;&lt;P&gt;       on VBAK&lt;SUB&gt;KUNNR = KNVP&lt;/SUB&gt;KUNNR&lt;/P&gt;&lt;P&gt;       and VBAK&lt;SUB&gt;SPART = KNVP&lt;/SUB&gt;SPART&lt;/P&gt;&lt;P&gt;       and VBAK&lt;SUB&gt;VKORG = KNVP&lt;/SUB&gt;VKORG&lt;/P&gt;&lt;P&gt;       and VBAK&lt;SUB&gt;VTWEG = KNVP&lt;/SUB&gt;VTWEG&lt;/P&gt;&lt;P&gt;       inner join VBUK&lt;/P&gt;&lt;P&gt;       on VBUK&lt;SUB&gt;VBELN = VBAK&lt;/SUB&gt;VBELN&lt;/P&gt;&lt;P&gt;       inner join TVLS&lt;/P&gt;&lt;P&gt;       on TVLS&lt;SUB&gt;LIFSP = VBAK&lt;/SUB&gt;LIFSK )&lt;/P&gt;&lt;P&gt;       where PA0002~NACHN in SP$00003&lt;/P&gt;&lt;P&gt;         and PA0002~PERNR in SP$00001&lt;/P&gt;&lt;P&gt;         and KNVP~KUNNR in SP$00004&lt;/P&gt;&lt;P&gt;         and KNVP~PARVW in SP$00014&lt;/P&gt;&lt;P&gt;         and VBAK~AUART in SP$00005&lt;/P&gt;&lt;P&gt;         and VBAK~ERDAT in SP$00011&lt;/P&gt;&lt;P&gt;         and VBAK~ERNAM in SP$00013&lt;/P&gt;&lt;P&gt;         and VBAK~ERZET in SP$00012&lt;/P&gt;&lt;P&gt;         and VBAK~KUNNR in SP$00006&lt;/P&gt;&lt;P&gt;         and VBAK~SPART in SP$00009&lt;/P&gt;&lt;P&gt;         and VBAK~VBELN in SP$00010&lt;/P&gt;&lt;P&gt;         and VBAK~VKORG in SP$00007&lt;/P&gt;&lt;P&gt;         and VBAK~VTWEG in SP$00008.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Jan 2008 10:06:57 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-11T10:06:57Z</dc:date>
    <item>
      <title>How to separate a single join into two separate join statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-separate-a-single-join-into-two-separate-join-statement/m-p/3281497#M784770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;select PA0002&lt;SUB&gt;NACHN PA0002&lt;/SUB&gt;PERNR PA0002&lt;SUB&gt;VORNA KNVP&lt;/SUB&gt;KUNNR KNVP&lt;SUB&gt;PARVW KNVP&lt;/SUB&gt;PERNR KNVP&lt;SUB&gt;SPART KNVP&lt;/SUB&gt;VKORG KNVP&lt;SUB&gt;VTWEG VBAK&lt;/SUB&gt;AUART&lt;/P&gt;&lt;P&gt;       VBAK&lt;SUB&gt;ERDAT VBAK&lt;/SUB&gt;ERNAM VBAK&lt;SUB&gt;ERZET VBAK&lt;/SUB&gt;FAKSK VBAK&lt;SUB&gt;KUNNR VBAK&lt;/SUB&gt;LIFSK VBAK&lt;SUB&gt;SPART VBAK&lt;/SUB&gt;VBELN VBAK&lt;SUB&gt;VKORG VBAK&lt;/SUB&gt;VTWEG VBUK~CMGST&lt;/P&gt;&lt;P&gt;       VBUK&lt;SUB&gt;VBELN TVLS&lt;/SUB&gt;LIFSP&lt;/P&gt;&lt;P&gt;into (PA0002-NACHN , PA0002-PERNR , PA0002-VORNA , KNVP-KUNNR , KNVP-PARVW , KNVP-PERNR , KNVP-SPART , KNVP-VKORG , KNVP-VTWEG&lt;/P&gt;&lt;P&gt;     , VBAK-AUART , VBAK-ERDAT , VBAK-ERNAM , VBAK-ERZET , VBAK-FAKSK , VBAK-KUNNR , VBAK-LIFSK , VBAK-SPART , VBAK-VBELN&lt;/P&gt;&lt;P&gt;     , VBAK-VKORG , VBAK-VTWEG , VBUK-CMGST , VBUK-VBELN , TVLS-LIFSP )&lt;/P&gt;&lt;P&gt;from ( PA0002&lt;/P&gt;&lt;P&gt;       inner join KNVP&lt;/P&gt;&lt;P&gt;       on KNVP&lt;SUB&gt;PERNR = PA0002&lt;/SUB&gt;PERNR&lt;/P&gt;&lt;P&gt;       inner join VBAK&lt;/P&gt;&lt;P&gt;       on VBAK&lt;SUB&gt;KUNNR = KNVP&lt;/SUB&gt;KUNNR&lt;/P&gt;&lt;P&gt;       and VBAK&lt;SUB&gt;SPART = KNVP&lt;/SUB&gt;SPART&lt;/P&gt;&lt;P&gt;       and VBAK&lt;SUB&gt;VKORG = KNVP&lt;/SUB&gt;VKORG&lt;/P&gt;&lt;P&gt;       and VBAK&lt;SUB&gt;VTWEG = KNVP&lt;/SUB&gt;VTWEG&lt;/P&gt;&lt;P&gt;       inner join VBUK&lt;/P&gt;&lt;P&gt;       on VBUK&lt;SUB&gt;VBELN = VBAK&lt;/SUB&gt;VBELN&lt;/P&gt;&lt;P&gt;       inner join TVLS&lt;/P&gt;&lt;P&gt;       on TVLS&lt;SUB&gt;LIFSP = VBAK&lt;/SUB&gt;LIFSK )&lt;/P&gt;&lt;P&gt;       where PA0002~NACHN in SP$00003&lt;/P&gt;&lt;P&gt;         and PA0002~PERNR in SP$00001&lt;/P&gt;&lt;P&gt;         and KNVP~KUNNR in SP$00004&lt;/P&gt;&lt;P&gt;         and KNVP~PARVW in SP$00014&lt;/P&gt;&lt;P&gt;         and VBAK~AUART in SP$00005&lt;/P&gt;&lt;P&gt;         and VBAK~ERDAT in SP$00011&lt;/P&gt;&lt;P&gt;         and VBAK~ERNAM in SP$00013&lt;/P&gt;&lt;P&gt;         and VBAK~ERZET in SP$00012&lt;/P&gt;&lt;P&gt;         and VBAK~KUNNR in SP$00006&lt;/P&gt;&lt;P&gt;         and VBAK~SPART in SP$00009&lt;/P&gt;&lt;P&gt;         and VBAK~VBELN in SP$00010&lt;/P&gt;&lt;P&gt;         and VBAK~VKORG in SP$00007&lt;/P&gt;&lt;P&gt;         and VBAK~VTWEG in SP$00008.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2008 10:06:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-separate-a-single-join-into-two-separate-join-statement/m-p/3281497#M784770</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-11T10:06:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to separate a single join into two separate join statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-separate-a-single-join-into-two-separate-join-statement/m-p/3281498#M784771</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;1.Dont use joins.&lt;/P&gt;&lt;P&gt;2.Create separate internal table and write select statement.&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;Billa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2008 10:12:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-separate-a-single-join-into-two-separate-join-statement/m-p/3281498#M784771</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-11T10:12:30Z</dc:date>
    </item>
  </channel>
</rss>

