Hi Experts,
I have requirement to convert payroll result from buffer to respective payroll tables i.e. RT, WPBP, BT, CRT etc
I have called the below FM to get the data in gt_tbuff and gt_buffer_dir.
CALL FUNCTION 'HR_PAYROLL'
EXPORTING
payroll_area = p0001-abkrs
payroll_period = l_month
payroll_year = l_year
selection_variant = 'VARIANT'
program_name = 'RPCALCX0'
tst_on = 'X'
TABLES
employee_numbers = gt_sim_pernr
buffer = gt_tbuff
buffer_directory = gt_buffer_dir
EXCEPTIONS
program_not_exist = 1
variant_not_exist = 2
missing_parameter = 3
wrong_parameter = 4
wrong_country_group = 5
OTHERS = 6.
now i have the values in gt_tbuff and gt_buffer_dir table.
i need to convert payroll result from buffer(gt_tbuff and gt_buffer_dir) to respective payroll tables i.e. RT, WPBP, BT, CRT etc
please let me know how can i get those tables filled from the buffer table.
Thanks,
Siva N