<?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: hr abap technical in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-abap-technical/m-p/1150060#M117280</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;can u give any example coe to checket plz&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;charan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 25 Feb 2006 11:33:23 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-02-25T11:33:23Z</dc:date>
    <item>
      <title>hr abap technical</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-abap-technical/m-p/1150057#M117277</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;how can we know the relation between an emplyee and his superior ? (hrp1000 ,hrp1001 )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can any one give me the reply with exaple(code)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;charan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Feb 2006 11:26:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-abap-technical/m-p/1150057#M117277</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-25T11:26:42Z</dc:date>
    </item>
    <item>
      <title>Re: hr abap technical</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-abap-technical/m-p/1150058#M117278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The "reports to" relataion is maintained between the employee's position &amp;amp; supervisor's position.There are a couple of function modules to get the supervisor's info directly..&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>Sat, 25 Feb 2006 11:28:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-abap-technical/m-p/1150058#M117278</guid>
      <dc:creator>suresh_datti</dc:creator>
      <dc:date>2006-02-25T11:28:38Z</dc:date>
    </item>
    <item>
      <title>Re: hr abap technical</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-abap-technical/m-p/1150059#M117279</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;YOu can use combination of fields PLVAR ,OTYPE, OBJID for linking HRP1000 and HRP1001.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ramakrishna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Feb 2006 11:32:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-abap-technical/m-p/1150059#M117279</guid>
      <dc:creator>venkata_ramisetti</dc:creator>
      <dc:date>2006-02-25T11:32:00Z</dc:date>
    </item>
    <item>
      <title>Re: hr abap technical</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-abap-technical/m-p/1150060#M117280</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;can u give any example coe to checket plz&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;charan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Feb 2006 11:33:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-abap-technical/m-p/1150060#M117280</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-25T11:33:23Z</dc:date>
    </item>
    <item>
      <title>Re: hr abap technical</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-abap-technical/m-p/1150061#M117281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Suppose you have the employee's position.. here is the code to get the supervisor's position..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data w_objid type hrobjid.  "Employee's position
data w_sobid type sobid. "Supervisor's position

select sobid into w_sobid 
   from hrp1001 up to 1 rows
where otype  = 'S'
  and objid   = w_objid
  and plvar = '01'
  and istat = 1
and begda le sy-datum
and endda ge sy-datum
and rsign = 'A'
and relat = '002'.
endselect.
if sy-subrc eq 0.
* w_sobid holds the Supervisor's position
endif.
&lt;/CODE&gt;&lt;/PRE&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>Sat, 25 Feb 2006 11:38:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-abap-technical/m-p/1150061#M117281</guid>
      <dc:creator>suresh_datti</dc:creator>
      <dc:date>2006-02-25T11:38:09Z</dc:date>
    </item>
    <item>
      <title>Re: hr abap technical</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-abap-technical/m-p/1150062#M117282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks suresh.&lt;/P&gt;&lt;P&gt;can u name the function modules which are usefull for me now?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;charan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Feb 2006 11:38:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-abap-technical/m-p/1150062#M117282</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-25T11:38:14Z</dc:date>
    </item>
    <item>
      <title>Re: hr abap technical</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-abap-technical/m-p/1150063#M117283</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;You can pass the employee's 0001 record to this function module RPAQ_GET_AF_0001 &amp;amp; get back thye Supervisors' info..&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>Sat, 25 Feb 2006 11:40:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-abap-technical/m-p/1150063#M117283</guid>
      <dc:creator>suresh_datti</dc:creator>
      <dc:date>2006-02-25T11:40:15Z</dc:date>
    </item>
    <item>
      <title>Re: hr abap technical</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-abap-technical/m-p/1150064#M117284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sureh, th fm is as follows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'RPAQ_GET_AF_0001'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  C_IT0000        =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  C_IT0001        =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  BEGDA_IT        = SY-DATUM&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  ENDDA_IT        = SY-DATUM&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  BEGDA_SEL       = SY-DATUM&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  ENDDA_SEL       = SY-DATUM&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  TCLAS           =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  MOLGA           =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  C_OBJEC         =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  AF_VALUES       =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    AF_FIELDS       =&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  IT0000          =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  IT0001          =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whic field shoud i uncomment. can u explain me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thannks&lt;/P&gt;&lt;P&gt;charan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Feb 2006 11:46:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-abap-technical/m-p/1150064#M117284</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-25T11:46:25Z</dc:date>
    </item>
    <item>
      <title>Re: hr abap technical</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-abap-technical/m-p/1150065#M117285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pl check the follwoing code..&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data : rec_p0001   like p0001. "Org Info
data: rec_af_values like p0001_af. "Manager info
data: t_af_fields like rhtext_field occurs 0 
                        with header line.
data: w_pernr type pernr_d,
w_supname like p0001-ename.
* assuming you have employee's 0001 record in p0001
  read table p0001 index 1.
  if sy-subrc &amp;lt;&amp;gt; 0.
    clear p0001.
  endif.
  move p0001 to rec_p0001.
* retrieve the supervisor employee number and name.
  t_af_fields-fieldname = 'OMNGR_NR'.
  append t_af_fields.
  t_af_fields-fieldname = 'OMNGR_NA'.
  append t_af_fields.

  call function 'RPAQ_GET_AF_0001'
    exporting
      c_it0001  = rec_p0001
      begda_it  = sy-datum
      endda_it  = sy-datum
      begda_sel = sy-datum
      endda_sel = sy-datum
      tclas     = 'A'
      molga     = '10'
    importing
      af_values = rec_af_values
    tables
      af_fields = t_af_fields.

 w_pernr = rec_af_values-omngr_nr. "Supervisor's pernr
 w_supname = rec_af_values-omngr_na. "Supervisor's Name

&lt;/CODE&gt;&lt;/PRE&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>Sat, 25 Feb 2006 11:55:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-abap-technical/m-p/1150065#M117285</guid>
      <dc:creator>suresh_datti</dc:creator>
      <dc:date>2006-02-25T11:55:50Z</dc:date>
    </item>
    <item>
      <title>Re: hr abap technical</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-abap-technical/m-p/1150066#M117286</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;If i want to delete my queries form the posted list, how could is?&lt;/P&gt;&lt;P&gt;can u tell me the path.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;charan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Feb 2006 06:42:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-abap-technical/m-p/1150066#M117286</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-26T06:42:38Z</dc:date>
    </item>
    <item>
      <title>Re: hr abap technical</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-abap-technical/m-p/1150067#M117287</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;You can close them by clicking on the radiobutton solved on my own..&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>Sun, 26 Feb 2006 11:15:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-abap-technical/m-p/1150067#M117287</guid>
      <dc:creator>suresh_datti</dc:creator>
      <dc:date>2006-02-26T11:15:40Z</dc:date>
    </item>
  </channel>
</rss>

