HTRSSK02 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.
If you would like to execute this report or see the full code listing simply enter HTRSSK02 into the relevant SAP transactions such as SE38 or SE80
This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.
INCLUDE RPC2CD00.
No SAP DATABASE tables are accessed within this REPORT code!
RP_GET_CURRENCY CALL FUNCTION 'RP_GET_CURRENCY' EXPORTING molga = '47' begda = s_begda IMPORTING waers = h_curr.
CURRENCY_CONVERTING_FACTOR CALL FUNCTION 'CURRENCY_CONVERTING_FACTOR' EXPORTING currency = h_curr IMPORTING factor = h_fact.
RP_LAST_DAY_OF_MONTHS CALL FUNCTION 'RP_LAST_DAY_OF_MONTHS' EXPORTING day_in = s_endda IMPORTING last_day_of_month = s_endda.
CU_READ_RGDIR CALL FUNCTION 'CU_READ_RGDIR' EXPORTING persnr = p0001-pernr IMPORTING molga = c_molga TABLES in_rgdir = rgdir EXCEPTIONS no_record_found = 1 OTHERS = 2.
PYXX_READ_PAYROLL_RESULT CALL FUNCTION 'PYXX_READ_PAYROLL_RESULT' EXPORTING clusterid = c_relid employeenumber = pernr-pernr sequencenumber = seqnr check_read_authority = 'X' CHANGING payroll_result = py_result EXCEPTIONS illegal_isocode_or_clusterid = 1 error_generating_import = 2 import_mismatch_error = 3 subpool_dir_full = 4 no_read_authority = 5 no_record_found = 6 versions_do_not_match = 7 OTHERS = 8.
HR_TR_CALC_MONTHS_AND_PERIODS CALL FUNCTION 'HR_TR_CALC_MONTHS_AND_PERIODS' EXPORTING p_begda = r_begda p_endda = r_endda p_actay = r_aktay IMPORTING p_months = py_months TABLES p_fpper = py_perio.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.