<?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: Function hrp1001 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-hrp1001/m-p/5166457#M1196479</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use FM RH_STRUC_GET to get the details ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  call function 'RH_STRUC_GET'&lt;/P&gt;&lt;P&gt;    exporting&lt;/P&gt;&lt;P&gt;      &lt;STRONG&gt;act_otype              = 'S'  &amp;lt;-- pass the position(S)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;      &lt;STRONG&gt;act_objid              = gv_objid   &amp;lt;-- pass the position which is given to you&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;      &lt;STRONG&gt;act_wegid              = ''  &amp;lt;-- U need to pass the Evaluation path corresponding to 1F and S&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;*&lt;STRONG&gt;check in table T778A for evaluation paths ....&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    ACT_INT_FLAG           =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      act_plvar              = gv_plvar&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    act_begda              = pchobeg&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    act_endda              = pchoend&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    ACT_TDEPTH             = 0&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    ACT_TFLAG              = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    ACT_VFLAG              = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    AUTHORITY_CHECK        = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    TEXT_BUFFER_FILL       =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    BUFFER_MODE            =&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;    ACT_PLVAR              =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    tables&lt;/P&gt;&lt;P&gt;      result_tab             = gt_results&lt;/P&gt;&lt;P&gt;      result_objec           = gt_objects&lt;/P&gt;&lt;P&gt;      result_struc           = gt_structs&lt;/P&gt;&lt;P&gt;    exceptions&lt;/P&gt;&lt;P&gt;      no_plvar_found         = 1&lt;/P&gt;&lt;P&gt;      no_entry_found         = 2&lt;/P&gt;&lt;P&gt;      others                 = 3&lt;/P&gt;&lt;P&gt;        .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Feb 2009 05:52:05 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-02-25T05:52:05Z</dc:date>
    <item>
      <title>Function hrp1001</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-hrp1001/m-p/5166456#M1196478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to retrieve data for objtype = 1F for my ALV for a particular position...i dont understand what  this is as ia m new to hr sap&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Feb 2009 05:42:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-hrp1001/m-p/5166456#M1196478</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-25T05:42:37Z</dc:date>
    </item>
    <item>
      <title>Re: Function hrp1001</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-hrp1001/m-p/5166457#M1196479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use FM RH_STRUC_GET to get the details ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  call function 'RH_STRUC_GET'&lt;/P&gt;&lt;P&gt;    exporting&lt;/P&gt;&lt;P&gt;      &lt;STRONG&gt;act_otype              = 'S'  &amp;lt;-- pass the position(S)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;      &lt;STRONG&gt;act_objid              = gv_objid   &amp;lt;-- pass the position which is given to you&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;      &lt;STRONG&gt;act_wegid              = ''  &amp;lt;-- U need to pass the Evaluation path corresponding to 1F and S&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;*&lt;STRONG&gt;check in table T778A for evaluation paths ....&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    ACT_INT_FLAG           =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      act_plvar              = gv_plvar&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    act_begda              = pchobeg&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    act_endda              = pchoend&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    ACT_TDEPTH             = 0&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    ACT_TFLAG              = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    ACT_VFLAG              = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    AUTHORITY_CHECK        = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    TEXT_BUFFER_FILL       =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    BUFFER_MODE            =&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;    ACT_PLVAR              =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    tables&lt;/P&gt;&lt;P&gt;      result_tab             = gt_results&lt;/P&gt;&lt;P&gt;      result_objec           = gt_objects&lt;/P&gt;&lt;P&gt;      result_struc           = gt_structs&lt;/P&gt;&lt;P&gt;    exceptions&lt;/P&gt;&lt;P&gt;      no_plvar_found         = 1&lt;/P&gt;&lt;P&gt;      no_entry_found         = 2&lt;/P&gt;&lt;P&gt;      others                 = 3&lt;/P&gt;&lt;P&gt;        .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Feb 2009 05:52:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-hrp1001/m-p/5166457#M1196479</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-25T05:52:05Z</dc:date>
    </item>
    <item>
      <title>Re: Function hrp1001</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-hrp1001/m-p/5166458#M1196480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;object type Contains a one- or two-character code that represents different types of objects, for example, 'S' for position, 'Q' for qualification and 'E' for business event.&lt;/P&gt;&lt;P&gt;in HR there is module org management...&lt;/P&gt;&lt;P&gt;in this the base are the objects..&lt;/P&gt;&lt;P&gt;we create a org structure..like org unit,position ,job etc..so all have their unique object type.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Feb 2009 05:55:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-hrp1001/m-p/5166458#M1196480</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-25T05:55:32Z</dc:date>
    </item>
    <item>
      <title>Re: Function hrp1001</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-hrp1001/m-p/5166459#M1196481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;so basically the function will help for a particular pernr also ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One more doubt.. Is this query right to check if a particular -pernr is a manager specify a flag 'X' in the ALV report... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT SINGLE SOBID FROM hrp1001 INTO cheif_sobid&lt;/P&gt;&lt;P&gt;                          WHERE plvar = c_current  01&lt;/P&gt;&lt;P&gt;                            AND otype = c_position s&lt;/P&gt;&lt;P&gt;                            AND objid = wa_final-plans&lt;/P&gt;&lt;P&gt;                            AND rsign = c_bottom_up a&lt;/P&gt;&lt;P&gt;                            AND relat = c_manages 012&lt;/P&gt;&lt;P&gt;                            AND sclas = c_jobgrp 'O'&lt;/P&gt;&lt;P&gt;                            AND begda &amp;lt;= pn-endda&lt;/P&gt;&lt;P&gt;                            AND endda &amp;gt;= pn-begda.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;    wa_final-chief = 'X'.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Feb 2009 06:01:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-hrp1001/m-p/5166459#M1196481</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-25T06:01:31Z</dc:date>
    </item>
    <item>
      <title>Re: Function hrp1001</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-hrp1001/m-p/5166460#M1196482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If U want to pass pernr then the conditions will change ...&lt;/P&gt;&lt;P&gt;Pernr is nothing but a person .. which is shown as 'P' .. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U can use the code to check if a person is a manager ..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Feb 2009 06:29:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-hrp1001/m-p/5166460#M1196482</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-25T06:29:00Z</dc:date>
    </item>
    <item>
      <title>Re: Function hrp1001</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-hrp1001/m-p/5166461#M1196483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What i meant is that i have pernr and i have position now i want to find the function of this pernr so what should i do?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Feb 2009 08:23:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-hrp1001/m-p/5166461#M1196483</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-25T08:23:06Z</dc:date>
    </item>
    <item>
      <title>Re: Function hrp1001</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-hrp1001/m-p/5166462#M1196484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;first get the position for this pernr ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select sobid into v_sobid&lt;/P&gt;&lt;P&gt;          from hrp1001&lt;/P&gt;&lt;P&gt;          where OTYPE = 'P'  and&lt;/P&gt;&lt;P&gt;                    OBJID = p_pernr and&amp;lt;-- pass pernr here&lt;/P&gt;&lt;P&gt;                   PLVAR = '01' and&lt;/P&gt;&lt;P&gt;                   RSIGN  = 'B' and&lt;/P&gt;&lt;P&gt;                   RELAT = '008' and&lt;/P&gt;&lt;P&gt;                   SCLAS = 'S'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now use this position in v_sobid.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Feb 2009 08:26:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-hrp1001/m-p/5166462#M1196484</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-25T08:26:57Z</dc:date>
    </item>
    <item>
      <title>Re: Function hrp1001</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-hrp1001/m-p/5166463#M1196485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So what u mean to say is to get the position of the pernr first and then check if it corresponds to being a manger and then give it a flag 'X'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Feb 2009 08:32:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-hrp1001/m-p/5166463#M1196485</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-25T08:32:07Z</dc:date>
    </item>
    <item>
      <title>Re: Function hrp1001</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-hrp1001/m-p/5166464#M1196486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Feb 2009 08:32:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-hrp1001/m-p/5166464#M1196486</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-25T08:32:52Z</dc:date>
    </item>
  </channel>
</rss>

