I am checking abap code for payroll result extraction. can you tell what macro 'rp-imp-c2-rk' do in the program?
Macro 'rp-imp-c2-XX' is used to read the payroll results from Cluster.
Here 'XX' represents the country code, in your case rk-Canada so the macro which you have mentioned will read the payroll results from the cluster for key RK-KEY i.e., pernr and sequence number.
Normally these macros will read payroll tables like RT, CRT ...etc from cluster. you can find this kind of macros in table 'TRMAC'.
Hope it is clear.