<?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: Origin org unit in pnpobjid table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/origin-org-unit-in-pnpobjid-table/m-p/1248452#M144292</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok i will find out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Apr 2006 12:56:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-04-12T12:56:49Z</dc:date>
    <item>
      <title>Origin org unit in pnpobjid table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/origin-org-unit-in-pnpobjid-table/m-p/1248447#M144287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm working in HR module and I've problems to retrieve the organizational unit. From the selection screen is posible to select an org unit and all the units dependants from the first one. These units and groups are located into a table called pnpobjid and what I need is to retrieve which was the original one the 'mother' of all the other, because this pnpobjid table sort the them in an ascending way and the 'mother' is not always the smaller, so could be located in the middle of the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anybody know some FM or some way to retrieve this originary og unit from pnpobjid?????&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks to all of you!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Apr 2006 10:37:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/origin-org-unit-in-pnpobjid-table/m-p/1248447#M144287</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-12T10:37:07Z</dc:date>
    </item>
    <item>
      <title>Re: Origin org unit in pnpobjid table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/origin-org-unit-in-pnpobjid-table/m-p/1248448#M144288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Good&lt;/P&gt;&lt;P&gt;Which version of SAP you r working with bcz i am not getting any table named pnpobjid .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;M.Tripathy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Apr 2006 10:45:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/origin-org-unit-in-pnpobjid-table/m-p/1248448#M144288</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-12T10:45:52Z</dc:date>
    </item>
    <item>
      <title>Re: Origin org unit in pnpobjid table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/origin-org-unit-in-pnpobjid-table/m-p/1248449#M144289</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;I'm using version 6.4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My report is using logical database called PNP, and pnpobjid belongs to it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Apr 2006 10:51:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/origin-org-unit-in-pnpobjid-table/m-p/1248449#M144289</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-12T10:51:31Z</dc:date>
    </item>
    <item>
      <title>Re: Origin org unit in pnpobjid table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/origin-org-unit-in-pnpobjid-table/m-p/1248450#M144290</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;check this FM &amp;lt;b&amp;gt;RP_PNP_ORGSTRUCTURE&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;          CALL FUNCTION 'RP_PNP_ORGSTRUCTURE'&lt;/P&gt;&lt;P&gt;               EXPORTING&lt;/P&gt;&lt;P&gt;                    begda  = begda&lt;/P&gt;&lt;P&gt;                    endda  = endda&lt;/P&gt;&lt;P&gt;               TABLES&lt;/P&gt;&lt;P&gt;                    pobjid = pnpobjid.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Apr 2006 10:56:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/origin-org-unit-in-pnpobjid-table/m-p/1248450#M144290</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-12T10:56:43Z</dc:date>
    </item>
    <item>
      <title>Re: Origin org unit in pnpobjid table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/origin-org-unit-in-pnpobjid-table/m-p/1248451#M144291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vijay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for your help but I would need some function to retrieve the orga unit into some variable or something like this. The FM you told me is useful but it returns the result in a graphic way and I can not use it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks anyway!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Apr 2006 12:49:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/origin-org-unit-in-pnpobjid-table/m-p/1248451#M144291</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-12T12:49:03Z</dc:date>
    </item>
    <item>
      <title>Re: Origin org unit in pnpobjid table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/origin-org-unit-in-pnpobjid-table/m-p/1248452#M144292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok i will find out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Apr 2006 12:56:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/origin-org-unit-in-pnpobjid-table/m-p/1248452#M144292</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-12T12:56:49Z</dc:date>
    </item>
    <item>
      <title>Re: Origin org unit in pnpobjid table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/origin-org-unit-in-pnpobjid-table/m-p/1248453#M144293</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;why can't you try to select it from infotype PA0001.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the field is &amp;lt;b&amp;gt;ORGEH&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: l_objid type PA0001-orgeh.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;select single ORGEH
              from PA0001
              into l_objid
           where pernr = pernr.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Apr 2006 13:26:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/origin-org-unit-in-pnpobjid-table/m-p/1248453#M144293</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-12T13:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: Origin org unit in pnpobjid table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/origin-org-unit-in-pnpobjid-table/m-p/1248454#M144294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vijay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have thought also on that, but this method is not useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An Organisation Unit could have other Organisations inside and in the field P0001-ORGEH is located the Orga Unit 'son' not the 'mother' one .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Imagine; Orga Unit 430 with both 425 and 450 inside. Employee 000000 is asigned to 450 -&amp;gt; the field P0001-ORGEH for this employee will be 450. But I need to know that the original one is 430. I hope I had known explain it... it's a bit compicated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Apr 2006 15:23:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/origin-org-unit-in-pnpobjid-table/m-p/1248454#M144294</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-12T15:23:15Z</dc:date>
    </item>
    <item>
      <title>Re: Origin org unit in pnpobjid table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/origin-org-unit-in-pnpobjid-table/m-p/1248455#M144295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gemma,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will have to use the evaluation path 'O-O'  to go all the way up the hierarchy of the Org Units. You can try the following..&lt;/P&gt;&lt;P&gt;Pick an Org Unit from the PNPOBJID table &amp;amp; pass it to the function module RH_PM_GET_STRUCTURE.. In the resultant STRUC_TAB table, the OrgUnit with highest PUP value will be the 'Mother' of all the Org Unnits in PNPOBJID. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suresh Datti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Apr 2006 16:16:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/origin-org-unit-in-pnpobjid-table/m-p/1248455#M144295</guid>
      <dc:creator>suresh_datti</dc:creator>
      <dc:date>2006-04-12T16:16:56Z</dc:date>
    </item>
  </channel>
</rss>

