SAP RH_ALEOX_BUPA_WRITE_CP Function Module for INTERNAL: Std.-Adresses + Posting of CP_BP_Container
RH_ALEOX_BUPA_WRITE_CP is a standard rh aleox bupa write cp 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: Std.-Adresses + Posting of CP_BP_Container 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 bupa write cp FM, simply by entering the name RH_ALEOX_BUPA_WRITE_CP into the relevant SAP transaction such as SE37 or SE38.
Function Group: HRALX00_BUPA_INTERFACE
Program Name: SAPLHRALX00_BUPA_INTERFACE
Main Program: SAPLHRALX00_BUPA_INTERFACE
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function RH_ALEOX_BUPA_WRITE_CP 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_BUPA_WRITE_CP'"INTERNAL: Std.-Adresses + Posting of CP_BP_Container.
EXPORTING
* IV_PROTOCOL = "Log: Extended Distribution
* IV_COMMIT = "Processing context
* IV_TEST_FLAG = "Integration Is Suppressed
* IV_BP_BUFFER_REFRESH = ' ' "
IMPORTING
ET_CP_FAILURE = "HR: Object Key (with Plan Version)
CHANGING
CT_ERRORS = "HRALEOX: Store Errors
CT_CONTAINER = "Integration Employee and BP: Intermediate Table
* CT_IDOC_DATA = "IDOC Data for Completing Relationship CP-CP
EXCEPTIONS
INTERNAL_ERROR = 1
IMPORTING Parameters details for RH_ALEOX_BUPA_WRITE_CP
IV_PROTOCOL - Log: Extended Distribution
Data type: CL_HR_ALEOX_PROTOCOLOptional: Yes
Call by Reference: Yes
IV_COMMIT - Processing context
Data type: FLAGOptional: Yes
Call by Reference: Yes
IV_TEST_FLAG - Integration Is Suppressed
Data type: XFLAGOptional: Yes
Call by Reference: Yes
IV_BP_BUFFER_REFRESH -
Data type: FLAGDefault: SPACE
Optional: Yes
Call by Reference: Yes
EXPORTING Parameters details for RH_ALEOX_BUPA_WRITE_CP
ET_CP_FAILURE - HR: Object Key (with Plan Version)
Data type: HRTB_OBJKEYOptional: No
Call by Reference: Yes
CHANGING Parameters details for RH_ALEOX_BUPA_WRITE_CP
CT_ERRORS - HRALEOX: Store Errors
Data type: HRTB_ALEOX_ERROR_STRUCOptional: No
Call by Reference: Yes
CT_CONTAINER - Integration Employee and BP: Intermediate Table
Data type: HRTB_ALEOX_CP_BP_CONTAINEROptional: No
Call by Reference: Yes
CT_IDOC_DATA - IDOC Data for Completing Relationship CP-CP
Data type: EDIDD_TTOptional: Yes
Call by Reference: Yes
EXCEPTIONS details
INTERNAL_ERROR - Internal Error
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for RH_ALEOX_BUPA_WRITE_CP 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_iv_protocol | TYPE CL_HR_ALEOX_PROTOCOL, " | |||
| lv_et_cp_failure | TYPE HRTB_OBJKEY, " | |||
| lv_internal_error | TYPE HRTB_OBJKEY, " | |||
| lv_iv_commit | TYPE FLAG, " | |||
| lv_ct_container | TYPE HRTB_ALEOX_CP_BP_CONTAINER, " | |||
| lv_ct_idoc_data | TYPE EDIDD_TT, " | |||
| lv_iv_test_flag | TYPE XFLAG, " | |||
| lv_iv_bp_buffer_refresh | TYPE FLAG. " SPACE |
|   CALL FUNCTION 'RH_ALEOX_BUPA_WRITE_CP' "INTERNAL: Std.-Adresses + Posting of CP_BP_Container |
| EXPORTING | ||
| IV_PROTOCOL | = lv_iv_protocol | |
| IV_COMMIT | = lv_iv_commit | |
| IV_TEST_FLAG | = lv_iv_test_flag | |
| IV_BP_BUFFER_REFRESH | = lv_iv_bp_buffer_refresh | |
| IMPORTING | ||
| ET_CP_FAILURE | = lv_et_cp_failure | |
| CHANGING | ||
| CT_ERRORS | = lv_ct_errors | |
| CT_CONTAINER | = lv_ct_container | |
| CT_IDOC_DATA | = lv_ct_idoc_data | |
| EXCEPTIONS | ||
| INTERNAL_ERROR = 1 | ||
| . " RH_ALEOX_BUPA_WRITE_CP | ||
ABAP code using 7.40 inline data declarations to call FM RH_ALEOX_BUPA_WRITE_CP
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.| DATA(ld_iv_bp_buffer_refresh) | = ' '. | |||
Search for further information about these or an SAP related objects