SAP Reports / Programs | Payroll | Non Profit Organizations(PY-NPO) SAP PY

PCPFYUN4 SAP ABAP INCLUDE - Include PCPFYUN4







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


INCLUDES used within this REPORT PCPFYUN4

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:

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING ** i_callback_pf_status_set = 'PF0' i_buffer_active = ' ' i_callback_program = gv_repid it_fieldcat = lt_fieldcat is_variant = ls_variant i_save = 'A' it_events = lt_events is_layout = ls_layout it_excluding = lt_exclude it_sort = lt_sorttab is_print = ls_print TABLES t_outtab = pt_outtab.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = gv_repid * i_internal_tabname = pv_tabname i_structure_name = pv_tabname * I_CLIENT_NEVER_DISPLAY = 'X' i_inclname = gv_repid * I_BYPASSING_BUFFER = * I_BUFFER_ACTIVE = CHANGING ct_fieldcat = pt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3 .

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = pt_events.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gt_listheader.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = i_program_name = sy-repid CHANGING ct_fieldcat = l_i_fieldcat EXCEPTIONS OTHERS = 99.

HR_PAL_NODE_ADD CALL FUNCTION 'HR_PAL_NODE_ADD' EXPORTING i_relatkey = cl_hr99b_pal=>c_root_node i_node_txt = l_txt_node i_categ_id = l_pal_categ_id IMPORTING e_node_key = obj_pal_log->g_node_key EXCEPTIONS OTHERS = 99.

HR_PAL_NODE_ADD CALL FUNCTION 'HR_PAL_NODE_ADD' exporting i_relatkey = obj_pal_log->g_node_key i_node_txt = text-ac3 I_CATEG_ID = '%MSGS' IMPORTING e_node_key = l_node_msg EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.

HR_PAL_NODE_MSG_ADD CALL FUNCTION 'HR_PAL_NODE_MSG_ADD' EXPORTING i_node_key = l_node_msg i_msgid = sy-msgid i_msgty = sy-msgty i_msgno = sy-msgno i_msgv1 = sy-msgv1 i_msgv2 = sy-msgv2 i_msgv3 = sy-msgv3 i_msgv4 = sy-msgv4 EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.

HR_PAL_STATS_MSG_ADD CALL FUNCTION 'HR_PAL_STATS_MSG_ADD' EXPORTING i_stcnt = gs_cnt-dl_a i_msgid = 'BL' i_msgno = '001' i_msgv1 = text-tsa EXCEPTIONS OTHERS = 99.

HR_PAL_STATS_MSG_ADD CALL FUNCTION 'HR_PAL_STATS_MSG_ADD' EXPORTING i_stcnt = gs_cnt-dl_d i_msgid = 'BL' i_msgno = '001' i_msgv1 = text-tsd EXCEPTIONS OTHERS = 99.

HR_PAL_STATS_MSG_ADD CALL FUNCTION 'HR_PAL_STATS_MSG_ADD' EXPORTING i_stcnt = gs_cnt-update i_msgid = sy-msgid i_msgno = sy-msgno i_msgv1 = sy-msgv1 i_msgv2 = sy-msgv2 i_msgv3 = sy-msgv3 i_msgv4 = sy-msgv4 EXCEPTIONS OTHERS = 99.

HR_PAL_NODE_ADD CALL FUNCTION 'HR_PAL_NODE_ADD' EXPORTING i_relatkey = cl_hr99b_pal=>c_root_node i_node_txt = pv_header_text i_categ_id = l_pal_categ_id IMPORTING e_node_key = obj_pal_log->g_node_key EXCEPTIONS OTHERS = 99.



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