<?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: Traversing in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/traversing/m-p/1877155#M368720</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Swati,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is to get the position of the person: Select sobid&lt;/P&gt;&lt;P&gt;otype = P, objid = pernr, rsign = A, relat = '008', sclas = S. this will give the position for the person(pernr). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then  for getting the supervisor: select the sobid.&lt;/P&gt;&lt;P&gt;otype = P objid = pernr, rsign = A, relat = '002' , sclas = P.&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;to get the supervisor's position: select the sobid.&lt;/P&gt;&lt;P&gt;otype = P , objid= sobid(of the supervisor), rsign = A, relat = '008', sclas = S.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;supervisor not found&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;madhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Feb 2007 14:44:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-02-05T14:44:53Z</dc:date>
    <item>
      <title>Traversing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/traversing/m-p/1877152#M368717</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;I am new to HR-ABAP programming. My requirement is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For a given pernr in date range, find all the managers with their names.&lt;/P&gt;&lt;P&gt;l have to access HRP1001 and find the position(S) for the pernr(P) and for the position, check if there is any manager, if no manager, then go one level up. Get the following info.&lt;/P&gt;&lt;P&gt;Employee Details&lt;/P&gt;&lt;P&gt;Employee Id&lt;/P&gt;&lt;P&gt;Employee Name            &lt;/P&gt;&lt;P&gt;Employee&amp;#146;s address&lt;/P&gt;&lt;P&gt;Employee&amp;#146;s dependent details &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Employee&amp;#146;s Manager Details&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to find the relations?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Feb 2007 13:50:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/traversing/m-p/1877152#M368717</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-05T13:50:51Z</dc:date>
    </item>
    <item>
      <title>Re: Traversing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/traversing/m-p/1877153#M368718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Swathi,&lt;/P&gt;&lt;P&gt; Refer this link:&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="3012124"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Feb 2007 13:59:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/traversing/m-p/1877153#M368718</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-05T13:59:31Z</dc:date>
    </item>
    <item>
      <title>Re: Traversing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/traversing/m-p/1877154#M368719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;U have given a link to ALV related stuff!!!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Feb 2007 14:10:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/traversing/m-p/1877154#M368719</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-05T14:10:10Z</dc:date>
    </item>
    <item>
      <title>Re: Traversing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/traversing/m-p/1877155#M368720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Swati,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is to get the position of the person: Select sobid&lt;/P&gt;&lt;P&gt;otype = P, objid = pernr, rsign = A, relat = '008', sclas = S. this will give the position for the person(pernr). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then  for getting the supervisor: select the sobid.&lt;/P&gt;&lt;P&gt;otype = P objid = pernr, rsign = A, relat = '002' , sclas = P.&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;to get the supervisor's position: select the sobid.&lt;/P&gt;&lt;P&gt;otype = P , objid= sobid(of the supervisor), rsign = A, relat = '008', sclas = S.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;supervisor not found&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;madhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Feb 2007 14:44:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/traversing/m-p/1877155#M368720</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-05T14:44:53Z</dc:date>
    </item>
    <item>
      <title>Re: Traversing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/traversing/m-p/1877156#M368721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is the code for above algo: &lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="2945881"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2007 21:22:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/traversing/m-p/1877156#M368721</guid>
      <dc:creator>Shafiq_Rehman1</dc:creator>
      <dc:date>2007-05-15T21:22:20Z</dc:date>
    </item>
  </channel>
</rss>

