<?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 Calling a Recursive Select Statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-recursive-select-statement/m-p/7301099#M1534098</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 small requirement in which I need to get the entries of the table as per the below explaination.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. First get the Position details of a Employee Reporting Manger from the Database table.&lt;/P&gt;&lt;P&gt;2. Now Verify whether Manager has approving rights or not.&lt;/P&gt;&lt;P&gt;3. If Yes I need end the processing.&lt;/P&gt;&lt;P&gt;4. If No then using the Reporting Manager position (Found from Step 1) I need to get his Reporting Mager Details.&lt;/P&gt;&lt;P&gt;5. Then again follow the same logic from step 2 till I get the Correct Approving Reporting Manager.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table Details : HRP1001 to get the Reporting Manger &lt;/P&gt;&lt;P&gt;                       HRP1010 to get the Approving Rights Details&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me with a piece of code or Logic to get this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Sep 2010 17:16:23 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-09-16T17:16:23Z</dc:date>
    <item>
      <title>Calling a Recursive Select Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-recursive-select-statement/m-p/7301099#M1534098</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 small requirement in which I need to get the entries of the table as per the below explaination.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. First get the Position details of a Employee Reporting Manger from the Database table.&lt;/P&gt;&lt;P&gt;2. Now Verify whether Manager has approving rights or not.&lt;/P&gt;&lt;P&gt;3. If Yes I need end the processing.&lt;/P&gt;&lt;P&gt;4. If No then using the Reporting Manager position (Found from Step 1) I need to get his Reporting Mager Details.&lt;/P&gt;&lt;P&gt;5. Then again follow the same logic from step 2 till I get the Correct Approving Reporting Manager.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table Details : HRP1001 to get the Reporting Manger &lt;/P&gt;&lt;P&gt;                       HRP1010 to get the Approving Rights Details&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me with a piece of code or Logic to get this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Sep 2010 17:16:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-recursive-select-statement/m-p/7301099#M1534098</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-16T17:16:23Z</dc:date>
    </item>
    <item>
      <title>Re: Calling a Recursive Select Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-recursive-select-statement/m-p/7301100#M1534099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can check fm RH_STRUC_GET instead of all these complex select queries.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Sep 2010 17:19:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-recursive-select-statement/m-p/7301100#M1534099</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2010-09-16T17:19:22Z</dc:date>
    </item>
    <item>
      <title>Re: Calling a Recursive Select Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-recursive-select-statement/m-p/7301101#M1534100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Keshav,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply Can you please let me know what are the details needs to be passed it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Sep 2010 17:35:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-recursive-select-statement/m-p/7301101#M1534100</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-16T17:35:23Z</dc:date>
    </item>
    <item>
      <title>Re: Calling a Recursive Select Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-recursive-select-statement/m-p/7301102#M1534101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Srinivas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is example input to get all Persons found under a given Org Unit effective August 20, 2010&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;ACT_OTYPE                       O
ACT_OBJID                       50000635
ACT_WEGID                       O-S-P
ACT_INT_FLAG
ACT_PLVAR                       01
ACT_BEGDA                       08/20/2010
ACT_ENDDA                       08/20/2010
ACT_TDEPTH                          3
ACT_TFLAG                       X
ACT_VFLAG                       X
AUTHORITY_CHECK                 X
TEXT_BUFFER_FILL
BUFFER_MODE&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Parent object is an Org Unit u2013 O 50000635&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;O-S-P is an Evaluation path u2013 gets subordinate Positions, Persons and Org Units for a given Org Unit.  These Evaluation Paths are found in T778A.  If nothing works for you there maybe another one can be configured.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ACT_TDEPTH = 3 stops the recursion after 3 levels u2013 use default 0 if you want everything thatu2019s subordinate&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Sep 2010 20:37:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-recursive-select-statement/m-p/7301102#M1534101</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-16T20:37:23Z</dc:date>
    </item>
    <item>
      <title>Re: Calling a Recursive Select Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-recursive-select-statement/m-p/7301103#M1534102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for you answer...My problem is resolved...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Sep 2010 13:23:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-recursive-select-statement/m-p/7301103#M1534102</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-17T13:23:20Z</dc:date>
    </item>
  </channel>
</rss>

