Site icon SAP Human Resources Experts And Solutions

Run payroll simulation from ABAP

<p>Sometime you&&num;8217&semi;ll need this module to run payroll simulation from ABAP program&period; It won&&num;8217&semi;t change any data but will provide you with cluster results or remuneration statement&comma; that could be useful&period;<&sol;p>&NewLine;<p>Here it is HRTO&lowbar;AU&lowbar;PAY&lowbar;PROCESS&lowbar;SIMULATION&period; Adjust it for your country and be happy&period;<&sol;p>&NewLine;<p>Basically&comma; it runs payroll simulation function module with some wrapping around it&period;<&sol;p>&NewLine;<p><&excl;--more--><&sol;p>&NewLine;<pre class&equals;"lang&colon;abap decode&colon;true" title&equals;"Payroll Simulation from ABAP"> CALL FUNCTION 'HR&lowbar;PAYROLL&lowbar;SIMULATION' &NewLine; EXPORTING &NewLine; payroll&lowbar;area &equals; payroll&lowbar;area &NewLine; payroll&lowbar;period &equals; payroll&lowbar;period &NewLine; payroll&lowbar;year &equals; payroll&lowbar;year &NewLine; payroll&lowbar;type &equals; payroll&lowbar;type &NewLine; payroll&lowbar;id &equals; payroll&lowbar;id &NewLine; payroll&lowbar;date &equals; payroll&lowbar;date &NewLine; selection&lowbar;variant &equals; calc&lowbar;variant &NewLine; payroll&lowbar;ocrsn &equals; payroll&lowbar;ocrsn &NewLine; log&lowbar;mem&lowbar;key &equals; memo&lowbar;key &NewLine; country&lowbar;grp &equals; molga &NewLine; obj&lowbar;iprel &equals; obj&lowbar;iprel &NewLine; prt&lowbar;prot &equals; display&lowbar;log &NewLine; TABLES &NewLine; employee&lowbar;numbers &equals; pernrs &NewLine; buffer &equals; tbuff &NewLine; buffer&lowbar;directory &equals; buffer&lowbar;dir &NewLine; ps&lowbar;oper &equals; psoper &NewLine; EXCEPTIONS &NewLine; program&lowbar;not&lowbar;exist &equals; 1 &NewLine; variant&lowbar;not&lowbar;exist &equals; 2 &NewLine; missing&lowbar;parameter &equals; 3 &NewLine; wrong&lowbar;parameter &equals; 4 &NewLine; wrong&lowbar;country&lowbar;group &equals; 5 &NewLine; OTHERS &equals; 6&period;<&sol;pre>&NewLine;<p>&nbsp&semi;<&sol;p>&NewLine;

Exit mobile version