SAP Reports / Programs | Payroll | Spain(PY-ES) SAP PY

RPCAFIF3 SAP ABAP INCLUDE - documentation and ABAP source code







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

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_E_GET_NISSE_FOR_PERNR CALL FUNCTION 'HR_E_GET_NISSE_FOR_PERNR' EXPORTING pers_num = p_wa_0799-pernr actual_date = wa_afitab-begcon IMPORTING nisse = l_nisse TABLES p_tab_p0001 = p0001_tab[] * P_TAB_WPBP = p_tab_p0061 = p0061_tab[] * P_TAB_SV = EXCEPTIONS error = 1 OTHERS = 2.

HR_E_GET_PART_TIME_COEF CALL FUNCTION 'HR_E_GET_PART_TIME_COEF' EXPORTING p_pernr = pernr-pernr p_hocon = p0061_tab-hocon p_dicon = p0061_tab-dicon p_date = p0061_tab-begda IMPORTING p_coeficiente = wa_afitab-coetp TABLES t0001 = p0001_tab t0007 = p0007_tab t0008 = p0008_tab EXCEPTIONS error = 1 coetp_exceeded = 2 OTHERS = 3.

ENQUEUE_READ CALL FUNCTION 'ENQUEUE_READ' EXPORTING gclient = sy-mandt gname = 'PREL' garg = space guname = '*' IMPORTING number = sy-tabix subrc = error TABLES enq = l_blocked_pernr.

HR_E_GET_SV_TICON CALL FUNCTION 'HR_E_GET_SV_TICON' EXPORTING * P_SV = * P_TICON = p_pesoc = help_pesoc p_t_parc = falg_t_parc p_codes = wa_afitab-cond_desmp p_fecha = wa_afitab-begcon p_metod = wa_afitab-metod IMPORTING * P_IDSEG = p_clcon = clcon.

HR_GET_BUSINESS_ADD_IN CALL FUNCTION 'HR_GET_BUSINESS_ADD_IN' EXPORTING exit_name = 'HRPAYES_AFIE0' IMPORTING is_implemented = l_is_implemented CHANGING instance = l_exit_obj.

HR_GET_BUSINESS_ADD_IN CALL FUNCTION 'HR_GET_BUSINESS_ADD_IN' EXPORTING exit_name = 'HRPAYES_AFIE0' IMPORTING is_implemented = lv_is_implemented CHANGING instance = lb_exit_obj.

HR_PAYROLL CALL FUNCTION 'HR_PAYROLL' EXPORTING payroll_area = p_abkrs payroll_period = l_period payroll_year = l_year selection_variant = s_calvar program_name = 'RPCALCE0' log_mem_key = l_log_mem_key tst_on = 'X' prt_prot = space TABLES employee_numbers = l_tab_pay_sim_pernr buffer = l_buffer-tbuff[] buffer_directory = l_buffer-buffer_dir[] EXCEPTIONS program_not_exist = 1 variant_not_exist = 2 missing_parameter = 3 wrong_parameter = 4 wrong_country_group = 5 OTHERS = 6.

CU_READ_RGDIR CALL FUNCTION 'CU_READ_RGDIR' EXPORTING persnr = p_pernr buffer = l_buffer TABLES in_rgdir = rgdir.

HR_ES_CD_ACTUALS_FOR_INPER CALL FUNCTION 'HR_ES_CD_ACTUALS_FOR_INPER' EXPORTING inper = l_inper p_fpbeg = p_date p_fpend = p_date p_pernr = p_pernr TABLES evpdir = evp p_rgdir = rgdir EXCEPTIONS no_record_found = 1 error = 2 OTHERS = 3.

HR_GET_PAYROLL_RESULTS CALL FUNCTION 'HR_GET_PAYROLL_RESULTS' EXPORTING pernr = p_pernr permo = '01' pabrj = l_year pabrp = l_period pabrj_end = l_year pabrp_end = l_period actual = 'A' " SPACE ... with retros

HR_ES_GET_CONTAINER_LIST CALL FUNCTION 'HR_ES_GET_CONTAINER_LIST' EXPORTING p_conte = l_contenedor p_date = p_date IMPORTING p_cont_wt_list = l_tab_cont_wt EXCEPTIONS no_container = 1 OTHERS = 2.

HR_GET_BUSINESS_ADD_IN CALL FUNCTION 'HR_GET_BUSINESS_ADD_IN' EXPORTING exit_name = 'HRPAYES_AFIE0' IMPORTING is_implemented = l_is_implemented CHANGING instance = l_exit_obj.

HR_MAINTAIN_MASTERDATA CALL FUNCTION 'HR_MAINTAIN_MASTERDATA' EXPORTING pernr = p_wa_afi-pernr actio = 'MOD' begda = p_wa_afi-fec_begda endda = p_wa_afi-fec_endda objps = p_wa_afi-objps seqnr = p_wa_afi-seqnr subty = l_subty IMPORTING return = return return1 = return1 hr_return = hr_return TABLES proposed_values = propval[].

HR_GET_BUSINESS_ADD_IN CALL FUNCTION 'HR_GET_BUSINESS_ADD_IN' EXPORTING exit_name = 'HRPAYES_AFIE0' IMPORTING is_implemented = l_is_implemented CHANGING instance = l_exit_obj.

HR_ES_GET_NISSE_DATA CALL FUNCTION 'HR_ES_GET_NISSE_DATA' EXPORTING p_i_nisse = wa_afitab-nisse p_i_date = wa_afitab-begcon IMPORTING p_e_nisse_data = l_nisse_data.

HR_ES_GET_NISSE_DATA CALL FUNCTION 'HR_ES_GET_NISSE_DATA' EXPORTING p_i_nisse = nisse_principal p_i_date = wa_afitab-begcon IMPORTING p_e_nisse_data = l_nissg_data.

HR_ES_GET_NISSE_DATA CALL FUNCTION 'HR_ES_GET_NISSE_DATA' EXPORTING p_i_nisse = wa_afitab-nisse p_i_date = wa_afitab-begcon IMPORTING p_e_nisse_data = l_nisse_data.

HR_GET_BUSINESS_ADD_IN CALL FUNCTION 'HR_GET_BUSINESS_ADD_IN' EXPORTING exit_name = 'HRPAYES_AFIE0' IMPORTING is_implemented = l_is_implemented CHANGING instance = l_exit_obj.

HR_E_CONTRACT_CLASSIF





CALL FUNCTION 'HR_E_CONTRACT_CLASSIF' EXPORTING p_date = p_date p_idseg = p_ticon p_metod = p_metod p_meto2 = p_metod "No se necesita para esta llamada IMPORTING p_classif = p_contract_class EXCEPTIONS error = 1 OTHERS = 2.

HR_E_GET_SV_TICON CALL FUNCTION 'HR_E_GET_SV_TICON' EXPORTING p_ticon = p_ticon p_pesoc = p_pesoc IMPORTING p_idseg = contract_id.

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

HR_PAL_LOG_REFRESH CALL FUNCTION 'HR_PAL_LOG_REFRESH' EXPORTING I_WITH_ERR_AND_STAT_LIST = space I_KEEP_CATEG = 'X' EXCEPTIONS OTHERS = 99.

HR_E_GET_HELP_VALUES_NISSE CALL FUNCTION 'HR_E_GET_HELP_VALUES_NISSE' CHANGING nisse = p_nisse.

HR_PAL_CREATE_NODE_CATEG CALL FUNCTION 'HR_PAL_CREATE_NODE_CATEG' EXPORTING i_categ_id = 'RESULT' i_structure_name = 'BAL_HR_EXT' i_with_msg_fields = 'X' i_msg_text_pos = 3 i_icon_ltext_pos = 4 EXCEPTIONS program_error = 1 OTHERS = 2.

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

HR_GET_BUSINESS_ADD_IN CALL FUNCTION 'HR_GET_BUSINESS_ADD_IN' EXPORTING exit_name = 'HRPAYES_AFIE0' IMPORTING is_implemented = l_is_implemented CHANGING instance = l_exit_obj.

HR_PAL_TABLE_CREATE_COLUMN call function 'HR_PAL_TABLE_CREATE_COLUMN' exporting i_fieldname = 'PERNR' i_rollname = 'PERSNO' changing it_fieldcat = l_empleados_fcat EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2 .

HR_PAL_TABLE_CREATE_COLUMN call function 'HR_PAL_TABLE_CREATE_COLUMN' exporting i_fieldname = 'ACCAF' i_rollname = 'PES_ACCAFI' changing it_fieldcat = l_empleados_fcat EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2 .

HR_PAL_TABLE_CREATE_COLUMN call function 'HR_PAL_TABLE_CREATE_COLUMN' exporting i_fieldname = 'MOTAF' i_rollname = 'PES_MOTAFI' changing it_fieldcat = l_empleados_fcat EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2 .

HR_PAL_TABLE_CREATE_COLUMN call function 'HR_PAL_TABLE_CREATE_COLUMN' exporting i_fieldname = 'BEGDA' i_rollname = 'BEGDA' i_seltext_m = 'X' changing it_fieldcat = l_empleados_fcat EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2 .

HR_PAL_TABLE_CREATE_COLUMN call function 'HR_PAL_TABLE_CREATE_COLUMN' exporting i_fieldname = 'ENDDA' i_rollname = 'ENDDA' i_seltext_m = 'X' changing it_fieldcat = l_empleados_fcat EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2 .

HR_PAL_TABLE_CREATE_COLUMN call function 'HR_PAL_TABLE_CREATE_COLUMN' exporting i_fieldname = 'IT0799' i_rollname = 'PES_XFELD' i_seltext_s = 'Existe'(011) i_seltext_m = 'Existe'(011) i_seltext_l = 'Existe para esa fecha'(012) changing it_fieldcat = l_empleados_fcat EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2 .

HR_PAL_TABLE_CREATE_COLUMN call function 'HR_PAL_TABLE_CREATE_COLUMN' exporting i_fieldname = 'STAFI' i_rollname = 'CHAR10' i_seltext_s = 'Estado'(017) i_seltext_m = 'Estado'(017) i_seltext_l = 'Estado de Mensaje'(018) changing it_fieldcat = l_empleados_fcat EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2 .

HR_PAL_CREATE_NODE_CATEG call function 'HR_PAL_CREATE_NODE_CATEG' exporting i_categ_id = 'AFITAB' it_fieldcat = l_empleados_fcat I_ROWMARK = 'X' is_pushbuttons = l_w_cat i_save = 'A' is_variant = l_disvariant i_default = 'X' exceptions program_error = 1 others = 2.

HR_PAL_NODE_ADD CALL FUNCTION 'HR_PAL_NODE_ADD' EXPORTING i_relatkey = 'ROOT' i_node_txt = 'Automatismos procesados'(003) i_categ_id = 'AFITAB' * i_expand = 'X' IMPORTING e_node_key = l_temse_node EXCEPTIONS program_error = 1 OTHERS = 2.

DD_DOMVALUE_TEXT_GET CALL FUNCTION 'DD_DOMVALUE_TEXT_GET' EXPORTING domname = l_domname value = l_value langu = sy-langu IMPORTING dd07v_wa = l_descr EXCEPTIONS OTHERS = 0.

HR_PAL_NODE_ADD_ROW CALL FUNCTION 'HR_PAL_NODE_ADD_ROW' EXPORTING i_node_key = l_temse_node i_row_data = reg_line EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_LOG_DISPLAY CALL FUNCTION 'HR_PAL_LOG_DISPLAY' EXPORTING i_s_display_profile = l_display_profile * i_s_flat_profile = EXCEPTIONS no_logs = 0 OTHERS = 2.




HR_PAL_LOG_REFRESH CALL FUNCTION 'HR_PAL_LOG_REFRESH' EXPORTING I_WITH_ERR_AND_STAT_LIST = space I_KEEP_CATEG = 'X' EXCEPTIONS OTHERS = 99.

HR_ES_GET_NISSE_DATA CALL FUNCTION 'HR_ES_GET_NISSE_DATA' EXPORTING P_I_NISSE = wa_afitab-nisse P_I_DATE = wa_afitab-begcon IMPORTING P_E_NISSE_DATA = l_nisse_data EXCEPTIONS ERROR = 1 OTHERS = 2.

HR_ES_GET_NISSE_DATA CALL FUNCTION 'HR_ES_GET_NISSE_DATA' EXPORTING p_i_nisse = ls_afitab-nisse p_i_date = ls_afitab-begcon IMPORTING p_e_nisse_data = lv_nisse_data.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'VALUE' value_org = 'S' " structure TABLES value_tab = lt_f4_help[] return_tab = lt_ret EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'VALUE' value_org = 'S' " structure TABLES value_tab = lt_f4_help[] return_tab = lt_ret EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.

DD_DOMVALUES_GET CALL FUNCTION 'DD_DOMVALUES_GET' EXPORTING domname = pv_domain_name langu = sy-langu text = abap_true TABLES dd07v_tab = lt_dd07v[] EXCEPTIONS wrong_textflag = 1.

HR_E_GET_NISSE_FOR_PERNR CALL FUNCTION 'HR_E_GET_NISSE_FOR_PERNR' EXPORTING pers_num = pernr-pernr actual_date = ls_0061-begda IMPORTING nisse = lv_nisse_61 EXCEPTIONS error = 1 OTHERS = 2.

HR_E_GET_NISSE_FOR_PERNR CALL FUNCTION 'HR_E_GET_NISSE_FOR_PERNR' EXPORTING pers_num = pernr-pernr actual_date = ls_0799-begda IMPORTING nisse = lv_nisse_799 EXCEPTIONS error = 1 OTHERS = 2.

HR_ES_GET_NISSE_DATA CALL FUNCTION 'HR_ES_GET_NISSE_DATA' EXPORTING p_i_nisse = pv_nisse p_i_date = pv_date IMPORTING P_E_NISSE_DATA = ls_nisse_data EXCEPTIONS ERROR = 1 OTHERS = 2.

HR_PAL_STATS_STANDARD_MSG_ADD CALL FUNCTION 'HR_PAL_STATS_STANDARD_MSG_ADD' EXPORTING i_selected_ee = gv_selected_ee i_successful_ee = lv_successful_ee i_erroneous_ee = lv_erroneous_ee EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_STATS_MSG_ADD CALL FUNCTION 'HR_PAL_STATS_MSG_ADD' EXPORTING i_stcnt = lv_successful_actions i_msgid = 'RP' i_msgno = '016' i_msgty = lv_msgty i_msgv1 = text-020 EXCEPTIONS program_error = 1 others = 2.

HR_PAL_TABLE_CREATE_COLUMN CALL FUNCTION 'HR_PAL_TABLE_CREATE_COLUMN' EXPORTING i_fieldname = 'TMSNAME' i_rollname = 'TEXT32' i_seltext_s = 'Fichero'(006) CHANGING it_fieldcat = lt_temse_fcat EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_TABLE_CREATE_COLUMN CALL FUNCTION 'HR_PAL_TABLE_CREATE_COLUMN' EXPORTING i_fieldname = 'TSOBJ' i_rollname = 'P_TS_TSOBJ' CHANGING it_fieldcat = lt_temse_fcat EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_TABLE_CREATE_COLUMN CALL FUNCTION 'HR_PAL_TABLE_CREATE_COLUMN' EXPORTING i_fieldname = 'PUSHTMSE' i_rollname = 'BALIMSGTY' i_seltext_s = 'Vis.'(001)

HR_PAL_TABLE_CREATE_COLUMN CALL FUNCTION 'HR_PAL_TABLE_CREATE_COLUMN' EXPORTING i_fieldname = 'DOWNLOAD' i_rollname = 'BALIMSGTY' i_seltext_s = 'Download'(016) i_seltext_m = 'Download'(016) i_seltext_l = 'Download'(016) * I_COL_POS = IMPORTING es_fieldcat = ls_fcat EXCEPTIONS program_error = 1 OTHERS = 2 .

HR_PAL_CREATE_NODE_CATEG CALL FUNCTION 'HR_PAL_CREATE_NODE_CATEG' EXPORTING i_categ_id = 'TEMSE' it_fieldcat = lt_temse_fcat is_layout = ls_layout i_clbk = ls_clbk EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_NODE_ADD CALL FUNCTION 'HR_PAL_NODE_ADD' EXPORTING i_relatkey = 'ROOT' i_node_txt = 'Ficheros TemSe Generados'(002) i_categ_id = 'TEMSE' IMPORTING e_node_key = lv_temse_node EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_NODE_ADD_ROW CALL FUNCTION 'HR_PAL_NODE_ADD_ROW' EXPORTING i_node_key = lv_temse_node i_row_data = ls_temse_row EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_TABLE_CREATE_COLUMN CALL FUNCTION 'HR_PAL_TABLE_CREATE_COLUMN' EXPORTING i_fieldname = 'ACTION' i_rollname = 'PES_ACCAFI' CHANGING it_fieldcat = lt_temse_fcat EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_TABLE_CREATE_COLUMN CALL FUNCTION 'HR_PAL_TABLE_CREATE_COLUMN' EXPORTING i_fieldname = 'BEGDA' i_rollname = 'BEGDA' CHANGING it_fieldcat = lt_temse_fcat EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_CREATE_NODE_CATEG CALL FUNCTION 'HR_PAL_CREATE_NODE_CATEG' EXPORTING i_categ_id = 'EMPOK' it_fieldcat = lt_temse_fcat EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_NODE_ADD CALL FUNCTION 'HR_PAL_NODE_ADD' EXPORTING i_relatkey = 'ROOT' i_node_txt = text-005 i_categ_id = 'EMPOK' i_icon = '@5B@' IMPORTING e_node_key = lv_empre_exito EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_NODE_ADD_ROW CALL FUNCTION 'HR_PAL_NODE_ADD_ROW' EXPORTING i_node_key = lv_empre_exito i_row_data = ls_pernr_ok EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_NODE_ADD CALL FUNCTION 'HR_PAL_NODE_ADD' EXPORTING i_relatkey = 'ROOT' i_node_txt = lv_label i_icon = lv_icon IMPORTING e_node_key = lv_error_node EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_NODE_ADD CALL FUNCTION 'HR_PAL_NODE_ADD' EXPORTING i_relatkey = lv_error_node i_node_txt = 'Generales'(009) i_categ_id = 'MSGS' i_icon = lv_icon IMPORTING e_node_key = lv_error_general EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_NODE_MSG_ADD CALL FUNCTION 'HR_PAL_NODE_MSG_ADD' EXPORTING i_node_key = lv_error_general i_msgid = 'BL' i_msgty = wa_msg_log-tipo i_msgno = '001' i_msgv1 = wa_msg_log-msg(50) EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_TABLE_CREATE_COLUMN CALL FUNCTION 'HR_PAL_TABLE_CREATE_COLUMN' EXPORTING i_fieldname = 'MSG' i_rollname = 'BALTMSG' CHANGING it_fieldcat = lt_msg_fcat EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_CREATE_NODE_CATEG CALL FUNCTION 'HR_PAL_CREATE_NODE_CATEG' EXPORTING i_categ_id = 'EMPWNG' it_fieldcat = lt_msg_fcat * is_layout = l_layout * i_clbk = l_clbk EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_NODE_ADD CALL FUNCTION 'HR_PAL_NODE_ADD' EXPORTING i_relatkey = lv_error_node i_node_txt = 'Por empleado'(010) "????? i_categ_id = 'EMPWNG' i_icon = lv_icon IMPORTING e_node_key = lv_empre_node EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_NODE_ADD_ROW CALL FUNCTION 'HR_PAL_NODE_ADD_ROW' EXPORTING i_node_key = lv_empre_node i_row_data = wa_msg_log EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_TABLE_CREATE_COLUMN CALL FUNCTION 'HR_PAL_TABLE_CREATE_COLUMN' EXPORTING i_fieldname = 'PERNR' i_rollname = 'PERSNO' CHANGING it_fieldcat = ct_fieldcat EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_TABLE_CREATE_COLUMN CALL FUNCTION 'HR_PAL_TABLE_CREATE_COLUMN' EXPORTING i_fieldname = 'FULLNAME' i_rollname = 'PAD_CNAME' CHANGING it_fieldcat = ct_fieldcat EXCEPTIONS program_error = 1 OTHERS = 2.

PROGRESS_INDICATOR CALL FUNCTION 'PROGRESS_INDICATOR' EXPORTING i_text = lv_message i_output_immediately = abap_true.



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