SAP RH_ALEOX_BUPA_WRITE_O Function Module for INTERNAL: Std.-Adresses + Posting of O_BP_Container









RH_ALEOX_BUPA_WRITE_O is a standard rh aleox bupa write o 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 O_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 o FM, simply by entering the name RH_ALEOX_BUPA_WRITE_O 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_O 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_O'"INTERNAL: Std.-Adresses + Posting of O_BP_Container
EXPORTING
* IV_PROTOCOL = "Log: Extended Distribution
* IV_COMMIT = "Processing context
* IT_RELAT_O_BP = "Relationship Between O and BP
* IV_TEST_FLAG = "Posting Is Suppressed

CHANGING
CT_ERRORS = "HRALEOX: Store Errors
CT_CONTAINER = "Integration Org Unit BP: Intermediate Table
* CT_IDOC_DATA = "IDoc Data for Completing Relationship O/BP

EXCEPTIONS
INTERNAL_ERROR = 1
.



IMPORTING Parameters details for RH_ALEOX_BUPA_WRITE_O

IV_PROTOCOL - Log: Extended Distribution

Data type: CL_HR_ALEOX_PROTOCOL
Optional: Yes
Call by Reference: Yes

IV_COMMIT - Processing context

Data type: FLAG
Optional: Yes
Call by Reference: Yes

IT_RELAT_O_BP - Relationship Between O and BP

Data type: P1001TAB
Optional: Yes
Call by Reference: Yes

IV_TEST_FLAG - Posting Is Suppressed

Data type: XFLAG
Optional: Yes
Call by Reference: Yes

CHANGING Parameters details for RH_ALEOX_BUPA_WRITE_O

CT_ERRORS - HRALEOX: Store Errors

Data type: HRTB_ALEOX_ERROR_STRUC
Optional: No
Call by Reference: Yes

CT_CONTAINER - Integration Org Unit BP: Intermediate Table

Data type: HRTB_ALEOX_ORG_BP_CONTAINER
Optional: No
Call by Reference: Yes

CT_IDOC_DATA - IDoc Data for Completing Relationship O/BP

Data type: EDIDD_TT
Optional: 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_O 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_internal_error  TYPE CL_HR_ALEOX_PROTOCOL, "   
lv_iv_commit  TYPE FLAG, "   
lv_ct_container  TYPE HRTB_ALEOX_ORG_BP_CONTAINER, "   
lv_ct_idoc_data  TYPE EDIDD_TT, "   
lv_it_relat_o_bp  TYPE P1001TAB, "   
lv_iv_test_flag  TYPE XFLAG. "   

  CALL FUNCTION 'RH_ALEOX_BUPA_WRITE_O'  "INTERNAL: Std.-Adresses + Posting of O_BP_Container
    EXPORTING
         IV_PROTOCOL = lv_iv_protocol
         IV_COMMIT = lv_iv_commit
         IT_RELAT_O_BP = lv_it_relat_o_bp
         IV_TEST_FLAG = lv_iv_test_flag
    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_O




ABAP code using 7.40 inline data declarations to call FM RH_ALEOX_BUPA_WRITE_O

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



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!