SAP Reports / Programs

RPTZKMN3 SAP ABAP Report - Electronic Notifications of Illness and Recovery







RPTZKMN3 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You use the Electronic Notifications of Illness an Recovery (RPTZKMN3) report to send electronic notifications regarding absences caused by illness and maternity leave to the Dutch Social Authorities (UWV), as well as (if you have created customer specific coding for this) to other receivers (e...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter RPTZKMN3 into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

PC00_M05_ZKMN3 - elec. Illness & Rcvy: Send Notifi.


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 RPTZKMN3. "Basic submit
SUBMIT RPTZKMN3 AND RETURN. "Return to original report after report execution complete
SUBMIT RPTZKMN3 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: SO_MSGTY = D .
Selection Text: SP_DRDAT = D .
Selection Text: SP_LOG = D .
Selection Text: SP_PRMSG = D .
Selection Text: SP_REFDA = D .
Selection Text: SP_REMSG = D .
Selection Text: SP_TMSGC = D .
Selection Text: SP_TMSGS = D .
Title: Electronic Notifications of Illness and Recovery
Text Symbol: DEL = Log
Text Symbol: FM0 = Other Selection
Text Symbol: FM1 = Notification Processing
Text Symbol: FM2 = Output
Text Symbol: I02 = Message successfully sent
Text Symbol: I03 = Message failed
Text Symbol: T01 = Detailed Data


INCLUDES used within this REPORT RPTZKMN3

INCLUDE: RPTZKMN3_D01.
INCLUDE RPTZKMN3_T01.


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:

RS_REFRESH_FROM_SELECTOPTIONS CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS' EXPORTING curr_report = sy-cprog TABLES selection_table = gt_sel_table EXCEPTIONS not_found = 1 no_report = 2 OTHERS = 3.

HR_REFRESH_STAT_LIST CALL FUNCTION 'HR_REFRESH_STAT_LIST'. "GZA1747249

HR_APPEND_STAT_LIST CALL FUNCTION 'HR_APPEND_STAT_LIST' EXPORTING selected = gv_procpernr processed = gv_succpernr rejected = gv_rejpernr.

HR_PAL_LOG_AND_ALV_DISPLAY CALL FUNCTION 'HR_PAL_LOG_AND_ALV_DISPLAY' EXPORTING i_callback_user_command = 'CALLBACK_USER_COMMAND' i_s_display_profile = ls_disp_prof i_callback_program = lv_repid i_structure_name = lc_struc_name i_grid_title = text-t01 is_layout = lv_layout i_save = 'A' i_default = abap_true is_variant = lv_variant TABLES t_outtab = gt_disp_overview EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_EPERN_MSG_ADD CALL FUNCTION 'HR_PAL_EPERN_MSG_ADD' EXPORTING i_pernr = uv_pernr i_ename = uv_ename i_msgid = uv_msgid i_msgty = uv_msgty i_msgno = uv_msgno i_msgv1 = uv_msgv1 i_msgv2 = uv_msgv2 i_msgv3 = uv_msgv3 i_msgv4 = uv_msgv4 EXCEPTIONS program_error = 1 OTHERS = 2.

HR_NL_LA_ERROR_MESSAGE CALL FUNCTION 'HR_NL_LA_ERROR_MESSAGE' EXPORTING i_sy_subrc = uv_subrc i_fm_name = uv_fm_name i_sy_msgid = uv_msgid i_sy_msgty = uv_msgty i_sy_msgno = uv_msgno i_sy_msgv1 = uv_msgv1 i_sy_msgv2 = uv_msgv2 i_sy_msgv3 = uv_msgv3 i_sy_msgv4 = uv_msgv4.

HR_CHECK_AUTHORITY_TCODE CALL FUNCTION 'HR_CHECK_AUTHORITY_TCODE' EXPORTING tcode = lc_tcode level = lc_auth_read min_checks = abap_true EXCEPTIONS no_authorization = 1 OTHERS = 2.

HR_CHECK_AUTHORITY_INFTY CALL FUNCTION 'HR_CHECK_AUTHORITY_INFTY' EXPORTING tclas = 'A' pernr = uv_pernr infty = lc_infty_3250 subty = uv_subty begda = uv_begda endda = uv_endda level = lc_auth_read EXCEPTIONS no_authorization = 1 internal_error = 2 OTHERS = 3.

NUMBER_GET_NEXT CALL FUNCTION 'NUMBER_GET_NEXT' EXPORTING nr_range_nr = lc_interval_no object = lc_nr_object toyear = lv_nr_year IMPORTING number = cs_key_buffer-msgno EXCEPTIONS interval_not_found = 1 number_range_not_intern = 2 object_not_found = 3 quantity_is_0 = 4 quantity_is_not_1 = 5 interval_overflow = 6 buffer_overflow = 7 OTHERS = 8.

HR_NL_GET_ADDRESS CALL FUNCTION 'HR_NL_GET_ADDRESS' EXPORTING i_date = sp_refda i_anart = lc_anart_ei_cont i_ankey = us_relmngmt-ctprp IMPORTING adres = ls_address.

HR_NL_GET_ADDRESS CALL FUNCTION 'HR_NL_GET_ADDRESS' EXPORTING i_date = sp_refda i_anart = lc_anart_ei i_ankey = us_relmngmt-adrrp IMPORTING adres = ls_address.

HR_NL_GET_ADDRESS CALL FUNCTION 'HR_NL_GET_ADDRESS' EXPORTING i_date = sp_refda i_anart = lc_anart_ei i_ankey = us_relmngmt-adrrp IMPORTING adres = ls_address.

HR_NL_GET_ADDRESS CALL FUNCTION 'HR_NL_GET_ADDRESS' EXPORTING i_date = sp_refda i_anart = lc_anart_reper_cont i_ankey = us_relmngmt_uwv-ctprp IMPORTING adres = ls_address.

HR_NL_GET_ADDRESS CALL FUNCTION 'HR_NL_GET_ADDRESS' EXPORTING i_date = sp_refda i_anart = lc_anart_reper i_ankey = us_relmngmt_uwv-ctprp IMPORTING adres = ls_address.

HR_NL_GET_ADDRESS CALL FUNCTION 'HR_NL_GET_ADDRESS' EXPORTING i_date = sp_refda i_anart = lc_anart_reper i_ankey = us_relmngmt_uwv-adrrp IMPORTING adres = ls_address.

HR_NL_CHECK_SRG_DATUM CALL FUNCTION 'HR_NL_CHECK_SRG_DATUM' EXPORTING imp_juper = ls_p0001-juper imp_svgrp = ls_p0059-svgrp imp_datum = sp_refda IMPORTING exp_sector = lv_sector exp_risicogroep = lv_risgrp EXCEPTIONS sector_not_customized = 1 risicogroep_not_customized = 2 juper_not_in_t5n14 = 3 svgrp_not_in_t5n12 = 4 sectorrisicogroep_not_valid = 5 OTHERS = 6.

HR_NL_LA_HIRE_FIRE CALL FUNCTION 'HR_NL_LA_HIRE_FIRE' IMPORTING fire_date = cs_ikv-enddaiv hire_date = cs_ikv-begdaiv TABLES pphifi = lt_phifi pp0000 = p0000 pp0001 = p0001 EXCEPTIONS feature_error = 1 OTHERS = 2.

HR_NL_LEEFTIJD_BEPALEN CALL FUNCTION 'HR_NL_LEEFTIJD_BEPALEN' EXPORTING geboortedatum = ls_p0002-gbdat bepalingsdatum = us_p3250-begda IMPORTING leeftijd = ls_pme03-agejj EXCEPTIONS nog_niet_geboren = 1 OTHERS = 2.

HR_FEATURE_BACKTABLE





CALL FUNCTION 'HR_FEATURE_BACKTABLE' EXPORTING feature = 'NLZGN' struc_content = ls_pme03 kind_of_error = lv_retcode TABLES back = lt_result.

HR_PAL_GENRL_MSG_ADD CALL FUNCTION 'HR_PAL_GENRL_MSG_ADD' EXPORTING i_msgid = p_msgid i_msgty = p_msgty i_msgno = p_msgno i_msgv1 = p_msgv1 i_msgv2 = p_msgv2 i_msgv3 = p_msgv3 i_msgv4 = p_msgv4 EXCEPTIONS program_error = 1 OTHERS = 2.

HR_NL_PW_GET_RELATED_ILLNESSES CALL FUNCTION 'HR_NL_PW_GET_RELATED_ILLNESSES' EXPORTING pernr = pernr-pernr intbegda = sp_drdat intendda = sp_refda param = lc_pw_illness_overview molga = gc_molga IMPORTING ev_maternity = lv_maternity TABLES itabill = gt_related_illnesses EXCEPTIONS error_reading_infotype = 1 no_records_2001 = 2 OTHERS = 3.

HR_PERSONAL_WORK_SCHEDULE CALL FUNCTION 'HR_PERSONAL_WORK_SCHEDULE' EXPORTING pernr = uv_pernr begda = uv_begda endda = uv_endda working_hours = abap_true TABLES i0000 = p0000 i0001 = p0001 i0002 = p0002 i0007 = p0007 i2001 = p2001 i2002 = p2002 i2003 = p2003 perws = ct_psp EXCEPTIONS error_occured = 1 abort_occured = 2 OTHERS = 3.

HR_NL_SV_DAY_OF_THE_WEEK_1 CALL FUNCTION 'HR_NL_SV_DAY_OF_THE_WEEK_1' EXPORTING imp_datum = lv_date IMPORTING exp_day = lv_day_of_the_week.

HR_NL_READ_RELATIEMANAGEMENT CALL FUNCTION 'HR_NL_READ_RELATIEMANAGEMENT' EXPORTING i_begda = uv_begda i_endda = uv_endda i_soort = uv_soort IMPORTING e_relaties_tab = lt_relations.

HR_NL_LA_JUPER_TO_REPER CALL FUNCTION 'HR_NL_LA_JUPER_TO_REPER' EXPORTING i_juper = ls_p0001-juper IMPORTING e_reper = lv_reper EXCEPTIONS OTHERS = 0.

DD_INT_TABL_GET CALL FUNCTION 'DD_INT_TABL_GET' EXPORTING tabname = p_strucname IMPORTING dd02v_a = l_dd02v EXCEPTIONS internal_error = 1 OTHERS = 2.

HR_PAL_CREATE_NODE_CATEG CALL FUNCTION 'HR_PAL_CREATE_NODE_CATEG' EXPORTING i_categ_id = p_categ_id i_structure_name = p_strucname i_save = 'A' "Standard- und Benutzerlayouts i_default = 'X' "LLEACRK015529 is_layout = l_layout i_s_print_options = l_print_options is_variant = ls_variant EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_NODE_ADD CALL FUNCTION 'HR_PAL_NODE_ADD' EXPORTING i_relatkey = c_root i_node_txt = p_text i_categ_id = p_categ_id IMPORTING e_node_key = l_node_key EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_NODE_ADD_ROW CALL FUNCTION 'HR_PAL_NODE_ADD_ROW' EXPORTING i_node_key = l_node_key i_row_data = p_table EXCEPTIONS program_error = 1 OTHERS = 2.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = lc_green_traffic_light info = text-i02 IMPORTING RESULT = ls_disp_overview-succ EXCEPTIONS OTHERS = 0.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = lc_red_traffic_light info = text-i03 IMPORTING RESULT = ls_disp_overview-succ EXCEPTIONS OTHERS = 0.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = lc_red_traffic_light info = text-i03 IMPORTING RESULT = ls_disp_overview-succ EXCEPTIONS OTHERS = 0.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = lc_red_traffic_light info = text-i03 IMPORTING RESULT = ls_disp_overview-succ EXCEPTIONS OTHERS = 0.

ENQUEUE_E_NL_EIR_ADM CALL FUNCTION 'ENQUEUE_E_NL_EIR_ADM' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

HR_FEATURE_BACKFIELD CALL FUNCTION 'HR_FEATURE_BACKFIELD' EXPORTING feature = 'NLEI1' struc_content = l_pmen9 IMPORTING back = l_back EXCEPTIONS OTHERS = 0.

HR_NL_GET_VALIDITY_OF_APPL CALL FUNCTION 'HR_NL_GET_VALIDITY_OF_APPL' EXPORTING imp_application = lc_appl_service_active imp_datum = sp_refda imp_molga = gc_molga IMPORTING exp_valid = gv_med_service_active.






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