SAP Reports / Programs | Payroll | Argentina(PY-AR) SAP PY

PCSIGARF SAP ABAP INCLUDE - documentation and ABAP source code







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

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_AR_INIT_BUFFER CALL FUNCTION 'HR_AR_INIT_BUFFER' EXPORTING iv_program_name = 'HARCALC0'.

HR_APPEND_ERROR_LIST CALL FUNCTION 'HR_APPEND_ERROR_LIST' EXPORTING pernr = gt_employee_numbers-pernr arbgb = 'PG' msgty = 'W' msgno = '130' msgv1 = l_begda EXCEPTIONS OTHERS = 1.

HR_COPY_TBUFF_TO_BUFFER CALL FUNCTION 'HR_COPY_TBUFF_TO_BUFFER' EXPORTING clusterid = lv_relid TABLES buffer = l_paybuffer-tbuff buffer_directory = l_paybuffer-buffer_dir EXCEPTIONS error_buffertab = 1 OTHERS = 2.

CU_READ_RGDIR_NEW CALL FUNCTION 'CU_READ_RGDIR_NEW' EXPORTING persnr = gt_employee_numbers-pernr TABLES in_rgdir = lt_rgdir EXCEPTIONS NO_RECORD_FOUND = 1 OTHERS = 2.

CU_READ_RGDIR CALL FUNCTION 'CU_READ_RGDIR' EXPORTING persnr = gt_employee_numbers-pernr buffer = p_paybuffer TABLES in_rgdir = lt_rgdir EXCEPTIONS no_record_found = 1 OTHERS = 2.

CD_SELECT_SRTZA CALL FUNCTION 'CD_SELECT_SRTZA' EXPORTING RECORD_TYPE = gc_pay_actual_status TABLES in_rgdir = lt_rgdir out_rgdir = lt_rgdir_actual.

CD_SELECT_PAYDT_RANGE CALL FUNCTION 'CD_SELECT_PAYDT_RANGE' EXPORTING paydt_low = l_begda paydt_high = l_endda TABLES in_rgdir = lt_rgdir_actual out_rgdir = lt_rgdir_out.

HR_PL_IMPORT_LOG_FROM_MEMORY CALL FUNCTION 'HR_PL_IMPORT_LOG_FROM_MEMORY' EXPORTING mem_key = p_memkey.

HR_PL_BUILD_LOG_TREE_C CALL FUNCTION 'HR_PL_BUILD_LOG_TREE_C' EXPORTING imp_level = '1' TABLES exp_tree = logtab.

HR_APPEND_ERROR_LIST CALL FUNCTION 'HR_APPEND_ERROR_LIST' EXPORTING pernr = gt_employee_numbers-pernr arbgb = 'HRCALARREPORTING' msgty = 'E' msgno = '070' msgv1 = logtab-text+000(50) msgv2 = logtab-text+050(25) EXCEPTIONS OTHERS = 1.

PYXX_READ_PAYROLL_RESULT CALL FUNCTION 'PYXX_READ_PAYROLL_RESULT' EXPORTING clusterid = 'AR' employeenumber = p_pernr sequencenumber = p_rgdir-seqnr * read_only_buffer = p_paybuffer check_read_authority = ' ' CHANGING payroll_result = ls_payresult EXCEPTIONS OTHERS = 1.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = pernr-pernr infty = lc_infty TABLES infty_tab = lt_0015 EXCEPTIONS OTHERS = 0.

HR_PAL_CREATE_NODE_CATEG CALL FUNCTION 'HR_PAL_CREATE_NODE_CATEG' EXPORTING i_categ_id = c_pal_categids-results i_structure_name = c_alv_structures-results EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_CREATE_NODE_CATEG CALL FUNCTION 'HR_PAL_CREATE_NODE_CATEG' EXPORTING i_categ_id = c_pal_categids-arcimp i_structure_name = c_alv_structures-arcimp EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_NODE_ADD CALL FUNCTION 'HR_PAL_NODE_ADD' EXPORTING i_relatkey = 'ROOT' i_node_txt = 'Número Personal con Exito'(101) "EC * IMPORTING e_node_key = l_pernr_node EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_NODE_ADD CALL FUNCTION 'HR_PAL_NODE_ADD' EXPORTING i_relatkey = 'ROOT' i_categ_id = '%MSGS' i_node_txt = 'Número Personal con Error'(102) "EC * IMPORTING e_node_key = l_error_node EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_NODE_ADD CALL FUNCTION 'HR_PAL_NODE_ADD' EXPORTING i_relatkey = l_pernr_node i_node_txt = ls_simul_imp-pernr i_categ_id = c_pal_categids-results IMPORTING e_node_key = l_results_node EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_NODE_ADD CALL FUNCTION 'HR_PAL_NODE_ADD' EXPORTING i_relatkey = l_results_node i_node_txt = l_results_txt i_categ_id = c_pal_categids-arcimp IMPORTING e_node_key = l_arcimp_node EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_NODE_ADD_ROW





CALL FUNCTION 'HR_PAL_NODE_ADD_ROW' EXPORTING i_node_key = l_results_node i_row_data = ls_simul_results EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_NODE_ADD_ROW CALL FUNCTION 'HR_PAL_NODE_ADD_ROW' EXPORTING i_node_key = l_arcimp_node i_row_data = ls_simul_arcimp EXCEPTIONS program_error = 1 OTHERS = 2.

HR_GET_ERROR_LIST CALL FUNCTION 'HR_GET_ERROR_LIST' TABLES error = l_error_tab[] EXCEPTIONS OTHERS = 0.

HR_PAL_GENRL_MSG_ADD CALL FUNCTION 'HR_PAL_GENRL_MSG_ADD' EXPORTING i_node_key = l_error_node i_msgid = -arbgb i_msgty = -msgty i_msgno = -msgno i_msgv1 = -msgv1 i_msgv2 = -msgv2 i_msgv3 = -msgv3 i_msgv4 = -msgv4 EXCEPTIONS OTHERS = 0.

HR_PAL_PERNR_MSG_ADD CALL FUNCTION 'HR_PAL_PERNR_MSG_ADD' EXPORTING i_node_key = l_error_node i_pernr = -pernr i_msgid = -arbgb i_msgty = -msgty i_msgno = -msgno i_msgv1 = -msgv1 i_msgv2 = -msgv2 i_msgv3 = -msgv3 i_msgv4 = -msgv4 EXCEPTIONS OTHERS = 0.

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

ENQUEUE_EPPRELE CALL FUNCTION 'ENQUEUE_EPPRELE' EXPORTING pernr = record-pernr EXCEPTIONS foreign_lock = 0 system_failure = 1.

HR_INFOTYPE_OPERATION CALL FUNCTION 'HR_INFOTYPE_OPERATION' EXPORTING infty = record-infty number = record-pernr subtype = record-subty objectid = record-objps lockindicator = abap_true validityend = record-endda validitybegin = record-begda recordnumber = record-seqnr record = record operation = 'CHK' nocommit = abap_true IMPORTING return = return.

DEQUEUE_EPPRELE CALL FUNCTION 'DEQUEUE_EPPRELE' EXPORTING pernr = record-pernr.

BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = ls_log IMPORTING e_log_handle = l_log_handle EXCEPTIONS OTHERS = 1.

BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING i_log_handle = l_log_handle i_s_msg = ls_msg EXCEPTIONS OTHERS = 1.

BAL_DSP_PROFILE_POPUP_GET CALL FUNCTION 'BAL_DSP_PROFILE_POPUP_GET' IMPORTING e_s_display_profile = ls_display_profile EXCEPTIONS OTHERS = 1.

BAL_DSP_LOG_DISPLAY CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' EXPORTING i_s_display_profile = ls_display_profile EXCEPTIONS OTHERS = 1.

BAL_LOG_REFRESH CALL FUNCTION 'BAL_LOG_REFRESH' EXPORTING i_log_handle = l_log_handle EXCEPTIONS OTHERS = 1.

CU_READ_RGDIR CALL FUNCTION 'CU_READ_RGDIR' EXPORTING persnr = ls_employee_number-pernr TABLES in_rgdir = lt_rgdir_real EXCEPTIONS no_record_found = 1 OTHERS = 2.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = pernr-pernr infty = lc_infty TABLES infty_tab = lt_0003 EXCEPTIONS OTHERS = 0.



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