SAP Reports / Programs

RPCINEE0 SAP ABAP Report - Notification of contracts for INEM







RPCINEE0 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program generates the XML files used to interchange hiring data with the INEM, following the structure and validations defined by the INEM...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter RPCINEE0 into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

PC00_M04_CONTR_INEM - Notification of contracts for INEM


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


Text pool values


Selection Text: S_PROD = Live run
Selection Text: R_TRANSF = Transformations
Selection Text: R_PRORRO = Extension
Selection Text: R_LLAMAM = Call
Selection Text: R_COPIAB = Basic Copy
Selection Text: R_CONTRA = Contract
Title: Notification of contracts for INEM
Text Symbol: T32 = Basic copy data: Contract key
Text Symbol: T34 = Baisc copy data: Signature ty.
Text Symbol: T35 = Basic copy data: compulsory presentation of basic copy to the INEM
Text Symbol: T36 = Renewal data: Contract identifier according to INEM
Text Symbol: T37 = Call: Inconsistent data
Text Symbol: T38 = Call: The call type has not been filled
Text Symbol: T40 = Employees rejected
Text Symbol: T42 = EEs processed successfully
Text Symbol: T44 = Total employees processed
Text Symbol: T46 = Comm.
Text Symbol: T50 = Error on generating stack for schema XML
Text Symbol: T51 = Stack for schema XML generated succesfully
Text Symbol: T53 = No file was generated
Text Symbol: T55 = File generated
Text Symbol: T56 = Non-relevant contract
Text Symbol: 080 = Contracts
Text Symbol: 082 = xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
Text Symbol: E01 = Notification type
Text Symbol: T02 = Basic required entry fields
Text Symbol: T03 = Required entry fields specific to contract
Text Symbol: T04 = Contract type not recognised by schema.
Text Symbol: T05 = Basic copy for the contract.
Text Symbol: T06 = Problems on maintaining master data
Text Symbol: T07 = Included
Text Symbol: T08 = Assign. error. May be a schema XML error
Text Symbol: T09 = Files generated
Text Symbol: T10 = Employee's status does not allow inclusion in file
Text Symbol: T14 = Contract extension.
Text Symbol: T15 = Transformations
Text Symbol: T20 = Company data: CIF/ NIF, CAC
Text Symbol: T22 = Employee data: natural person identifier, names last names





Text Symbol: T23 = Employee data: Gender, date of birth
Text Symbol: T24 = General contract data: Start date, level of training
Text Symbol: T25 = General contract data: employment code, nationality
Text Symbol: T26 = Employee data: Nationality,country of residence
Text Symbol: T30 = Missing general extension data: Start date, end date
Text Symbol: T31 = Basic copy data: Natural person ID


INCLUDES used within this REPORT RPCINEE0

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 = pernr-pernr actual_date = p_date IMPORTING nisse = l_nisse TABLES p_tab_p0001 = p0001 * P_TAB_WPBP = p_tab_p0061 = p0061 * P_TAB_SV = EXCEPTIONS error = 1 OTHERS = 2 .

HR_ES_GET_NISSE_DATA CALL FUNCTION 'HR_ES_GET_NISSE_DATA' EXPORTING p_i_nisse = l_nisse p_i_date = p_date IMPORTING p_e_nisse_data = l_nisse_data EXCEPTIONS error = 1 OTHERS = 2.

HR_E_GET_JUPER_DATA CALL FUNCTION 'HR_E_GET_JUPER_DATA' EXPORTING p_juper = p0001-juper p_actual_date = p_date IMPORTING * P_DELEG_HACIENDA = * P_ADMIN_HACIENDA = p_empresa_nif = p_datos_empresa-cif_nif_empresa-cif_nif * P_EMPRESA_NOMBRE = * P_DIRECC_SIGLA = * P_DIRECC_VIA_PUB = * P_DIRECC_NUMERO = * P_DIRECC_ESCALERA = * P_DIRECC_PISO = * P_DIRECC_PUERTA = * P_DIRECC_COD_POST = * P_DIRECC_MUNCIPIO = * P_DIRECC_PROVINCIA = * P_PERSONA_TEL = * P_PERSONA_NOMBRE = * P_REPRESENT = * P_JUPER_LIST = EXCEPTIONS error = 1 OTHERS = 2 .

HR_GET_BUSINESS_ADD_IN CALL FUNCTION 'HR_GET_BUSINESS_ADD_IN' EXPORTING exit_name = 'HRPAYES_INEE0' IMPORTING is_implemented = l_is_implemented CHANGING instance = exit_obj.

HR_GET_BUSINESS_ADD_IN CALL FUNCTION 'HR_GET_BUSINESS_ADD_IN' EXPORTING exit_name = 'HRPAYES_INEE1' IMPORTING is_implemented = l_is_implemented CHANGING instance = exit_obj.

CONVERSION_EXIT_P04CN_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_P04CN_OUTPUT' EXPORTING INPUT = p_p0480-colbon IMPORTING OUTPUT = colb .

HR_GET_BUSINESS_ADD_IN CALL FUNCTION 'HR_GET_BUSINESS_ADD_IN' EXPORTING exit_name = 'HRPAYES_INEE0' IMPORTING is_implemented = l_is_implemented CHANGING instance = exit_obj.

CONVERSION_EXIT_P04CN_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_P04CN_OUTPUT' EXPORTING INPUT = p_p0480-colbon IMPORTING OUTPUT = lv_colb .

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = p0002-pernr infty = '0061' begda = l_reg_ant endda = l_reg_ant IMPORTING subrc = l_return_code TABLES infty_tab = l_p0061_tab EXCEPTIONS infty_not_found = 1 OTHERS = 2.

HR_E_GET_NISSE_FOR_PERNR CALL FUNCTION 'HR_E_GET_NISSE_FOR_PERNR' EXPORTING pers_num = pernr-pernr actual_date = p_date IMPORTING nisse = l_nisse TABLES p_tab_p0001 = p0001 * P_TAB_WPBP = p_tab_p0061 = p0061 * P_TAB_SV = EXCEPTIONS error = 1 OTHERS = 2 .

HR_ES_POPUP_TEMSES CALL FUNCTION 'HR_ES_POPUP_TEMSES' EXPORTING p_temse_list = p_tab_temse_list[] IMPORTING p_object = l_object.

HR_E_CONVERT_PERID_IN_CODIM CALL FUNCTION 'HR_E_CONVERT_PERID_IN_CODIM' EXPORTING perid = p_perid IMPORTING codim = p_aux EXCEPTIONS error = 1 OTHERS = 2.

HR_E_GET_SV_TICON CALL FUNCTION 'HR_E_GET_SV_TICON' EXPORTING p_ticon = p_p0061-ticon p_pesoc = p_p0061-pesoc p_codes = p_p0061-codes p_fecha = p_p0061-endda p_metod = p_p0061-metod IMPORTING p_clcon = l_clcon.

HR_GET_BUSINESS_ADD_IN CALL FUNCTION 'HR_GET_BUSINESS_ADD_IN' EXPORTING exit_name = 'HRPAYES_INEE0' IMPORTING is_implemented = l_is_implemented CHANGING instance = exit_obj.

COMPUTE_YEARS_BETWEEN_DATES CALL FUNCTION 'COMPUTE_YEARS_BETWEEN_DATES' EXPORTING first_date = p_gbdat second_date = p_current_date IMPORTING years_between_dates = p_age EXCEPTIONS sequence_of_dates_not_valid = 1 OTHERS = 2.






HR_99S_INTERVAL_BETWEEN_DATES CALL FUNCTION 'HR_99S_INTERVAL_BETWEEN_DATES' EXPORTING begda = p_fec_ini_contr endda = p_fec_fin_contr * TAB_MODE = ' ' IMPORTING * DAYS = * C_WEEKS = c_months = p_dur_contr "complete months * C_YEARS = * WEEKS = * MONTHS = * YEARS = * D_MONTHS = * MONTH_TAB = .

DD_DOMVALUE_TEXT_GET CALL FUNCTION 'DD_DOMVALUE_TEXT_GET' EXPORTING domname = dominio_name value = valor * LANGU = ' ' "sy-langu * BYPASS_BUFFER = ' ' IMPORTING dd07v_wa = valores * RC = .

HR_ES_PRODA_REG_DAT_METO_STRUC CALL FUNCTION 'HR_ES_PRODA_REG_DAT_METO_STRUC' EXPORTING * P_STRUC_FIELD = p_struc_name = 'RPCINEE0' p_field_name = 'CONTRATO' p_pernr = msg_table_line-pernr p_ioper = 'DIS' p_context = sy-cprog EXCEPTIONS error = 1 OTHERS = 2 .

HR_PAL_NODE_ADD CALL FUNCTION 'HR_PAL_NODE_ADD' EXPORTING i_relatkey = 'ROOT' i_node_txt = 'Total de empleados procesados'(t44) i_icon = icon_employee i_expand = 'X' IMPORTING e_node_key = empleados_procesados_node EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_NODE_MSG_ADD CALL FUNCTION 'HR_PAL_NODE_MSG_ADD' EXPORTING i_node_key = empleados_aceptados_node i_msgid = 'BL' i_msgty = 'I' i_msgno = '001' i_msgv1 = msg i_context = msg_table_line-pernr EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_STATS_MSG_ADD CALL FUNCTION 'HR_PAL_STATS_MSG_ADD' EXPORTING i_stcnt = calculados i_msgid = 'BL' i_msgno = '001' i_msgv1 = 'Total de empleados procesados'(t44) EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_STATS_MSG_ADD CALL FUNCTION 'HR_PAL_STATS_MSG_ADD' EXPORTING i_stcnt = aceptados i_msgid = 'BL' i_msgno = '001' i_msgv1 = 'Empleados procesados con éxito'(t42) EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_STATS_MSG_ADD CALL FUNCTION 'HR_PAL_STATS_MSG_ADD' EXPORTING i_stcnt = rechazados i_msgid = 'BL' i_msgty = 'E' i_msgno = '001' i_msgv1 = 'Empleados rechazados'(t40) EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_NODE_ADD CALL FUNCTION 'HR_PAL_NODE_ADD' EXPORTING i_relatkey = 'ROOT' i_node_txt = 'Comunicación'(t46) i_icon = icon_sym_log_server i_categ_id = 'MSGS' i_expand = 'X' IMPORTING e_node_key = comunicacion_node EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_NODE_MSG_ADD CALL FUNCTION 'HR_PAL_NODE_MSG_ADD' EXPORTING i_node_key = comunicacion_node i_msgid = 'BL' i_msgty = l_msgty i_msgno = '001' i_msgv1 = msg i_context = msg_table_line-pernr EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_NODE_ADD CALL FUNCTION 'HR_PAL_NODE_ADD' EXPORTING i_relatkey = p_emp_proc_node i_node_txt = 'Empleados rechazados'(t40) i_categ_id = 'RESULT' i_expand = 'X' IMPORTING e_node_key = empleados_rechazados_node EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_NODE_MSG_ADD CALL FUNCTION 'HR_PAL_NODE_MSG_ADD' EXPORTING i_node_key = empleados_rechazados_node i_msgid = 'BL' i_msgty = 'E' i_msgno = '001' i_msgv1 = msg i_context = wa_rechazados-pernr EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_NODE_ADD CALL FUNCTION 'HR_PAL_NODE_ADD' EXPORTING i_relatkey = empleados_rechazados_node i_node_txt = wa_rechazados-pernr i_categ_id = 'MSGS' i_expand = 'X' IMPORTING e_node_key = empleado_node EXCEPTIONS program_error = 1 OTHERS = 2.

HR_ES_SPLIT_STRING_TO_4_CHAR50 CALL FUNCTION 'HR_ES_SPLIT_STRING_TO_4_CHAR50' EXPORTING in_string = msg_aux-text IMPORTING char1 = msg char2 = msg2.

HR_PAL_NODE_MSG_ADD CALL FUNCTION 'HR_PAL_NODE_MSG_ADD' EXPORTING i_node_key = empleado_node i_msgid = 'BL' i_msgty = 'E' i_msgno = '001' i_msgv1 = msg i_msgv2 = msg2 i_context = wa_rechazados-pernr EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_NODE_ADD CALL FUNCTION 'HR_PAL_NODE_ADD' EXPORTING i_relatkey = p_proc_node i_node_txt = 'Empleados procesados con éxito'(t42) i_icon = icon_led_green i_categ_id = 'RESULT' i_expand = 'X' IMPORTING e_node_key = p_acep_node EXCEPTIONS program_error = 1 OTHERS = 2.

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_PAL_LOG_DISPLAY CALL FUNCTION 'HR_PAL_LOG_DISPLAY' EXPORTING i_s_display_profile = l_display_profile * I_S_FLAT_PROFILE = EXCEPTIONS program_error = 1 no_logs = 2 OTHERS = 3 .

HR_E_RE5E60



CALL FUNCTION 'HR_E_RE5E60' EXPORTING idcon = p_p0480-idcon werks = p_p0480-werks btrtl = p_p0480-btrtl trfar = p_p0480-trfar trfgb = p_p0480-trfgb date = p_p0480-begda CHANGING wa_t5e60 = wa_t5e60 EXCEPTIONS no_entries_found = 1 OTHERS = 2.

HR_ES_PRODA_REG_XML_METO_DIREC CALL FUNCTION 'HR_ES_PRODA_REG_XML_METO_DIREC' EXPORTING PI_STRUC_NAME = 'RPCINEE0' PI_FIELD_NAME = 'CONTRATO' PI_PERNR = msg_table_line-pernr pi_refrf = lv_temse_name EXCEPTIONS ERROR = 1 FIELD_NOT_FOUND = 2 INVALID_DATA = 3 OTHERS = 4 .



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