<?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: Get settlement data for an order - Recursive in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-settlement-data-for-an-order-recursive/m-p/7469474#M1554899</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you find the solution?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 04 Jan 2014 09:36:00 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2014-01-04T09:36:00Z</dc:date>
    <item>
      <title>Get settlement data for an order - Recursive</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-settlement-data-for-an-order-recursive/m-p/7469473#M1554898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a peculiar requirement. For an internal order, determine its FERC indicator. &lt;/P&gt;&lt;P&gt;If the FERC Indicator for the internal object is 0000, then read the settlement rules &lt;/P&gt;&lt;P&gt;of the object for the period(s) being processed and re-perform the logic for the FERC &lt;/P&gt;&lt;P&gt;Indicator not equal to 0000 for each object in the settlement rule. &lt;/P&gt;&lt;P&gt;If the FERC Indicator is 0000 again, keep drilling down through the settlement rules until &lt;/P&gt;&lt;P&gt;an object is obtained where the FERC Indicator is not 0000 or the settlement object is a cost center. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the above requirement i need to get order data from AUFK first,&lt;/P&gt;&lt;P&gt;and check the FERC indicator. If it is 0000 i need to get settlement rule data &lt;/P&gt;&lt;P&gt;from COBRB table,in these settlement rule data i will get some more orders. Again i need to&lt;/P&gt;&lt;P&gt;hit AUFK. This is like recursive action and may hamper the performance .How can i do &lt;/P&gt;&lt;P&gt;this without writing a SELECT query in a loop and hitting the same tables several times.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Bhanu.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: bhanu23 on Nov 26, 2010 1:37 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Nov 2010 12:36:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-settlement-data-for-an-order-recursive/m-p/7469473#M1554898</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-26T12:36:48Z</dc:date>
    </item>
    <item>
      <title>Re: Get settlement data for an order - Recursive</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-settlement-data-for-an-order-recursive/m-p/7469474#M1554899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you find the solution?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Jan 2014 09:36:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-settlement-data-for-an-order-recursive/m-p/7469474#M1554899</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-01-04T09:36:00Z</dc:date>
    </item>
  </channel>
</rss>

