SAP Reports / Programs | Payroll | Austria | Public Sector(PY-AT-PS) SAP PY

RPCNGWAFRA SAP ABAP INCLUDE - documentation and ABAP source code







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

No INCLUDES are used within this REPORT code!


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_AT_GET_PART_APPL CALL FUNCTION 'HR_AT_GET_PART_APPL' EXPORTING reportname = g_cprog IMPORTING appl = p_appl EXCEPTIONS part_application_not_found = 1 OTHERS = 2.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gt_text_top.

HR_GET_PAYROLL_RESULTS CALL FUNCTION 'HR_GET_PAYROLL_RESULTS' EXPORTING pernr = pernr-pernr permo = c_permo pabrj = g_abrjf_v pabrp = g_abrpf_v pabrj_end = g_abrjf_b pabrp_end = g_abrpf_b actual = 'A' " SPACE with retros " 'X' without retros " 'A' actual from database TABLES result_tab = i_payroll_result EXCEPTIONS no_results = 4 wrong_structure_of_result_tab = 6 OTHERS = 8.

REUSE_ALV_VARIANT_F4 CALL FUNCTION 'REUSE_ALV_VARIANT_F4' EXPORTING is_variant = ls_variant i_save = 'A' IMPORTING e_exit = l_exit es_variant = ls_variant EXCEPTIONS not_found = 2.

RP_LAST_DAY_OF_MONTHS CALL FUNCTION 'RP_LAST_DAY_OF_MONTHS' EXPORTING day_in = pn-endda IMPORTING last_day_of_month = pn-endda EXCEPTIONS OTHERS = 0.

HR_PAL_PERNR_MSG_ADD CALL FUNCTION 'HR_PAL_PERNR_MSG_ADD' EXPORTING i_pernr = p_pernr i_msgid = p_arbgb i_msgty = p_msgty i_msgno = p_msgno i_msgv1 = l_m1 i_msgv2 = l_m2 i_msgv3 = l_m3 i_msgv4 = l_m4 EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_GENRL_MSG_ADD CALL FUNCTION 'HR_PAL_GENRL_MSG_ADD' EXPORTING i_msgid = p_arbgb i_msgty = p_msgty i_msgno = p_msgno i_msgv1 = l_m1 i_msgv2 = l_m2 i_msgv3 = l_m3 i_msgv4 = l_m4 EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_STATS_STANDARD_MSG_ADD CALL FUNCTION 'HR_PAL_STATS_STANDARD_MSG_ADD' EXPORTING i_selected_ee = g_select i_successful_ee = g_proces i_erroneous_ee = g_reject 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 = l_s_flat_profile EXCEPTIONS no_logs = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = g_cprog i_structure_name = ic_structure_name CHANGING ct_fieldcat = xt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = g_cprog i_callback_pf_status_set = 'ALV_EVENT_PF_STATUS' is_layout = l_layout_tab it_fieldcat = l_fieldcat_tab i_save = 'A' is_variant = l_variant it_event_exit = l_exit_tab it_events = l_event_tab IMPORTING es_exit_caused_by_user = l_exit TABLES t_outtab = p_outtab EXCEPTIONS program_error = 1 OTHERS = 2.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = 'Protokol enthällt Fehler'(001) text_question = 'Liste trotzdem anzeigen?'(002) display_cancel_button = c_false IMPORTING answer = l_answer EXCEPTIONS OTHERS = 0.

MONTH_NAMES_GET CALL FUNCTION 'MONTH_NAMES_GET' EXPORTING language = sy-langu TABLES month_names = pt_t247 EXCEPTIONS month_names_not_found = 1 OTHERS = 2.

HR_FEATURE_BACKTABLE CALL FUNCTION 'HR_FEATURE_BACKTABLE' EXPORTING feature = p_merkmal struc_content = pmep7 kind_of_error = space TABLES back = gt_back CHANGING status = l_status EXCEPTIONS OTHERS = 1.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = lt_pernr-pernr infty = c_0813 legacy_mode = c_true IMPORTING subrc = l_subrc TABLES infty_tab = lt_p0813 EXCEPTIONS infty_not_found = 1 OTHERS = 2.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING tclas = 'A' pernr = p_pernr infty = c_0813 begda = c_from_date endda = c_to_date bypass_buffer = c_true IMPORTING subrc = l_subrc TABLES infty_tab = lt_p0813 EXCEPTIONS OTHERS = 0.

HR_PAL_CREATE_NODE_CATEG CALL FUNCTION 'HR_PAL_CREATE_NODE_CATEG' EXPORTING i_categ_id = l_categ_id i_structure_name = p_strucname i_save = 'A' "Standard- und Benutzerlayouts 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 = l_text i_categ_id = l_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.



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