<?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 HR Query in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-query/m-p/3304998#M791469</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please tell me how to get the data from transacion pc00_m08_clstr (Display payroll results)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i give one pernr then it shows the whole data when i double click on that it gives RT table i need data from that RT (result table)table &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody help me how to take the data from that&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Answers will be rewarded&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Hitesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Feb 2008 12:51:52 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-06T12:51:52Z</dc:date>
    <item>
      <title>HR Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-query/m-p/3304998#M791469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please tell me how to get the data from transacion pc00_m08_clstr (Display payroll results)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i give one pernr then it shows the whole data when i double click on that it gives RT table i need data from that RT (result table)table &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody help me how to take the data from that&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Answers will be rewarded&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Hitesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2008 12:51:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-query/m-p/3304998#M791469</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-06T12:51:52Z</dc:date>
    </item>
    <item>
      <title>Re: HR Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-query/m-p/3304999#M791470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Double Click on the RT(results table) .. and look for the &lt;/P&gt;&lt;P&gt;wagetype and the amount associated to it ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If U want to write it in the form of a program ...&lt;/P&gt;&lt;P&gt;data: it_rgdir like pc261 occurs 0 with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   CALL FUNCTION 'CU_READ_RGDIR'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        persnr   = pernr &lt;/P&gt;&lt;P&gt;      TABLES&lt;/P&gt;&lt;P&gt;        in_rgdir = it_rgdir.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;      SORT it_rgdir BY seqnr.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        LOOP AT it_rgdir WHERE srtza = 'A'&lt;/P&gt;&lt;P&gt;                    AND   void IS INITIAL&lt;/P&gt;&lt;P&gt;                    AND   reversal IS INITIAL&lt;/P&gt;&lt;P&gt;                    AND   fpper = v_fpper. &amp;lt;---  pass the period &lt;/P&gt;&lt;P&gt;          v_seqnr = it_rgdir-seqnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        rx-key-pernr = it_loans-pernr.&lt;/P&gt;&lt;P&gt;        rx-key-seqno = v_seqnr.&lt;/P&gt;&lt;P&gt;        rp-imp-c2-ru.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        Loop at rt where lgart = '' &amp;lt;-- pass wage types U want&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;          get the amount rt-betrg&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2008 13:01:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-query/m-p/3304999#M791470</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-06T13:01:53Z</dc:date>
    </item>
    <item>
      <title>Re: HR Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-query/m-p/3305000#M791471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;first include the following includes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INCLUDE rpc2ruu0.&lt;/P&gt;&lt;P&gt;INCLUDE rpc2rx09.&lt;/P&gt;&lt;P&gt;INCLUDE rpc2cd09.&lt;/P&gt;&lt;P&gt;INCLUDE rpc2ca00.&lt;/P&gt;&lt;P&gt;INCLUDE rpppxd00.&lt;/P&gt;&lt;P&gt;INCLUDE rpppxd10.&lt;/P&gt;&lt;P&gt;INCLUDE rpppxm00.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call the following FM per each pernr,&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'CU_READ_RGDIR'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    persnr                   = v_pernr&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  BUFFER                   =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  NO_AUTHORITY_CHECK       = ' '&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;  MOLGA                    =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    in_rgdir                 = rgdir&lt;/P&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;P&gt;   no_record_found          = 1&lt;/P&gt;&lt;P&gt;   OTHERS                   = 2&lt;/P&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at rgdir.&lt;/P&gt;&lt;P&gt;rx-key-pernr = it_pernr-pernr.&lt;/P&gt;&lt;P&gt; rx-key-seqno = rgdir-seqnr.&lt;/P&gt;&lt;P&gt; rp-imp-c2-ru.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT rt &lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;*U can use the all the pernr payroll data like RT etc.&lt;/P&gt;&lt;P&gt;what data u see on that transaction&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2008 13:02:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-query/m-p/3305000#M791471</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-06T13:02:33Z</dc:date>
    </item>
    <item>
      <title>Re: HR Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-query/m-p/3305001#M791472</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;Use the following sequence of FMs for retrieving RT cluster&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
*&amp;amp;---------------------------------------------------------------------*
* getting the Area identifier for cluster in tables PCLx with pernr
*----------------------------------------------------------------------*
  CALL FUNCTION 'PYXX_GET_RELID_FROM_PERNR'
    EXPORTING
      employee                    = pernr-pernr
    IMPORTING
      relid                       = g_relid
      molga                       = g_molga
    EXCEPTIONS
      error_reading_infotype_0001 = 1
      error_reading_molga         = 2
      error_reading_relid         = 3
      OTHERS                      = 4.
  IF sy-subrc &amp;lt;&amp;gt; 0.
* MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
* WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
  ENDIF.
*&amp;amp;---------------------------------------------------------------------*
* Reading the RGDIR directory with molga and pernr
*----------------------------------------------------------------------*
  CALL FUNCTION 'CU_READ_RGDIR'
    EXPORTING
      persnr          = pernr-pernr
    IMPORTING
      molga           = g_molga
    TABLES
      in_rgdir        = it_rgdir
    EXCEPTIONS
      no_record_found = 1
      OTHERS          = 2.

*&amp;amp;---------------------------------------------------------------------*
* Reading the RGDIR directory with latest valid record
*----------------------------------------------------------------------*
  CALL FUNCTION 'CD_READ_LAST'
    EXPORTING
      begin_date      = pnpbegda
      end_date        = pnpendda
    IMPORTING
      out_seqnr       = g_seqnr
    TABLES
      rgdir           = it_rgdir
    EXCEPTIONS
      no_record_found = 1
      OTHERS          = 2.
  IF sy-subrc = 0.
    LOOP AT it_rgdir INTO wa_rgdir.
      wa_data-begda = wa_rgdir-fpbeg.
      wa_data-endda = wa_rgdir-fpend.
    ENDLOOP.
  ENDIF.
*&amp;amp;---------------------------------------------------------------------*
* Reading the Payroll results and getting records into it_result
*----------------------------------------------------------------------*
  IF g_seqnr &amp;lt;&amp;gt; 0.
    CALL FUNCTION 'PYXX_READ_PAYROLL_RESULT'
      EXPORTING
        clusterid                    = g_relid       "'RM'
        employeenumber               = pernr-pernr
        sequencenumber               = g_seqnr
      CHANGING
        payroll_result               = it_result
      EXCEPTIONS
        illegal_isocode_or_clusterid = 1
        error_generating_import      = 2
        import_mismatch_error        = 3
        subpool_dir_full             = 4
        no_read_authority            = 5
        no_record_found              = 6
        versions_do_not_match        = 7
        error_reading_archive        = 8
        error_reading_relid          = 9
        OTHERS                       = 10.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and finally the it_result table has a nested structure which contains RT table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
 LOOP AT it_result-inter-rt INTO wa_rt.
ENDLOOP.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Aditya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2008 13:06:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-query/m-p/3305001#M791472</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-06T13:06:53Z</dc:date>
    </item>
    <item>
      <title>Re: HR Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-query/m-p/3305002#M791473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hii&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just want to know how we can fill this RT table is this is a R/3 table or internal table&lt;/P&gt;&lt;P&gt;what will be the structure of this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help me&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;hitesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2008 13:08:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-query/m-p/3305002#M791473</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-06T13:08:18Z</dc:date>
    </item>
    <item>
      <title>Re: HR Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-query/m-p/3305003#M791474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is a structure .. PC207&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is filled when U call the macro rp-imp-c2-ru ... &lt;/P&gt;&lt;P&gt;after U declare an internal table like PC207 .. pass rt to that ..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2008 13:10:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-query/m-p/3305003#M791474</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-06T13:10:55Z</dc:date>
    </item>
    <item>
      <title>Re: HR Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-query/m-p/3305004#M791475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi srinivas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can u please provide the full program so that i can try it out and figure the values &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;hitesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2008 13:16:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-query/m-p/3305004#M791475</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-06T13:16:23Z</dc:date>
    </item>
    <item>
      <title>Re: HR Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-query/m-p/3305005#M791476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For US specific&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Include the following includes ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INCLUDE RPC2CD09.           "Cluster CD Data-Definition&lt;/P&gt;&lt;P&gt;INCLUDE RPC2CA00.           "Cluster CA Data-Definition  "XUJP30K079863&lt;/P&gt;&lt;P&gt;INCLUDE RPC2RUU0.           "Cluster RU Data-Definition&lt;/P&gt;&lt;P&gt;INCLUDE RPC2RX09.           "Cluster RU Data-Definition internat. part&lt;/P&gt;&lt;P&gt;INCLUDE RPPPXD00.           "Data befinition buffer PCL1/PCL2&lt;/P&gt;&lt;P&gt;INCLUDE RPPPXD10.           "Common part buffer PCL1/PCL2&lt;/P&gt;&lt;P&gt;INCLUDE RPPPXM00.           "Buffer handling routine&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters : p_pernr like pa0000-pernr.&lt;/P&gt;&lt;P&gt;data :  it_rgdir like pc261 occurs 0 with header line.&lt;/P&gt;&lt;P&gt;data : it_rt like pc207 occurs 0 with header line.&lt;/P&gt;&lt;P&gt;data : v_seqnr like pc261-seqnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'CU_READ_RGDIR'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;   persnr = p_pernr &lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;   in_rgdir = it_rgdir.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;  SORT it_rgdir BY seqnr.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT it_rgdir WHERE srtza = 'A'&lt;/P&gt;&lt;P&gt;AND void IS INITIAL&lt;/P&gt;&lt;P&gt;AND reversal IS INITIAL&lt;/P&gt;&lt;P&gt;AND fpper = v_fpper. &amp;lt;--- pass the period &lt;/P&gt;&lt;P&gt;v_seqnr = it_rgdir-seqnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rx-key-pernr = p_pernr.&lt;/P&gt;&lt;P&gt;rx-key-seqno = v_seqnr.&lt;/P&gt;&lt;P&gt;rp-imp-c2-ru.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it_rt[] = rt[].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at it_rt .  "where lgart = '/101' .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  write &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; it_rt-betrg .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2008 13:24:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-query/m-p/3305005#M791476</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-06T13:24:15Z</dc:date>
    </item>
  </channel>
</rss>

