SAP API_RE_BE_CREATE Function Module for









API_RE_BE_CREATE is a standard api re be create SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 api re be create FM, simply by entering the name API_RE_BE_CREATE into the relevant SAP transaction such as SE37 or SE38.

Function Group: REBD_API_BUS_ENTITY
Program Name: SAPLREBD_API_BUS_ENTITY
Main Program: SAPLREBD_API_BUS_ENTITY
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function API_RE_BE_CREATE 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 'API_RE_BE_CREATE'"
EXPORTING
IS_BUS_ENTITY = "
* IT_OBJ_ASSIGN = "
* IT_ARCH_REL = "
* IT_ARCH_RELMS = "
* IT_RESUBM_RULE = "
* IT_STATUS = "
* IS_CI_DATA = "
* IT_EXT_DATA = "
* ID_TRANS = "
* IF_TEST_RUN = ' ' "
* IF_MSGLIST_INSTEAD_OF_EXC = ' ' "
* IS_OBJECT_ADDRESS = "
* IO_MSGLIST = "
* IS_COSETTLE_PARAM = "
* IT_TERM_ORG_ASSIGNMENT = "
* IT_MEASUREMENT = "
* IT_INFRASTRUCTURE = "
* IT_PARTNER = "
* IT_OPTION_RATE = "
* IT_COSETTLE_RULE = "

IMPORTING
ED_BUKRS = "
ED_SWENR = "
EF_STORED = "

EXCEPTIONS
ERROR = 1
.



IMPORTING Parameters details for API_RE_BE_CREATE

IS_BUS_ENTITY -

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

IT_OBJ_ASSIGN -

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

IT_ARCH_REL -

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

IT_ARCH_RELMS -

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

IT_RESUBM_RULE -

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

IT_STATUS -

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

IS_CI_DATA -

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

IT_EXT_DATA -

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

ID_TRANS -

Data type: BAPI_RE_ADDITIONAL_FIELDS-TRANS
Optional: Yes
Call by Reference: Yes

IF_TEST_RUN -

Data type: BAPI_RE_ADDITIONAL_FIELDS-TESTRUN
Default: ' '
Optional: Yes
Call by Reference: Yes

IF_MSGLIST_INSTEAD_OF_EXC -

Data type: RECABOOL
Default: ' '
Optional: Yes
Call by Reference: Yes

IS_OBJECT_ADDRESS -

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

IO_MSGLIST -

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

IS_COSETTLE_PARAM -

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

IT_TERM_ORG_ASSIGNMENT -

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

IT_MEASUREMENT -

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

IT_INFRASTRUCTURE -

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

IT_PARTNER -

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

IT_OPTION_RATE -

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

IT_COSETTLE_RULE -

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

EXPORTING Parameters details for API_RE_BE_CREATE

ED_BUKRS -

Data type: BAPI_RE_BUS_ENTITY_INTK-BUKRS
Optional: No
Call by Reference: Yes

ED_SWENR -

Data type: BAPI_RE_BUS_ENTITY_INTK-SWENR
Optional: No
Call by Reference: Yes

EF_STORED -

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

EXCEPTIONS details

ERROR -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for API_RE_BE_CREATE 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_error  TYPE STRING, "   
lv_ed_bukrs  TYPE BAPI_RE_BUS_ENTITY_INTK-BUKRS, "   
lv_is_bus_entity  TYPE BAPI_RE_BUS_ENTITY_INT, "   
lv_it_obj_assign  TYPE BAPI_RE_T_OBJ_ASSIGN_INT, "   
lv_it_arch_rel  TYPE BAPI_RE_T_ARCH_REL_INT, "   
lv_it_arch_relms  TYPE BAPI_RE_T_ARCH_RELMS_INT, "   
lv_it_resubm_rule  TYPE BAPI_RE_T_RESUBM_RULE_INT, "   
lv_it_status  TYPE BAPI_RE_T_STATUS_INT, "   
lv_is_ci_data  TYPE REBD_BUSINESS_ENTITY_CI, "   
lv_it_ext_data  TYPE RE_T_EXT_DATA, "   
lv_id_trans  TYPE BAPI_RE_ADDITIONAL_FIELDS-TRANS, "   
lv_if_test_run  TYPE BAPI_RE_ADDITIONAL_FIELDS-TESTRUN, "   ' '
lv_if_msglist_instead_of_exc  TYPE RECABOOL, "   ' '
lv_ed_swenr  TYPE BAPI_RE_BUS_ENTITY_INTK-SWENR, "   
lv_is_object_address  TYPE BAPI_RE_OBJ_ADDRESS_INT, "   
lv_io_msglist  TYPE OBJECT, "   
lv_ef_stored  TYPE RECABOOL, "   
lv_is_cosettle_param  TYPE BAPI_RE_COSETTLE_PAR_INT, "   
lv_it_term_org_assignment  TYPE BAPI_RE_T_TERM_OA_INT, "   
lv_it_measurement  TYPE BAPI_RE_T_MEASUREMENT_INT, "   
lv_it_infrastructure  TYPE BAPI_RE_T_INFRA_INT, "   
lv_it_partner  TYPE BAPI_RE_T_PARTNER_INT, "   
lv_it_option_rate  TYPE BAPI_RE_T_OPTION_RATE_INT, "   
lv_it_cosettle_rule  TYPE BAPI_RE_T_COSETTLE_RL_INT. "   

  CALL FUNCTION 'API_RE_BE_CREATE'  "
    EXPORTING
         IS_BUS_ENTITY = lv_is_bus_entity
         IT_OBJ_ASSIGN = lv_it_obj_assign
         IT_ARCH_REL = lv_it_arch_rel
         IT_ARCH_RELMS = lv_it_arch_relms
         IT_RESUBM_RULE = lv_it_resubm_rule
         IT_STATUS = lv_it_status
         IS_CI_DATA = lv_is_ci_data
         IT_EXT_DATA = lv_it_ext_data
         ID_TRANS = lv_id_trans
         IF_TEST_RUN = lv_if_test_run
         IF_MSGLIST_INSTEAD_OF_EXC = lv_if_msglist_instead_of_exc
         IS_OBJECT_ADDRESS = lv_is_object_address
         IO_MSGLIST = lv_io_msglist
         IS_COSETTLE_PARAM = lv_is_cosettle_param
         IT_TERM_ORG_ASSIGNMENT = lv_it_term_org_assignment
         IT_MEASUREMENT = lv_it_measurement
         IT_INFRASTRUCTURE = lv_it_infrastructure
         IT_PARTNER = lv_it_partner
         IT_OPTION_RATE = lv_it_option_rate
         IT_COSETTLE_RULE = lv_it_cosettle_rule
    IMPORTING
         ED_BUKRS = lv_ed_bukrs
         ED_SWENR = lv_ed_swenr
         EF_STORED = lv_ef_stored
    EXCEPTIONS
        ERROR = 1
. " API_RE_BE_CREATE




ABAP code using 7.40 inline data declarations to call FM API_RE_BE_CREATE

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.

 
"SELECT single BUKRS FROM BAPI_RE_BUS_ENTITY_INTK INTO @DATA(ld_ed_bukrs).
 
 
 
 
 
 
 
 
 
"SELECT single TRANS FROM BAPI_RE_ADDITIONAL_FIELDS INTO @DATA(ld_id_trans).
 
"SELECT single TESTRUN FROM BAPI_RE_ADDITIONAL_FIELDS INTO @DATA(ld_if_test_run).
DATA(ld_if_test_run) = ' '.
 
DATA(ld_if_msglist_instead_of_exc) = ' '.
 
"SELECT single SWENR FROM BAPI_RE_BUS_ENTITY_INTK INTO @DATA(ld_ed_swenr).
 
 
 
 
 
 
 
 
 
 
 


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!