SAP REXC_IT_RO_CREATE Function Module for Create Rental Object









REXC_IT_RO_CREATE is a standard rexc it ro create SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Create Rental Object 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 rexc it ro create FM, simply by entering the name REXC_IT_RO_CREATE into the relevant SAP transaction such as SE37 or SE38.

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



Function REXC_IT_RO_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 'REXC_IT_RO_CREATE'"Create Rental Object
EXPORTING
IS_RENTAL_OBJECT = "Rental Object
* IT_INFRASTRUCTURE = "Infrastructure
* IT_PARTNER = "Partner
* IT_OPTION_RATE = "Option Rates
* IT_COSETTLE_RULE = "CO Abrechnungsvorschrift: Vert.regeln
* IT_CHARACT = "Fixtures and Fittings Characteristics
* IT_CONDITION = "Conditions
* IT_OBJ_ASSIGN = "Object Assignment
* IT_OCCUPANCY = "Occupancy
* IT_MEASPT = "Measuring Point
* IT_MEASPT_REL = "Measuring Point Relationships
* IS_OBJECT_ADDRESS = "Address
* IT_ARCH_REL = "Architectural Linkage Objects
* IT_ARCH_RELMS = "Architectural Linkage Object Parts
* IT_RESUBM_RULE = "Reminder Rules
* IT_STATUS = "Status
* IS_CI_DATA = "Data of CI Include
* IT_EXT_DATA = "Enhancements: Data
* ID_TRANS = "Business Transaction
* IF_TEST_RUN = ' ' "Simulation Mode
* IF_MSGLIST_INSTEAD_OF_EXC = ' ' "Nachrichtensammler statt Exception ERROR verwenden
* IO_MSGLIST = "Nachrichtensammler (nur für interne Verwendung)
* IS_COSETTLE_PARAM = "CO Settlement Rule: Parameter
* IT_TERM_ORG_ASSIGNMENT = "Organizational Assignment
* IT_TERM_PAYMENT = "Posting Terms
* IT_TERM_RHYTHM = "Frequency Terms
* IT_TERM_VACANCY = "Posting Terms for Vacancy Posting
* IT_TERM_ADJUSTMENT = "Adjustment Terms
* IT_MEASUREMENT = "Measurements

IMPORTING
ED_BUKRS = "Company Code
ED_SWENR = "Business Entity Number
ED_SMENR = "Number of Rental Object
EF_STORED = "General Yes/No Field
ED_OBJNR = "Object Number
ED_INTRENO = "Internal Key of Real Estate Object

EXCEPTIONS
ERROR = 1
.



IMPORTING Parameters details for REXC_IT_RO_CREATE

IS_RENTAL_OBJECT - Rental Object

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

IT_INFRASTRUCTURE - Infrastructure

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

IT_PARTNER - Partner

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

IT_OPTION_RATE - Option Rates

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

IT_COSETTLE_RULE - CO Abrechnungsvorschrift: Vert.regeln

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

IT_CHARACT - Fixtures and Fittings Characteristics

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

IT_CONDITION - Conditions

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

IT_OBJ_ASSIGN - Object Assignment

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

IT_OCCUPANCY - Occupancy

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

IT_MEASPT - Measuring Point

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

IT_MEASPT_REL - Measuring Point Relationships

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

IS_OBJECT_ADDRESS - Address

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

IT_ARCH_REL - Architectural Linkage Objects

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

IT_ARCH_RELMS - Architectural Linkage Object Parts

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

IT_RESUBM_RULE - Reminder Rules

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

IT_STATUS - Status

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

IS_CI_DATA - Data of CI Include

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

IT_EXT_DATA - Enhancements: Data

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

ID_TRANS - Business Transaction

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

IF_TEST_RUN - Simulation Mode

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

IF_MSGLIST_INSTEAD_OF_EXC - Nachrichtensammler statt Exception ERROR verwenden

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

IO_MSGLIST - Nachrichtensammler (nur für interne Verwendung)

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

IS_COSETTLE_PARAM - CO Settlement Rule: Parameter

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

IT_TERM_ORG_ASSIGNMENT - Organizational Assignment

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

IT_TERM_PAYMENT - Posting Terms

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

IT_TERM_RHYTHM - Frequency Terms

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

IT_TERM_VACANCY - Posting Terms for Vacancy Posting

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

IT_TERM_ADJUSTMENT - Adjustment Terms

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

IT_MEASUREMENT - Measurements

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

EXPORTING Parameters details for REXC_IT_RO_CREATE

ED_BUKRS - Company Code

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

ED_SWENR - Business Entity Number

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

ED_SMENR - Number of Rental Object

Data type: BAPI_RE_RENTAL_OBJECT_INTK-SMENR
Optional: No
Call by Reference: Yes

EF_STORED - General Yes/No Field

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

ED_OBJNR - Object Number

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

ED_INTRENO - Internal Key of Real Estate Object

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

EXCEPTIONS details

ERROR - Error During Creation

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for REXC_IT_RO_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_RENTAL_OBJECT_INTK-BUKRS, "   
lv_is_rental_object  TYPE BAPI_RE_RENTAL_OBJECT_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, "   
lv_it_charact  TYPE BAPI_RE_T_CHARACT_INT, "   
lv_it_condition  TYPE BAPI_RE_T_CONDITION_INT, "   
lv_it_obj_assign  TYPE BAPI_RE_T_OBJ_ASSIGN_INT, "   
lv_it_occupancy  TYPE BAPI_RE_T_OCCUPANCY_INT, "   
lv_it_measpt  TYPE BAPI_RE_T_MEASPT_INT, "   
lv_it_measpt_rel  TYPE BAPI_RE_T_MEASPT_REL_INT, "   
lv_ed_swenr  TYPE BAPI_RE_RENTAL_OBJECT_INTK-SWENR, "   
lv_is_object_address  TYPE BAPI_RE_OBJ_ADDRESS_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_RENTAL_OBJECT_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_io_msglist  TYPE OBJECT, "   
lv_ed_smenr  TYPE BAPI_RE_RENTAL_OBJECT_INTK-SMENR, "   
lv_is_cosettle_param  TYPE BAPI_RE_COSETTLE_PAR_INT, "   
lv_ef_stored  TYPE RECABOOL, "   
lv_it_term_org_assignment  TYPE BAPI_RE_T_TERM_OA_INT, "   
lv_ed_objnr  TYPE RECAOBJNR, "   
lv_it_term_payment  TYPE BAPI_RE_T_TERM_PY_INT, "   
lv_ed_intreno  TYPE RECAINTRENO, "   
lv_it_term_rhythm  TYPE BAPI_RE_T_TERM_RH_INT, "   
lv_it_term_vacancy  TYPE BAPI_RE_T_TERM_OC_INT, "   
lv_it_term_adjustment  TYPE BAPI_RE_T_TERM_AJ_INT, "   
lv_it_measurement  TYPE BAPI_RE_T_MEASUREMENT_INT. "   

  CALL FUNCTION 'REXC_IT_RO_CREATE'  "Create Rental Object
    EXPORTING
         IS_RENTAL_OBJECT = lv_is_rental_object
         IT_INFRASTRUCTURE = lv_it_infrastructure
         IT_PARTNER = lv_it_partner
         IT_OPTION_RATE = lv_it_option_rate
         IT_COSETTLE_RULE = lv_it_cosettle_rule
         IT_CHARACT = lv_it_charact
         IT_CONDITION = lv_it_condition
         IT_OBJ_ASSIGN = lv_it_obj_assign
         IT_OCCUPANCY = lv_it_occupancy
         IT_MEASPT = lv_it_measpt
         IT_MEASPT_REL = lv_it_measpt_rel
         IS_OBJECT_ADDRESS = lv_is_object_address
         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
         IO_MSGLIST = lv_io_msglist
         IS_COSETTLE_PARAM = lv_is_cosettle_param
         IT_TERM_ORG_ASSIGNMENT = lv_it_term_org_assignment
         IT_TERM_PAYMENT = lv_it_term_payment
         IT_TERM_RHYTHM = lv_it_term_rhythm
         IT_TERM_VACANCY = lv_it_term_vacancy
         IT_TERM_ADJUSTMENT = lv_it_term_adjustment
         IT_MEASUREMENT = lv_it_measurement
    IMPORTING
         ED_BUKRS = lv_ed_bukrs
         ED_SWENR = lv_ed_swenr
         ED_SMENR = lv_ed_smenr
         EF_STORED = lv_ef_stored
         ED_OBJNR = lv_ed_objnr
         ED_INTRENO = lv_ed_intreno
    EXCEPTIONS
        ERROR = 1
. " REXC_IT_RO_CREATE




ABAP code using 7.40 inline data declarations to call FM REXC_IT_RO_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_RENTAL_OBJECT_INTK INTO @DATA(ld_ed_bukrs).
 
 
 
 
 
 
 
 
 
 
 
 
"SELECT single SWENR FROM BAPI_RE_RENTAL_OBJECT_INTK INTO @DATA(ld_ed_swenr).
 
 
 
 
 
 
 
 
"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 SMENR FROM BAPI_RE_RENTAL_OBJECT_INTK INTO @DATA(ld_ed_smenr).
 
 
 
 
 
 
 
 
 
 
 


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!