<?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 Supervisor in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/supervisor/m-p/4056501#M969693</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to get supervisor data of a particular employee?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Jul 2008 09:36:52 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-04T09:36:52Z</dc:date>
    <item>
      <title>Supervisor</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/supervisor/m-p/4056501#M969693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to get supervisor data of a particular employee?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2008 09:36:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/supervisor/m-p/4056501#M969693</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-04T09:36:52Z</dc:date>
    </item>
    <item>
      <title>Re: Supervisor</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/supervisor/m-p/4056502#M969694</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;First try to read thge value PERNR(personnel number) using this usign FM 'RH_READ_INFTY_1001'  we can get the piostion &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; LOOP AT t_pa0000 INTO fs_pa0000.&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'RH_READ_INFTY_1001'&lt;/P&gt;&lt;P&gt;     EXPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  AUTHORITY              = 'DISP'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  WITH_STRU_AUTH         = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;       plvar                  = '01'&lt;/P&gt;&lt;P&gt;       otype                  = 'P'&lt;/P&gt;&lt;P&gt;       objid                  = fs_pa0000-pernr&lt;/P&gt;&lt;P&gt;   subty                  = 'B008'&lt;/P&gt;&lt;P&gt;   begda                  = fs_pa0000-begda&lt;/P&gt;&lt;P&gt;   endda                  = fs_pa0000-endda&lt;/P&gt;&lt;P&gt;      TABLES&lt;/P&gt;&lt;P&gt;        i1001                  = t_i1001&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  OBJECTS                =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;     EXCEPTIONS&lt;/P&gt;&lt;P&gt;       nothing_found          = 1&lt;/P&gt;&lt;P&gt;       wrong_condition        = 2&lt;/P&gt;&lt;P&gt;       wrong_parameters       = 3&lt;/P&gt;&lt;P&gt;       OTHERS                 = 4&lt;/P&gt;&lt;P&gt;              .&lt;/P&gt;&lt;P&gt;    IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;    APPEND LINES OF t_i1001 TO t_pos.&lt;/P&gt;&lt;P&gt;    CLEAR fs_pa0000.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;LOOP AT t_pos INTO fs_i1001.&lt;/P&gt;&lt;P&gt;    AT FIRST.&lt;/P&gt;&lt;P&gt;      WRITE:&lt;/P&gt;&lt;P&gt;         /1 'Object Type'(018),&lt;/P&gt;&lt;P&gt;          10 'Object id'(019),&lt;/P&gt;&lt;P&gt;          20 'Plan version'(020),&lt;/P&gt;&lt;P&gt;          30 'Relationship Specification'(021),&lt;/P&gt;&lt;P&gt;          40 'Relationship Between Objects'(022),&lt;/P&gt;&lt;P&gt;          50 'Start Date'(023),&lt;/P&gt;&lt;P&gt;          62 'End Date'(024),&lt;/P&gt;&lt;P&gt;          75 'Type of Related Object'(025),&lt;/P&gt;&lt;P&gt;          82 'ID of Related Object'(026).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    ENDAT.&lt;/P&gt;&lt;P&gt;    WRITE:&lt;/P&gt;&lt;P&gt;      / fs_i1001-otype UNDER text-018,&lt;/P&gt;&lt;P&gt;        fs_i1001-objid UNDER text-019,&lt;/P&gt;&lt;P&gt;        fs_i1001-plvar UNDER text-020,&lt;/P&gt;&lt;P&gt;        fs_i1001-rsign UNDER text-021,&lt;/P&gt;&lt;P&gt;        fs_i1001-relat UNDER text-022,&lt;/P&gt;&lt;P&gt;        fs_i1001-begda UNDER text-023,&lt;/P&gt;&lt;P&gt;        fs_i1001-endda UNDER text-024,&lt;/P&gt;&lt;P&gt;        fs_i1001-sclas UNDER text-025,&lt;/P&gt;&lt;P&gt;        fs_i1001-sobid UNDER text-026.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Wishes,&lt;/P&gt;&lt;P&gt;Chandralekha&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Chandralekha on Jul 4, 2008 11:42 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2008 09:42:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/supervisor/m-p/4056502#M969694</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-04T09:42:09Z</dc:date>
    </item>
  </channel>
</rss>

