<?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 getting the sub organization unit in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-the-sub-organization-unit/m-p/2818385#M659140</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;                      I'm developing a report in which i need to take all the sub organization units for the given org unit. I have used the FM   'RH_STRUC_GET'  to get the sub org unit. But it returns 3 output tables. i dont know which table will contain the sub org units. pls help me with the coding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shanthi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Sep 2007 11:51:03 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-26T11:51:03Z</dc:date>
    <item>
      <title>getting the sub organization unit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-the-sub-organization-unit/m-p/2818385#M659140</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;                      I'm developing a report in which i need to take all the sub organization units for the given org unit. I have used the FM   'RH_STRUC_GET'  to get the sub org unit. But it returns 3 output tables. i dont know which table will contain the sub org units. pls help me with the coding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shanthi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2007 11:51:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-the-sub-organization-unit/m-p/2818385#M659140</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-26T11:51:03Z</dc:date>
    </item>
    <item>
      <title>Re: getting the sub organization unit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-the-sub-organization-unit/m-p/2818386#M659141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have a case where we need to determine all suborgs that belongs to a certain org:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'RH_STRUC_GET'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      act_otype       = 'O'&lt;/P&gt;&lt;P&gt;      act_objid       = lv_parent_org_objid&lt;/P&gt;&lt;P&gt;      act_wegid       = lv_wegid&lt;/P&gt;&lt;P&gt;      act_begda       = lv_effective_date&lt;/P&gt;&lt;P&gt;      act_endda       = lv_effective_date&lt;/P&gt;&lt;P&gt;      act_tdepth      = 1&lt;/P&gt;&lt;P&gt;      act_tflag       = ''&lt;/P&gt;&lt;P&gt;      act_vflag       = ''&lt;/P&gt;&lt;P&gt;      authority_check = 'X'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      result_tab      = lt_result_tab&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      no_plvar_found  = 1&lt;/P&gt;&lt;P&gt;      no_entry_found  = 2&lt;/P&gt;&lt;P&gt;      OTHERS          = 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lt_result tab will contain all suborgs belonging to the parent org you passed in.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have a dynamic evaluation path determination, but in this case it should be the following sequence in your evaluation path:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No  Obj. Type  A/B  Rel'ship   Relationship Name     Prio   Rel.obj.type    Skip&lt;/P&gt;&lt;P&gt;10   O             B      002         Is line supervisor of    *	      O&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Transaction OOAW to maintain evaluation paths.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2007 18:19:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-the-sub-organization-unit/m-p/2818386#M659141</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-26T18:19:04Z</dc:date>
    </item>
  </channel>
</rss>

