SAP Reports / Programs | Personnel Management | Personnel Administration | Kingdom of Saudi Arabia(PA-PA-SA) SAP PA

HSAPSAZ4_F01 SAP ABAP INCLUDE - Include HSAPSAZ4_F01







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


Text pool values


Title: Include HSAPSAZ4_F01


INCLUDES used within this REPORT HSAPSAZ4_F01

INCLUDE RPUMKC00 .


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:

HR_PAL_NODE_ADD CALL FUNCTION 'HR_PAL_NODE_ADD' EXPORTING i_relatkey = 'ROOT' i_node_txt = text-020 IMPORTING e_node_key = gv_results_node EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_CREATE_NODE_CATEG CALL FUNCTION 'HR_PAL_CREATE_NODE_CATEG' EXPORTING i_categ_id = 'DATA' is_layout = ls_layout it_fieldcat = lt_fieldcat is_pushbuttons = l_pushbuttons EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_NODE_ADD CALL FUNCTION 'HR_PAL_NODE_ADD' EXPORTING i_relatkey = pv_results_node i_node_txt = lv_cc_cap i_categ_id = 'DATA' i_icon = lv_icon IMPORTING e_node_key = cv_node EXCEPTIONS program_error = 1 OTHERS = 2.

ROUND CALL FUNCTION 'ROUND' EXPORTING decimals = 0 input = ls_total-s_perc sign = '-' IMPORTING output = ls_total-s_perc EXCEPTIONS input_invalid = 1 overflow = 2 type_invalid = 3 OTHERS = 4.

HR_PAL_NODE_ADD_ROW CALL FUNCTION 'HR_PAL_NODE_ADD_ROW' EXPORTING i_node_key = pv_node i_row_data = ls_display EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE *CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' * EXPORTING * I_PROGRAM_NAME = sy-repid * I_INTERNAL_TABNAME = 'GT_WEEK_HCOUNT' ** I_STRUCTURE_NAME = ** I_CLIENT_NEVER_DISPLAY = 'X' ** I_INCLNAME = ** I_BYPASSING_BUFFER = ** I_BUFFER_ACTIVE = * CHANGING * ct_fieldcat = lt_fieldcat_week * EXCEPTIONS * INCONSISTENT_INTERFACE = 1 * PROGRAM_ERROR = 2 * OTHERS = 3 * .

HR_PAL_CREATE_NODE_CATEG * CALL FUNCTION 'HR_PAL_CREATE_NODE_CATEG' * EXPORTING * i_categ_id = 'WEEK' * it_fieldcat = lt_fieldcat_week * EXCEPTIONS * program_error = 1 * OTHERS = 2.

HR_PAL_CREATE_NODE_CATEG * CALL FUNCTION 'HR_PAL_CREATE_NODE_CATEG' * EXPORTING * i_categ_id = 'PROF' * is_layout = ls_layout * it_fieldcat = lt_fieldcat_prof * EXCEPTIONS * program_error = 1 * OTHERS = 2.

HR_PAL_CREATE_NODE_CATEG CALL FUNCTION 'HR_PAL_CREATE_NODE_CATEG' EXPORTING i_categ_id = 'PROF' is_layout = ls_layout it_fieldcat = lt_fieldcat_prof is_pushbuttons = l_pushbuttons EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_CREATE_NODE_CATEG CALL FUNCTION 'HR_PAL_CREATE_NODE_CATEG' EXPORTING i_categ_id = 'CATE' is_layout = ls_layout it_fieldcat = lt_fieldcat_cate * is_pushbuttons = l_pushbuttons EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_NODE_ADD CALL FUNCTION 'HR_PAL_NODE_ADD' EXPORTING i_relatkey = pv_node i_node_txt = lv_node_cc i_categ_id = 'DATA' "i_icon = lv_icon IMPORTING e_node_key = gs_nodes-cv_week EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_NODE_ADD_ROW CALL FUNCTION 'HR_PAL_NODE_ADD_ROW' EXPORTING i_node_key = gs_nodes-cv_week i_row_data = gs_week_hcount EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_NODE_ADD CALL FUNCTION 'HR_PAL_NODE_ADD' EXPORTING i_relatkey = gs_nodes-cv_week i_node_txt = text-033 "'Categories' i_categ_id = 'CATE' "i_icon = lv_icon IMPORTING e_node_key = gs_nodes-cv_cate EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_NODE_ADD_ROW CALL FUNCTION 'HR_PAL_NODE_ADD_ROW' EXPORTING i_node_key = gs_nodes-cv_cate i_row_data = gs_collect EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_NODE_ADD CALL FUNCTION 'HR_PAL_NODE_ADD' EXPORTING i_relatkey = gs_nodes-cv_week i_node_txt = text-024"'Professions' i_categ_id = 'PROF'"'DATA' "i_icon = lv_icon IMPORTING e_node_key = gs_nodes-cv_prof EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_NODE_ADD_ROW CALL FUNCTION 'HR_PAL_NODE_ADD_ROW' EXPORTING i_node_key = gs_nodes-cv_prof i_row_data = gs_pos EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_STATS_MSG_ADD CALL FUNCTION 'HR_PAL_STATS_MSG_ADD' EXPORTING i_stcnt = pv_count_pernr i_msgid = 'RP' i_msgno = '016' i_msgv1 = pv_msgv1_pernr EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_STATS_MSG_ADD CALL FUNCTION 'HR_PAL_STATS_MSG_ADD' EXPORTING i_stcnt = pv_count_success i_msgid = 'RP' i_msgno = '016' i_msgv1 = pv_msgv1_success EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_STATS_MSG_ADD





CALL FUNCTION 'HR_PAL_STATS_MSG_ADD' EXPORTING i_stcnt = pv_count_excl i_msgid = 'RP' i_msgno = '016' i_msgty = 'W' i_msgv1 = pv_msgv1_excl EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_STATS_MSG_ADD CALL FUNCTION 'HR_PAL_STATS_MSG_ADD' EXPORTING i_stcnt = pv_count_error i_msgid = 'RP' i_msgty = 'E' i_msgno = '016' i_msgv1 = pv_msgv1_error EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_CREATE_NODE_CATEG CALL FUNCTION 'HR_PAL_CREATE_NODE_CATEG' EXPORTING i_categ_id = 'ERROR' i_with_msg_fields = 'X' EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_PERNR_MSG_ADD CALL FUNCTION 'HR_PAL_PERNR_MSG_ADD' EXPORTING i_node_key = lv_node_key i_pernr = ls_message-pernr i_msgid = ls_message-msg-msgid i_msgty = ls_message-msg-msgty i_msgno = ls_message-msg-msgno i_msgv1 = ls_message-msg-msgv1 i_msgv2 = ls_message-msg-msgv2 i_msgv3 = ls_message-msg-msgv3 i_msgv4 = ls_message-msg-msgv4 EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_NODE_ADD CALL FUNCTION 'HR_PAL_NODE_ADD' EXPORTING i_relatkey = 'ERROR' i_node_txt = text-017 i_categ_id = 'ERROR' IMPORTING e_node_key = lv_node_key EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_NODE_MSG_ADD CALL FUNCTION 'HR_PAL_NODE_MSG_ADD' EXPORTING i_node_key = lv_node_key i_msgid = ls_message-msg-msgid i_msgty = ls_message-msg-msgty i_msgno = ls_message-msg-msgno i_msgv1 = ls_message-msg-msgv1 i_msgv2 = ls_message-msg-msgv2 i_msgv3 = ls_message-msg-msgv3 i_msgv4 = ls_message-msg-msgv4 i_context = ls_message-pernr EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_LOG_DISPLAY CALL FUNCTION 'HR_PAL_LOG_DISPLAY' EXPORTING i_s_display_profile = ls_display_profile * I_S_FLAT_PROFILE = EXCEPTIONS program_error = 1 no_logs = 2 OTHERS = 3.

RP_GET_HIRE_DATE CALL FUNCTION 'RP_GET_HIRE_DATE' EXPORTING persnr = pernr-pernr check_infotypes = '0000' * datumsart = '01' * status2 = '3' ** P0016_OPTIONEN = ' ' IMPORTING hiredate = gv_hiredte.

RP_GET_FIRE_DATE CALL FUNCTION 'RP_GET_FIRE_DATE' EXPORTING persnr = pernr-pernr status2 = '0' IMPORTING firedate = gv_termdte.

GFW_PRES_SHOW CALL FUNCTION 'GFW_PRES_SHOW' EXPORTING container = 'CONTAINER' parent = lcl_dynpro_entry_screen=>dialogbox_container presentation_type = 31"gfw_prestype_pie_chart" header = lv_header "text-008 * x_axis_title = x_axis_title * y_axis_title = y_axis_title TABLES values = lt_values column_texts = column_texts EXCEPTIONS error_occurred = 1 OTHERS = 2.

RP_FILL_WAGE_TYPE_TABLE CALL FUNCTION 'RP_FILL_WAGE_TYPE_TABLE' EXPORTING begda = gv_hiredte endda = gv_termdte infty = '0008' pernr = pernr-pernr TABLES ppbwla = gt_ppbwla_0008 EXCEPTIONS error_at_indirect_evaluation = 1 OTHERS = 2.

RP_FILL_WAGE_TYPE_TABLE CALL FUNCTION 'RP_FILL_WAGE_TYPE_TABLE' EXPORTING begda = gv_hiredte endda = gv_termdte infty = '0014' subty = ' ' pernr = pernr-pernr dlspl = 'X' TABLES ppbwla = gt_ppbwla_0014 EXCEPTIONS error_at_indirect_evaluation = 1 OTHERS = 2.



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