<?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>Question Re: OUTER APPLY in SAP HANA in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/outer-apply-in-sap-hana/qaa-p/14013675#M4902888</link>
    <description>Did you get an answer on this? I'm running into the same problem right now.</description>
    <pubDate>Tue, 11 Feb 2025 09:02:18 GMT</pubDate>
    <dc:creator>cribad</dc:creator>
    <dc:date>2025-02-11T09:02:18Z</dc:date>
    <item>
      <title>OUTER APPLY in SAP HANA</title>
      <link>https://community.sap.com/t5/technology-q-a/outer-apply-in-sap-hana/qaq-p/340795</link>
      <description>&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;We are currently translating all queries to SAP HANA.&lt;BR /&gt;Can anyone please tell me how an "OUTER APPLY" works in HANA?&lt;/P&gt;&lt;P&gt;See my query below.&lt;BR /&gt;After the last join I used an "OUTER APPLY".&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Kind regards, William&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT *  
FROM  [dbo].[RDR1] T0  
		INNER JOIN dbo.ORDR T1 ON T1.DocEntry = T0.DocEntry
		OUTER APPLY (SELECT TOP 1 T20.U_DocType, T20.U_LineNum, T21.ItemCode
								 FROM dbo.[@CUSTOMTABLE] T20
									 INNER JOIN dbo.OITM T21 ON T20.U_Treatment = T21.ItemCode
								 WHERE T20.U_DocEntry = T0.DocEntry AND T0.ObjType = T20.U_DocType AND T0.LineNum = T20.U_LineNum
									 AND T21.U_Type IN ('A', 'B') 
									 AND ISNULL(T20.U_Cut, 0) &amp;gt; 0) T13
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 21 Dec 2016 15:05:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/outer-apply-in-sap-hana/qaq-p/340795</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-12-21T15:05:04Z</dc:date>
    </item>
    <item>
      <title>Re: OUTER APPLY in SAP HANA</title>
      <link>https://community.sap.com/t5/technology-q-a/outer-apply-in-sap-hana/qaa-p/14013675#M4902888</link>
      <description>Did you get an answer on this? I'm running into the same problem right now.</description>
      <pubDate>Tue, 11 Feb 2025 09:02:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/outer-apply-in-sap-hana/qaa-p/14013675#M4902888</guid>
      <dc:creator>cribad</dc:creator>
      <dc:date>2025-02-11T09:02:18Z</dc:date>
    </item>
  </channel>
</rss>

