SAP Reports / Programs

HTRSSK09 SAP ABAP Report - Unemployment declaration







HTRSSK09 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 HTRSSK09 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 HTRSSK09. "Basic submit
SUBMIT HTRSSK09 AND RETURN. "Return to original report after report execution complete
SUBMIT HTRSSK09 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 HTRSSK09

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.

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 = ' ' IMPORTING p_months = py_months TABLES p_fpper = py_perio.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = pernr-pernr infty = '0001' endda = h_fire TABLES infty_tab = inf001.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = pernr-pernr infty = '0001' endda = '99991231' TABLES infty_tab = inf001.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = pernr-pernr infty = '0000' endda = d_begda TABLES infty_tab = inf000.

RP_GET_CURRENCY CALL FUNCTION 'RP_GET_CURRENCY' EXPORTING molga = '47' begda = rgdir-fpbeg IMPORTING waers = o_curr.

CURRENCY_CONVERTING_FACTOR CALL FUNCTION 'CURRENCY_CONVERTING_FACTOR' EXPORTING currency = o_curr IMPORTING factor = o_fact.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING client = sy-mandt date = rgdir-fpbeg foreign_amount = py_rt-betrg foreign_currency = o_curr local_currency = h_curr IMPORTING local_amount = ssint-betrg.

GET_DOMAIN_VALUES CALL FUNCTION 'GET_DOMAIN_VALUES' EXPORTING domname = 'PTR_CITY' text = 'X' TABLES values_tab = iller.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = tab_ssint-pernr infty = '0001' begda = tab_ssint-hire endda = tab_ssint-fire TABLES infty_tab = inf001 EXCEPTIONS infty_not_found = 1 OTHERS = 2.

RP_GET_CURRENCY CALL FUNCTION 'RP_GET_CURRENCY' EXPORTING molga = '47' begda = rgdir-fpbeg IMPORTING waers = o_curr.

CURRENCY_CONVERTING_FACTOR CALL FUNCTION 'CURRENCY_CONVERTING_FACTOR' EXPORTING currency = o_curr IMPORTING factor = o_fact.

RP_LAST_DAY_OF_MONTHS CALL FUNCTION 'RP_LAST_DAY_OF_MONTHS' EXPORTING day_in = rgdir-fpbeg IMPORTING last_day_of_month = rgdir-fpend.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING client = sy-mandt date = rgdir-fpbeg foreign_amount = $tab-betrg foreign_currency = o_curr local_currency = h_curr IMPORTING local_amount = bes_betrg.



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 HTRSSK09 or its description.