SAP Reports / Programs

HTRSSK02 SAP ABAP Report - documentation and ABAP source code







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


ABAP code to call this SAP report using the submit statement

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.






SUBMIT HTRSSK02. "Basic submit
SUBMIT HTRSSK02 AND RETURN. "Return to original report after report execution complete
SUBMIT HTRSSK02 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


INCLUDES used within this REPORT HTRSSK02

INCLUDE RPC2CD00.


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

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.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name HTRSSK02 or its description.