SAP Reports / Programs | Payroll | Ireland(PY-IE) SAP PY

PCALVIE0 SAP ABAP INCLUDE - HR-IE: Generic ALV output routine







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


Text pool values


Title: HR-IE: Generic ALV output routine


INCLUDES used within this REPORT PCALVIE0

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_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_structure_name = stru_name is_layout = layout i_save = 'A' is_variant = variant TABLES t_outtab = data_tab EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING is_layout = layout it_fieldcat = fieldcat i_save = 'A' is_variant = variant TABLES t_outtab = data_tab EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING is_layout = layout it_fieldcat = fieldcat i_save = 'A' is_variant = variant TABLES t_outtab = data_tab EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = report i_callback_user_command = form_name i_callback_pf_status_set = guiform_name it_excluding = gui_excl_tab it_fieldcat = fieldcat it_events = gt_event it_event_exit = gt_event_exit is_layout = layout i_save = 'A' is_variant = variant TABLES t_outtab = data_tab EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING * I_PROGRAM_NAME = * I_INTERNAL_TABNAME = i_structure_name = stru_name * I_CLIENT_NEVER_DISPLAY = 'X' * I_INCLNAME = * I_BYPASSING_BUFFER = * I_BUFFER_ACTIVE = CHANGING ct_fieldcat = fieldcatalog[] EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gt_list_top_of_page * I_LOGO = * I_END_OF_LIST_GRID = .

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = list_type IMPORTING et_events = gt_event EXCEPTIONS list_type_wrong = 1 OTHERS = 2.

REUSE_ALV_VARIANT_DEFAULT_GET CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET' EXPORTING i_save = p_save CHANGING cs_variant = p_xs_variant EXCEPTIONS not_found = 2.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = gt_events[].

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_structure_name = stru_name i_callback_program = p_report is_layout = layout i_save = 'A' is_variant = variant it_events = pt_events[] TABLES t_outtab = data_tab EXCEPTIONS program_error = 1 OTHERS = 2.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = p_icon_name info = p_info add_stdinf = 'X' IMPORTING RESULT = p_indco EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2.

LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING i_structure_name = p_tabn i_bypassing_buffer = 'X' CHANGING ct_fieldcat = lt_fieldcatalog.

HR_PAL_STATS_MSG_ADD call function 'HR_PAL_STATS_MSG_ADD' exporting i_stcnt = l_num i_msgid = 'BL' i_msgno = '001' i_msgv1 = text-st1 exceptions others = 99.

HR_PAL_STATS_MSG_ADD call function 'HR_PAL_STATS_MSG_ADD' exporting i_stcnt = l_num i_msgid = 'BL' i_msgno = '001' i_msgv1 = text-st2 exceptions others = 99.

HR_PAL_STATS_MSG_ADD call function 'HR_PAL_STATS_MSG_ADD' exporting i_stcnt = l_num i_msgid = 'BL' i_msgno = '001' i_msgv1 = text-st3 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 = text-014 i_categ_id = c_pal_categids-ae_reported importing e_node_key = obj_pal_log->g_node_key exceptions others = 99.

HR_PAL_NODE_ADD_ROW call function 'HR_PAL_NODE_ADD_ROW' exporting i_node_key = obj_pal_log->g_node_key i_row_data = l_exp_tab exceptions others = 99.

HR_PAL_PERNR_MSG_ADD call function 'HR_PAL_PERNR_MSG_ADD' exporting i_pernr = l_hrerror-pernr i_msgid = l_hrerror-arbgb i_msgty = l_hrerror-msgty i_msgno = l_hrerror-msgno i_msgv1 = l_hrerror-msgv1 i_msgv2 = l_hrerror-msgv2 i_msgv3 = l_hrerror-msgv3 i_msgv4 = l_hrerror-msgv4 exceptions program_error = 1 others = 2.

HR_PAL_GENRL_MSG_ADD





call function 'HR_PAL_GENRL_MSG_ADD' exporting i_msgid = l_hrerror-arbgb i_msgty = l_hrerror-msgty i_msgno = l_hrerror-msgno i_msgv1 = l_hrerror-msgv1 i_msgv2 = l_hrerror-msgv2 i_msgv3 = l_hrerror-msgv3 i_msgv4 = l_hrerror-msgv4 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 PCALVIE0 or its description.