SAP BAPI_CMS_RE_GETDETAIL_MULTI Function Module for OMS : Real Estate Get Detail Multiple









BAPI_CMS_RE_GETDETAIL_MULTI is a standard bapi cms re getdetail multi SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for OMS : Real Estate Get Detail Multiple 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 bapi cms re getdetail multi FM, simply by entering the name BAPI_CMS_RE_GETDETAIL_MULTI into the relevant SAP transaction such as SE37 or SE38.

Function Group: CMS_BUSISB104_BAPI
Program Name: SAPLCMS_BUSISB104_BAPI
Main Program: SAPLCMS_BUSISB104_BAPI
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function BAPI_CMS_RE_GETDETAIL_MULTI 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 'BAPI_CMS_RE_GETDETAIL_MULTI'"OMS : Real Estate Get Detail Multiple
EXPORTING
* DATA_REQUESTED = "Real estate required data
* PROCESSEXTENSION = "Flag: Execute Customer Extensions (BAdIs) in BAPI

TABLES
REALESTATE_IDENTIFIER = "Real estate identifier primary key
* MAINOBJECT_VALUE_DATA = "Value details of main object
* MAINOBJECT_LANDREGISTER = "Land register link
* MAINOBJECT_COST_DATA = "Main object cost details
* PARTS_DATA = "Details of real estate parts
* PARTS_ACCESSORIES_DATA = "Accessories of real estate parts
* PARTS_BUSINESS_PARTNERS = "Business partners of real estate parts
* PARTS_DOCUMENTS = "Documents of real estate parts
* PARTS_VALUE_DATA = "Value details of parts
* PARTS_LANDREGISTER = "Land register link of parts
* PARTS_COST_DATA = "Parts cost details
* REALESTATE_KEYS = "Real estate primary key & semantic key
* OBJECT_INSURANCE_DATA = "Insurance details for real estate
* OBJECT_INSURANCE_PARTNERS = "Business partners of insurance
* OBJECT_INSURANCE_DOCUMENTS = "Insurance documents
* MAINOBJECT_PROPERTYLIST_DATA = "Section B of German Grundbuch main object
* MAINOBJECT_NONMONETARY_DATA = "Section 2 of German Grundbuch main object
* PARTS_PROPERTYLIST_DATA = "Section B of German Grundbuch parts
* PARTS_NONMONETARY_DATA = "Section 2 of German Grundbuch parts
* NOTES = "Notes
* USER_STATUS = "User status
* SYSTEM_STATUS = "System status
* EXTENSIONIN = "Ref. structure for BAPI parameter ExtensionIn/ExtensionOut
* RETURN = "Return Parameter
* CALCULATION_CONSOLIDATED = "Consolidated calculations results for real estate
* CALCULATION_MAIN = "Calculations results for main object
* CALCULATION_PARTS = "Calculations results for parts and accessories
* EXTENSIONOUT = "Ref. structure for BAPI parameter ExtensionIn/ExtensionOut
* REALESTATE_DATA = "Main real estate details / header details
* ADDRESS_DETAILS = "BAPI : Address details for Real estate
* MAINOBJECT_DATA = "Main Object details
* MAINOBJECT_ACCESSORIES_DATA = "Accessory details
* MAINOBJECT_BUSINESS_PARTNERS = "List of business partners related to the real estate object
* MAINOBJECT_DOCUMENTS = "List of documents related to the real estate
.



IMPORTING Parameters details for BAPI_CMS_RE_GETDETAIL_MULTI

DATA_REQUESTED - Real estate required data

Data type: BAPICMS_RE_STR_REQD_DATA
Optional: Yes
Call by Reference: No ( called with pass by value option)

PROCESSEXTENSION - Flag: Execute Customer Extensions (BAdIs) in BAPI

Data type: BAPI_CMS_STR_CENTRAL-PROCESSEXTENSION
Optional: Yes
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for BAPI_CMS_RE_GETDETAIL_MULTI

REALESTATE_IDENTIFIER - Real estate identifier primary key

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

MAINOBJECT_VALUE_DATA - Value details of main object

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

MAINOBJECT_LANDREGISTER - Land register link

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

MAINOBJECT_COST_DATA - Main object cost details

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

PARTS_DATA - Details of real estate parts

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

PARTS_ACCESSORIES_DATA - Accessories of real estate parts

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

PARTS_BUSINESS_PARTNERS - Business partners of real estate parts

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

PARTS_DOCUMENTS - Documents of real estate parts

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

PARTS_VALUE_DATA - Value details of parts

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

PARTS_LANDREGISTER - Land register link of parts

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

PARTS_COST_DATA - Parts cost details

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

REALESTATE_KEYS - Real estate primary key & semantic key

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

OBJECT_INSURANCE_DATA - Insurance details for real estate

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

OBJECT_INSURANCE_PARTNERS - Business partners of insurance

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

OBJECT_INSURANCE_DOCUMENTS - Insurance documents

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

MAINOBJECT_PROPERTYLIST_DATA - Section B of German Grundbuch main object

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

MAINOBJECT_NONMONETARY_DATA - Section 2 of German Grundbuch main object

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

PARTS_PROPERTYLIST_DATA - Section B of German Grundbuch parts

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

PARTS_NONMONETARY_DATA - Section 2 of German Grundbuch parts

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

NOTES - Notes

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

USER_STATUS - User status

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

SYSTEM_STATUS - System status

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

EXTENSIONIN - Ref. structure for BAPI parameter ExtensionIn/ExtensionOut

Data type: BAPIPAREX
Optional: Yes
Call by Reference: No ( called with pass by value option)

RETURN - Return Parameter

Data type: BAPIRET2
Optional: Yes
Call by Reference: No ( called with pass by value option)

CALCULATION_CONSOLIDATED - Consolidated calculations results for real estate

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

CALCULATION_MAIN - Calculations results for main object

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

CALCULATION_PARTS - Calculations results for parts and accessories

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

EXTENSIONOUT - Ref. structure for BAPI parameter ExtensionIn/ExtensionOut

Data type: BAPIPAREX
Optional: Yes
Call by Reference: No ( called with pass by value option)

REALESTATE_DATA - Main real estate details / header details

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

ADDRESS_DETAILS - BAPI : Address details for Real estate

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

MAINOBJECT_DATA - Main Object details

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

MAINOBJECT_ACCESSORIES_DATA - Accessory details

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

MAINOBJECT_BUSINESS_PARTNERS - List of business partners related to the real estate object

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

MAINOBJECT_DOCUMENTS - List of documents related to the real estate

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

Copy and paste ABAP code example for BAPI_CMS_RE_GETDETAIL_MULTI 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_data_requested  TYPE BAPICMS_RE_STR_REQD_DATA, "   
lt_realestate_identifier  TYPE STANDARD TABLE OF BAPICMS_RE_STR_IDENTIFIER_GET, "   
lt_mainobject_value_data  TYPE STANDARD TABLE OF BAPICMS_RE_STR_MAINOBJ_VAL_GET, "   
lt_mainobject_landregister  TYPE STANDARD TABLE OF BAPICMS_RE_STR_MAINOBJ_LR_GET, "   
lt_mainobject_cost_data  TYPE STANDARD TABLE OF BAPICMS_RE_STR_MAINOBJ_CST_GET, "   
lt_parts_data  TYPE STANDARD TABLE OF BAPICMS_RE_STR_OBJ_PRT_GET, "   
lt_parts_accessories_data  TYPE STANDARD TABLE OF BAPICMS_RE_STR_PRT_ACS_GET, "   
lt_parts_business_partners  TYPE STANDARD TABLE OF BAPICMS_RE_STR_PRT_BP_GET, "   
lt_parts_documents  TYPE STANDARD TABLE OF BAPICMS_RE_STR_PRT_DOC_GET, "   
lt_parts_value_data  TYPE STANDARD TABLE OF BAPICMS_RE_STR_PRT_VAL_GET, "   
lt_parts_landregister  TYPE STANDARD TABLE OF BAPICMS_RE_STR_PRT_LR_GET, "   
lt_parts_cost_data  TYPE STANDARD TABLE OF BAPICMS_RE_STR_PRT_CST_GET, "   
lt_realestate_keys  TYPE STANDARD TABLE OF BAPICMS_RE_STR_KEYS_GET, "   
lv_processextension  TYPE BAPI_CMS_STR_CENTRAL-PROCESSEXTENSION, "   
lt_object_insurance_data  TYPE STANDARD TABLE OF BAPICMS_RE_STR_OMS_INS_GET, "   
lt_object_insurance_partners  TYPE STANDARD TABLE OF BAPICMS_RE_STR_OMS_INS_BP_GET, "   
lt_object_insurance_documents  TYPE STANDARD TABLE OF BAPICMS_RE_STR_OMS_INS_DOC_GET, "   
lt_mainobject_propertylist_data  TYPE STANDARD TABLE OF BAPICMS_STR_MAIN_LR_SECB_GET, "   
lt_mainobject_nonmonetary_data  TYPE STANDARD TABLE OF BAPICMS_STR_MAIN_LR_SEC2_GET, "   
lt_parts_propertylist_data  TYPE STANDARD TABLE OF BAPICMS_STR_PRT_LR_SECB_GET, "   
lt_parts_nonmonetary_data  TYPE STANDARD TABLE OF BAPICMS_STR_PRT_LR_SEC2_GET, "   
lt_notes  TYPE STANDARD TABLE OF BAPICMS_RE_STR_NOTES_GET, "   
lt_user_status  TYPE STANDARD TABLE OF BAPICMS_RE_STR_USR_STAT_GET, "   
lt_system_status  TYPE STANDARD TABLE OF BAPICMS_RE_STR_SYS_STAT_GET, "   
lt_extensionin  TYPE STANDARD TABLE OF BAPIPAREX, "   
lt_return  TYPE STANDARD TABLE OF BAPIRET2, "   
lt_calculation_consolidated  TYPE STANDARD TABLE OF BAPICMS_STR_RE_CALC_CONS_GET, "   
lt_calculation_main  TYPE STANDARD TABLE OF BAPICMS_STR_RE_CALC_GET, "   
lt_calculation_parts  TYPE STANDARD TABLE OF BAPICMS_STR_RE_SAS_CALC_GET, "   
lt_extensionout  TYPE STANDARD TABLE OF BAPIPAREX, "   
lt_realestate_data  TYPE STANDARD TABLE OF BAPICMS_RE_STR_OBJ_HDR_GET, "   
lt_address_details  TYPE STANDARD TABLE OF BAPICMS_STR_RE_ADDR_CRT, "   
lt_mainobject_data  TYPE STANDARD TABLE OF BAPICMS_RE_STR_OBJ_MAIN_GET, "   
lt_mainobject_accessories_data  TYPE STANDARD TABLE OF BAPICMS_RE_STR_MAINOBJ_ACS_GET, "   
lt_mainobject_business_partners  TYPE STANDARD TABLE OF BAPICMS_RE_STR_MAINOBJ_BP_GET, "   
lt_mainobject_documents  TYPE STANDARD TABLE OF BAPICMS_RE_STR_MAINOBJ_DOC_GET. "   

  CALL FUNCTION 'BAPI_CMS_RE_GETDETAIL_MULTI'  "OMS : Real Estate Get Detail Multiple
    EXPORTING
         DATA_REQUESTED = lv_data_requested
         PROCESSEXTENSION = lv_processextension
    TABLES
         REALESTATE_IDENTIFIER = lt_realestate_identifier
         MAINOBJECT_VALUE_DATA = lt_mainobject_value_data
         MAINOBJECT_LANDREGISTER = lt_mainobject_landregister
         MAINOBJECT_COST_DATA = lt_mainobject_cost_data
         PARTS_DATA = lt_parts_data
         PARTS_ACCESSORIES_DATA = lt_parts_accessories_data
         PARTS_BUSINESS_PARTNERS = lt_parts_business_partners
         PARTS_DOCUMENTS = lt_parts_documents
         PARTS_VALUE_DATA = lt_parts_value_data
         PARTS_LANDREGISTER = lt_parts_landregister
         PARTS_COST_DATA = lt_parts_cost_data
         REALESTATE_KEYS = lt_realestate_keys
         OBJECT_INSURANCE_DATA = lt_object_insurance_data
         OBJECT_INSURANCE_PARTNERS = lt_object_insurance_partners
         OBJECT_INSURANCE_DOCUMENTS = lt_object_insurance_documents
         MAINOBJECT_PROPERTYLIST_DATA = lt_mainobject_propertylist_data
         MAINOBJECT_NONMONETARY_DATA = lt_mainobject_nonmonetary_data
         PARTS_PROPERTYLIST_DATA = lt_parts_propertylist_data
         PARTS_NONMONETARY_DATA = lt_parts_nonmonetary_data
         NOTES = lt_notes
         USER_STATUS = lt_user_status
         SYSTEM_STATUS = lt_system_status
         EXTENSIONIN = lt_extensionin
         RETURN = lt_return
         CALCULATION_CONSOLIDATED = lt_calculation_consolidated
         CALCULATION_MAIN = lt_calculation_main
         CALCULATION_PARTS = lt_calculation_parts
         EXTENSIONOUT = lt_extensionout
         REALESTATE_DATA = lt_realestate_data
         ADDRESS_DETAILS = lt_address_details
         MAINOBJECT_DATA = lt_mainobject_data
         MAINOBJECT_ACCESSORIES_DATA = lt_mainobject_accessories_data
         MAINOBJECT_BUSINESS_PARTNERS = lt_mainobject_business_partners
         MAINOBJECT_DOCUMENTS = lt_mainobject_documents
. " BAPI_CMS_RE_GETDETAIL_MULTI




ABAP code using 7.40 inline data declarations to call FM BAPI_CMS_RE_GETDETAIL_MULTI

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 PROCESSEXTENSION FROM BAPI_CMS_STR_CENTRAL INTO @DATA(ld_processextension).
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 


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!