<?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: Querying pc_payresult values in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/querying-pc-payresult-values/m-p/3850356#M925634</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;U need to get the payroll results as ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Call function CU_READ_RGDIR to get the results directory&lt;/P&gt;&lt;P&gt;for a particular pernr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at rgdir where FPBEG = v_FPBEG&lt;/P&gt;&lt;P&gt;                   and     FPEND = v_FPEND.&lt;/P&gt;&lt;P&gt;  v_seqnr = rgdir-seqnr.&lt;/P&gt;&lt;P&gt;Endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use this seqnr and pernr and call macro ..&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-seqnr = v_seqnr.&lt;/P&gt;&lt;P&gt;&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;*get BETRG based on the required LGART ... &lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 May 2008 10:28:43 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-20T10:28:43Z</dc:date>
    <item>
      <title>Querying pc_payresult values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/querying-pc-payresult-values/m-p/3850355#M925633</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;Please suggest how to capture the values - for period and the start date for period and end date for period as per the values found in pc_payresult.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Binay.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 May 2008 10:19:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/querying-pc-payresult-values/m-p/3850355#M925633</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-20T10:19:23Z</dc:date>
    </item>
    <item>
      <title>Re: Querying pc_payresult values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/querying-pc-payresult-values/m-p/3850356#M925634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;U need to get the payroll results as ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Call function CU_READ_RGDIR to get the results directory&lt;/P&gt;&lt;P&gt;for a particular pernr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at rgdir where FPBEG = v_FPBEG&lt;/P&gt;&lt;P&gt;                   and     FPEND = v_FPEND.&lt;/P&gt;&lt;P&gt;  v_seqnr = rgdir-seqnr.&lt;/P&gt;&lt;P&gt;Endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use this seqnr and pernr and call macro ..&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-seqnr = v_seqnr.&lt;/P&gt;&lt;P&gt;&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;*get BETRG based on the required LGART ... &lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 May 2008 10:28:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/querying-pc-payresult-values/m-p/3850356#M925634</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-20T10:28:43Z</dc:date>
    </item>
    <item>
      <title>Re: Querying pc_payresult values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/querying-pc-payresult-values/m-p/3850357#M925635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;   u will check the cluster table PC261.&lt;/P&gt;&lt;P&gt; DATA: BEGIN OF RGDIR OCCURS 100.&lt;/P&gt;&lt;P&gt;          INCLUDE STRUCTURE PC261.&lt;/P&gt;&lt;P&gt;  DATA: END OF RGDIR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA:  RESULT TYPE PAY99_RESULT,    " Payroll Result&lt;/P&gt;&lt;P&gt;         MY_RT LIKE PC207 OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM GET_RGDIR.&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;   FORM GET_RGDIR.&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;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;  IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;*write: 'yes'.&lt;/P&gt;&lt;P&gt;  ELSE.&lt;/P&gt;&lt;P&gt;*write: 'no'.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; LOOP AT RGDIR WHERE FPBEG GE P_BEGDA AND FPEND LE P_ENDDA.&lt;/P&gt;&lt;P&gt;   data move from cluster table to internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 May 2008 10:35:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/querying-pc-payresult-values/m-p/3850357#M925635</guid>
      <dc:creator>geetha_k</dc:creator>
      <dc:date>2008-05-20T10:35:56Z</dc:date>
    </item>
  </channel>
</rss>

