<?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: Supervisor Id in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/supervisor-id/m-p/4842669#M1132800</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not even PA0001.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to get PERNR of the supervisor first, this you can get using two select statements (or selecting the data in an internal table and then doing READ statement, as normal good practice).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Get the Org Unit (which will be in SOBID field) of the Employee, FROM Table HRP1001. ( OTYPE = 'O', SUBTY = 'A003')&lt;/P&gt;&lt;P&gt;2. Get the Manager (which will be in SOBID field) of that Org Unit From Table HRP1001.  ( OTYPE = 'P', SUBTY = 'B012')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope you can translate above statements into SELECT statements, after that you will get the Supervisor Pernr. You can then get any details from any infotype that you are interested in. Like for Name etc, you can look for IT 0002 and for Addresses Look for IT 0006.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Dec 2008 19:01:50 GMT</pubDate>
    <dc:creator>Shafiq_Rehman1</dc:creator>
    <dc:date>2008-12-05T19:01:50Z</dc:date>
    <item>
      <title>Supervisor Id</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/supervisor-id/m-p/4842667#M1132798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to find out the supervisor details for a particular pernr ( Personal number ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an idea that I can use pa0001 , pa0008 tables but not exactly ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can some one tell me how to retrieve this data ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Dec 2008 13:08:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/supervisor-id/m-p/4842667#M1132798</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-05T13:08:17Z</dc:date>
    </item>
    <item>
      <title>Re: Supervisor Id</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/supervisor-id/m-p/4842668#M1132799</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;supervisor area is present only in PA0001 and not in 0008.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Dec 2008 13:11:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/supervisor-id/m-p/4842668#M1132799</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-05T13:11:12Z</dc:date>
    </item>
    <item>
      <title>Re: Supervisor Id</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/supervisor-id/m-p/4842669#M1132800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not even PA0001.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to get PERNR of the supervisor first, this you can get using two select statements (or selecting the data in an internal table and then doing READ statement, as normal good practice).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Get the Org Unit (which will be in SOBID field) of the Employee, FROM Table HRP1001. ( OTYPE = 'O', SUBTY = 'A003')&lt;/P&gt;&lt;P&gt;2. Get the Manager (which will be in SOBID field) of that Org Unit From Table HRP1001.  ( OTYPE = 'P', SUBTY = 'B012')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope you can translate above statements into SELECT statements, after that you will get the Supervisor Pernr. You can then get any details from any infotype that you are interested in. Like for Name etc, you can look for IT 0002 and for Addresses Look for IT 0006.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Dec 2008 19:01:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/supervisor-id/m-p/4842669#M1132800</guid>
      <dc:creator>Shafiq_Rehman1</dc:creator>
      <dc:date>2008-12-05T19:01:50Z</dc:date>
    </item>
    <item>
      <title>Re: Supervisor Id</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/supervisor-id/m-p/4842670#M1132801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Go to se16 table hrp1001.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There in &lt;/P&gt;&lt;P&gt;sobid = pernrno of employee&lt;/P&gt;&lt;P&gt;relat = 008&lt;/P&gt;&lt;P&gt;rsign = A&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now for the entry u get read the objid field&lt;/P&gt;&lt;P&gt;this is the position no. of the employee.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go back to se16 hrp1001.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;put the position no. in objid field and in relat = 002 and in rsign = B&lt;/P&gt;&lt;P&gt;and now check the entires read the sobid field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now this is the position of the supervisor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now go back to hrp1001 in objid put this new position no. and in rsign put A and relat = 008 and check the entry you will get the pernr of the supervisor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may also look inti this FM -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RH_GET_LEADER&lt;/P&gt;&lt;P&gt;RH_GET_LEADING_POSITION&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Dec 2008 19:16:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/supervisor-id/m-p/4842670#M1132801</guid>
      <dc:creator>amit_khare</dc:creator>
      <dc:date>2008-12-05T19:16:23Z</dc:date>
    </item>
  </channel>
</rss>

