Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3523

Need to convert payroll result(HR_PAYROLL) from buffer to respective payroll tables i.e. RT, WPBP, BT, CRT etc

$
0
0

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


Viewing all articles
Browse latest Browse all 3523

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>