<?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: Upload payroll in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-payroll/m-p/7625164#M1570646</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Don't know it sounds strange to upload payroll of one country to other, as generally payroll is country dependant. And there are many country dependant cluster. But may be you can try the FM CU_WRITE_RGDIR_NEW. Also you can user macros available, which can be checked from table TRMAC. They generally follow the naming convention, RP-EXP-, next two will identify the country and specific cluster you are trying to upload.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ranganath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Feb 2011 09:17:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-02-16T09:17:13Z</dc:date>
    <item>
      <title>Upload payroll</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-payroll/m-p/7625163#M1570645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts I need your help, I have a problem and I can't resolve.&lt;/P&gt;&lt;P&gt;In my job I need to move the payroll from a country (BR) to another country (MX), Each country is in different client.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To download the data from BR, I used the fm HCRM_PAYROLL_RESULTS_GET and return me all the sequences&lt;/P&gt;&lt;P&gt;and all tables asociates to employee (RT, CRT, etc). I work with Logical Database PNP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for update the payroll in MX (with data of BR) I used some fm, for example I used the fm CU_READ_RGDIR to validate if exist&lt;/P&gt;&lt;P&gt;the sequences of the employee. (The employee exist in all tables of PA in MX) But the fm CU_READ_RGDIR always return me the table RGDIR empty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The question is, If exist some function or some way to upload the data to RGDIR from a client to another client?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Feb 2011 22:31:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-payroll/m-p/7625163#M1570645</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-15T22:31:27Z</dc:date>
    </item>
    <item>
      <title>Re: Upload payroll</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-payroll/m-p/7625164#M1570646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Don't know it sounds strange to upload payroll of one country to other, as generally payroll is country dependant. And there are many country dependant cluster. But may be you can try the FM CU_WRITE_RGDIR_NEW. Also you can user macros available, which can be checked from table TRMAC. They generally follow the naming convention, RP-EXP-, next two will identify the country and specific cluster you are trying to upload.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ranganath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Feb 2011 09:17:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-payroll/m-p/7625164#M1570646</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-16T09:17:13Z</dc:date>
    </item>
    <item>
      <title>Re: Upload payroll</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-payroll/m-p/7625165#M1570647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your answer Ranganath, but I used the FM CU_WRITE_RGDIR_NEW and return me nothing. For example, this is my code: &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;I read the table RGDIR to see if there are sequences used&lt;/P&gt;&lt;/LI&gt;&lt;/UL&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        = 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 NE 0. "The employee not have sequences.&lt;/P&gt;&lt;P&gt;      CALL FUNCTION 'CU_WRITE_RGDIR_NEW'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;          persnr                    = p_pernr&lt;/P&gt;&lt;P&gt;          molga                     = p_molga&lt;/P&gt;&lt;P&gt;       TABLES&lt;/P&gt;&lt;P&gt;          rgdir                     =      rgdir&lt;/P&gt;&lt;P&gt;       EXCEPTIONS&lt;/P&gt;&lt;P&gt;        NO_UPDATE_AUTHORITY       = 1&lt;/P&gt;&lt;P&gt;        OTHERS                    = 2.&lt;/P&gt;&lt;P&gt;    IF sy-subrc &amp;lt;&amp;gt; 0. "Always is TRUE, becouse RGDIR is empty.&lt;/P&gt;&lt;P&gt;         MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;P&gt;         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;P&gt;       EXIT.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt; ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where:&lt;/P&gt;&lt;P&gt;p_pernr is the of the employee ( in this case employee exist in the tables PA's, but not have sequences).&lt;/P&gt;&lt;P&gt;p_molga is the molga of the country to import.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What's wrong?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Feb 2011 16:29:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-payroll/m-p/7625165#M1570647</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-16T16:29:53Z</dc:date>
    </item>
  </channel>
</rss>

