SAP RH_ALEOX_INTG_CP_IDOC_1 Function Module for INTERNAL_ ALE Inbound Processing (Before Partner Posting)
RH_ALEOX_INTG_CP_IDOC_1 is a standard rh aleox intg cp idoc 1 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for INTERNAL_ ALE Inbound Processing (Before Partner Posting) processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for rh aleox intg cp idoc 1 FM, simply by entering the name RH_ALEOX_INTG_CP_IDOC_1 into the relevant SAP transaction such as SE37 or SE38.
Function Group: HRALX00_INTEGRATION_PERSON
Program Name: SAPLHRALX00_INTEGRATION_PERSON
Main Program: SAPLHRALX00_INTEGRATION_PERSON
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function RH_ALEOX_INTG_CP_IDOC_1 pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'RH_ALEOX_INTG_CP_IDOC_1'"INTERNAL_ ALE Inbound Processing (Before Partner Posting).
EXPORTING
IV_PROTOCOL = "HR ALE: Log Extended Distribution
IMPORTING
ET_E1PITYP = "Table: Type E1PITYP Segments
ET_P_QUALIS = "Table Type for EDIDD (IDoc Data Records)
ET_Q_REFS = "Qualification from P
ET_LOCK_Q = "Qualifications with P
ET_MAPPING = "Table: Assignment Between Personnel Number and CP
CHANGING
CT_ERRORS = "Error Return
CT_IDOC_DATA = "IDOC Data Records
CT_IDOC_ERRORS = "IDoc Status Records
EXCEPTIONS
INTERNAL_ERROR = 1
IMPORTING Parameters details for RH_ALEOX_INTG_CP_IDOC_1
IV_PROTOCOL - HR ALE: Log Extended Distribution
Data type: CL_HR_ALEOX_PROTOCOLOptional: No
Call by Reference: Yes
EXPORTING Parameters details for RH_ALEOX_INTG_CP_IDOC_1
ET_E1PITYP - Table: Type E1PITYP Segments
Data type: HRTB_E1PITYPOptional: No
Call by Reference: Yes
ET_P_QUALIS - Table Type for EDIDD (IDoc Data Records)
Data type: EDIDD_TTOptional: No
Call by Reference: Yes
ET_Q_REFS - Qualification from P
Data type: HRTB_OBJKEYOptional: No
Call by Reference: Yes
ET_LOCK_Q - Qualifications with P
Data type: HRTB_OBJKEYOptional: No
Call by Reference: Yes
ET_MAPPING - Table: Assignment Between Personnel Number and CP
Data type: HRTB_ALEOX_CP_POptional: No
Call by Reference: Yes
CHANGING Parameters details for RH_ALEOX_INTG_CP_IDOC_1
CT_ERRORS - Error Return
Data type: HRTB_ALEOX_ERROR_STRUCOptional: No
Call by Reference: Yes
CT_IDOC_DATA - IDOC Data Records
Data type: EDIDD_TTOptional: No
Call by Reference: Yes
CT_IDOC_ERRORS - IDoc Status Records
Data type: BDTIDOCSTAOptional: No
Call by Reference: Yes
EXCEPTIONS details
INTERNAL_ERROR - System Error
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for RH_ALEOX_INTG_CP_IDOC_1 Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lv_ct_errors | TYPE HRTB_ALEOX_ERROR_STRUC, " | |||
| lv_et_e1pityp | TYPE HRTB_E1PITYP, " | |||
| lv_iv_protocol | TYPE CL_HR_ALEOX_PROTOCOL, " | |||
| lv_internal_error | TYPE CL_HR_ALEOX_PROTOCOL, " | |||
| lv_et_p_qualis | TYPE EDIDD_TT, " | |||
| lv_ct_idoc_data | TYPE EDIDD_TT, " | |||
| lv_et_q_refs | TYPE HRTB_OBJKEY, " | |||
| lv_ct_idoc_errors | TYPE BDTIDOCSTA, " | |||
| lv_et_lock_q | TYPE HRTB_OBJKEY, " | |||
| lv_et_mapping | TYPE HRTB_ALEOX_CP_P. " |
|   CALL FUNCTION 'RH_ALEOX_INTG_CP_IDOC_1' "INTERNAL_ ALE Inbound Processing (Before Partner Posting) |
| EXPORTING | ||
| IV_PROTOCOL | = lv_iv_protocol | |
| IMPORTING | ||
| ET_E1PITYP | = lv_et_e1pityp | |
| ET_P_QUALIS | = lv_et_p_qualis | |
| ET_Q_REFS | = lv_et_q_refs | |
| ET_LOCK_Q | = lv_et_lock_q | |
| ET_MAPPING | = lv_et_mapping | |
| CHANGING | ||
| CT_ERRORS | = lv_ct_errors | |
| CT_IDOC_DATA | = lv_ct_idoc_data | |
| CT_IDOC_ERRORS | = lv_ct_idoc_errors | |
| EXCEPTIONS | ||
| INTERNAL_ERROR = 1 | ||
| . " RH_ALEOX_INTG_CP_IDOC_1 | ||
ABAP code using 7.40 inline data declarations to call FM RH_ALEOX_INTG_CP_IDOC_1
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.Search for further information about these or an SAP related objects