SAP CMS_MAP_RE_CREATE_LR_MLT Function Module for MAPI - Create - Real estate object with multi LR pages
CMS_MAP_RE_CREATE_LR_MLT is a standard cms map re create lr mlt SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for MAPI - Create - Real estate object with multi LR pages 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 cms map re create lr mlt FM, simply by entering the name CMS_MAP_RE_CREATE_LR_MLT into the relevant SAP transaction such as SE37 or SE38.
Function Group: CMS_MAP_MIG_RE
Program Name: SAPLCMS_MAP_MIG_RE
Main Program: SAPLCMS_MAP_MIG_RE
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function CMS_MAP_RE_CREATE_LR_MLT 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 'CMS_MAP_RE_CREATE_LR_MLT'"MAPI - Create - Real estate object with multi LR pages.
EXPORTING
I_OBJECT_TYPE = "Real Estate Object Type ID
* I_STR_OBJ_ADDR = "Address data
* I_STR_MAIN_OBJ = "MAPI : Structure for RE : Main Object details
* I_TAB_MAIN_ACS = "MAPI : Table type for RE : Accessories
* I_TAB_MAIN_BP = "MAPI : Table type for RE - BP
* I_TAB_MAIN_DOC = "MAPI : Real estate main object - document
* I_TAB_MAIN_VAL = "MAPI : Table type for RE - Valuation
* I_TAB_MAIN_CST = "MAPI : Real estate object Cost
* I_TAB_OBJ_PRT = "MAPI : Real estate object parts create
* I_TAB_PRT_ACS = "MAPI : Create : Part accessories
* I_TAB_PRT_BP = "MAPI : Real estate part BP
* I_FLG_TESTRUN = "Indiacates that it is a test-run
* I_TAB_PRT_DOC = "MAPI : Real estate part Doc
* I_TAB_PRT_VAL = "MAPI : Real estate part value
* I_TAB_PRT_CST = "MAPI : Real estate part cost
* I_TAB_RE_INS = "Insurance data
* I_TAB_RE_INS_BP = "Insurance data
* I_TAB_RE_INS_DOC = "Insurance - document data
* I_TAB_RE_NOTES = "Notes data of an objects
* I_TAB_SYSTEM_STATUS = "System status for Movables
* I_TAB_USER_STATUS = "User Status
* I_BUPR_ID = "ID Number of Business Process
* I_FLG_UPDATE_TASK = ' ' "Flag: Use update task to save data
* I_BUPR_TYPE_CODE = '900001' "Business Process Code
* I_STR_RE_ORG_UNIT_DATA = "Organization units data
* I_TAB_LR_DE_SKY = "MAPI: Table type for semantic keys of Land register
* I_TAB_LR_DE_A_DATA = "MAPI: Table type for Land register section A data
* I_TAB_LR_DE_B_DATA = "MAPI : Land register section b details
* I_TAB_LR_DE_2_DATA = "MAPI : Land register section 2 details
* I_STR_OBJ_HDR = "MAPI : Create : Structure for Real Estate Object Header
IMPORTING
E_STR_RE_PKY_SKY = "MAPI :Create : Real estate - primary key & semantic key
E_TAB_LR_DE_SKY = "Semantic key for Land register
E_TAB_RETURN = "Return parameter table
IMPORTING Parameters details for CMS_MAP_RE_CREATE_LR_MLT
I_OBJECT_TYPE - Real Estate Object Type ID
Data type: CMS_RE_DTE_OBJ_TYPOptional: No
Call by Reference: No ( called with pass by value option)
I_STR_OBJ_ADDR - Address data
Data type: CMS_STR_OMS_ADDR_DATA_MAPOptional: Yes
Call by Reference: No ( called with pass by value option)
I_STR_MAIN_OBJ - MAPI : Structure for RE : Main Object details
Data type: CMS_RE_STR_OBJ_MAIN_MAP_CRTOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TAB_MAIN_ACS - MAPI : Table type for RE : Accessories
Data type: CMS_RE_TAB_MAIN_OBJ_ACS_MAPOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TAB_MAIN_BP - MAPI : Table type for RE - BP
Data type: CMS_RE_TAB_MAIN_OBJ_BP_MAPOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TAB_MAIN_DOC - MAPI : Real estate main object - document
Data type: CMS_RE_TAB_MAIN_OBJ_DOC_MAPOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TAB_MAIN_VAL - MAPI : Table type for RE - Valuation
Data type: CMS_RE_TAB_MAIN_OBJ_VAL_MAPOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TAB_MAIN_CST - MAPI : Real estate object Cost
Data type: CMS_RE_TAB_MAIN_OBJ_CST_MAPOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TAB_OBJ_PRT - MAPI : Real estate object parts create
Data type: CMS_RE_TAB_OBJ_PRT_MAP_CRTOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TAB_PRT_ACS - MAPI : Create : Part accessories
Data type: CMS_RE_TAB_PRT_ACS_MAP_CRTOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TAB_PRT_BP - MAPI : Real estate part BP
Data type: CMS_RE_TAB_PRT_BP_MAPOptional: Yes
Call by Reference: No ( called with pass by value option)
I_FLG_TESTRUN - Indiacates that it is a test-run
Data type: CMS_DTE_FLG_TESTRUN_MAPOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TAB_PRT_DOC - MAPI : Real estate part Doc
Data type: CMS_RE_TAB_PRT_DOC_MAPOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TAB_PRT_VAL - MAPI : Real estate part value
Data type: CMS_RE_TAB_PRT_VAL_MAPOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TAB_PRT_CST - MAPI : Real estate part cost
Data type: CMS_RE_TAB_PRT_CST_MAPOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TAB_RE_INS - Insurance data
Data type: CMS_TAB_MOV_INS_MAP_CRTOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TAB_RE_INS_BP - Insurance data
Data type: CMS_TAB_MOV_INS_BP_MAP_CRTOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TAB_RE_INS_DOC - Insurance - document data
Data type: CMS_TAB_MOV_INS_DOC_MAP_CRTOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TAB_RE_NOTES - Notes data of an objects
Data type: CMS_TAB_MOV_NOTES_CRT_MAPOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TAB_SYSTEM_STATUS - System status for Movables
Data type: CMS_TAB_MOV_SYS_STAT_MAP_CRTOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TAB_USER_STATUS - User Status
Data type: CMS_TAB_USR_STAT_MAP_CRTOptional: Yes
Call by Reference: No ( called with pass by value option)
I_BUPR_ID - ID Number of Business Process
Data type: CMS_DTE_BUPR_IDOptional: Yes
Call by Reference: No ( called with pass by value option)
I_FLG_UPDATE_TASK - Flag: Use update task to save data
Data type: CMS_DTE_FLG_UPDATE_TASKDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_BUPR_TYPE_CODE - Business Process Code
Data type: CMS_DTE_BUPR_TYP_CODEDefault: '900001'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_STR_RE_ORG_UNIT_DATA - Organization units data
Data type: CMS_STR_OMS_ORG_UNIT_MAPOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TAB_LR_DE_SKY - MAPI: Table type for semantic keys of Land register
Data type: CMS_TAB_LR_DE_SKY_MAPOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TAB_LR_DE_A_DATA - MAPI: Table type for Land register section A data
Data type: CMS_TAB_LR_DE_A_DATA1_MAP_EXTOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TAB_LR_DE_B_DATA - MAPI : Land register section b details
Data type: CMS_TAB_LR_DE_B_DATA1_MAP_EXTOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TAB_LR_DE_2_DATA - MAPI : Land register section 2 details
Data type: CMS_TAB_LR_DE_2_DATA1_MAP_EXTOptional: Yes
Call by Reference: No ( called with pass by value option)
I_STR_OBJ_HDR - MAPI : Create : Structure for Real Estate Object Header
Data type: CMS_RE_STR_OBJ_HDR_MAP_CRTOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for CMS_MAP_RE_CREATE_LR_MLT
E_STR_RE_PKY_SKY - MAPI :Create : Real estate - primary key & semantic key
Data type: CMS_STR_RE_PKY_SKY_MAP_CRTOptional: No
Call by Reference: No ( called with pass by value option)
E_TAB_LR_DE_SKY - Semantic key for Land register
Data type: CMS_TAB_LR_DE_SKY_MAPOptional: No
Call by Reference: No ( called with pass by value option)
E_TAB_RETURN - Return parameter table
Data type: BAPIRET2_TOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for CMS_MAP_RE_CREATE_LR_MLT 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_i_object_type | TYPE CMS_RE_DTE_OBJ_TYP, " | |||
| lv_e_str_re_pky_sky | TYPE CMS_STR_RE_PKY_SKY_MAP_CRT, " | |||
| lv_i_str_obj_addr | TYPE CMS_STR_OMS_ADDR_DATA_MAP, " | |||
| lv_i_str_main_obj | TYPE CMS_RE_STR_OBJ_MAIN_MAP_CRT, " | |||
| lv_i_tab_main_acs | TYPE CMS_RE_TAB_MAIN_OBJ_ACS_MAP, " | |||
| lv_i_tab_main_bp | TYPE CMS_RE_TAB_MAIN_OBJ_BP_MAP, " | |||
| lv_i_tab_main_doc | TYPE CMS_RE_TAB_MAIN_OBJ_DOC_MAP, " | |||
| lv_i_tab_main_val | TYPE CMS_RE_TAB_MAIN_OBJ_VAL_MAP, " | |||
| lv_i_tab_main_cst | TYPE CMS_RE_TAB_MAIN_OBJ_CST_MAP, " | |||
| lv_i_tab_obj_prt | TYPE CMS_RE_TAB_OBJ_PRT_MAP_CRT, " | |||
| lv_i_tab_prt_acs | TYPE CMS_RE_TAB_PRT_ACS_MAP_CRT, " | |||
| lv_i_tab_prt_bp | TYPE CMS_RE_TAB_PRT_BP_MAP, " | |||
| lv_i_flg_testrun | TYPE CMS_DTE_FLG_TESTRUN_MAP, " | |||
| lv_e_tab_lr_de_sky | TYPE CMS_TAB_LR_DE_SKY_MAP, " | |||
| lv_i_tab_prt_doc | TYPE CMS_RE_TAB_PRT_DOC_MAP, " | |||
| lv_i_tab_prt_val | TYPE CMS_RE_TAB_PRT_VAL_MAP, " | |||
| lv_i_tab_prt_cst | TYPE CMS_RE_TAB_PRT_CST_MAP, " | |||
| lv_i_tab_re_ins | TYPE CMS_TAB_MOV_INS_MAP_CRT, " | |||
| lv_i_tab_re_ins_bp | TYPE CMS_TAB_MOV_INS_BP_MAP_CRT, " | |||
| lv_i_tab_re_ins_doc | TYPE CMS_TAB_MOV_INS_DOC_MAP_CRT, " | |||
| lv_i_tab_re_notes | TYPE CMS_TAB_MOV_NOTES_CRT_MAP, " | |||
| lv_i_tab_system_status | TYPE CMS_TAB_MOV_SYS_STAT_MAP_CRT, " | |||
| lv_i_tab_user_status | TYPE CMS_TAB_USR_STAT_MAP_CRT, " | |||
| lv_i_bupr_id | TYPE CMS_DTE_BUPR_ID, " | |||
| lv_e_tab_return | TYPE BAPIRET2_T, " | |||
| lv_i_flg_update_task | TYPE CMS_DTE_FLG_UPDATE_TASK, " SPACE | |||
| lv_i_bupr_type_code | TYPE CMS_DTE_BUPR_TYP_CODE, " '900001' | |||
| lv_i_str_re_org_unit_data | TYPE CMS_STR_OMS_ORG_UNIT_MAP, " | |||
| lv_i_tab_lr_de_sky | TYPE CMS_TAB_LR_DE_SKY_MAP, " | |||
| lv_i_tab_lr_de_a_data | TYPE CMS_TAB_LR_DE_A_DATA1_MAP_EXT, " | |||
| lv_i_tab_lr_de_b_data | TYPE CMS_TAB_LR_DE_B_DATA1_MAP_EXT, " | |||
| lv_i_tab_lr_de_2_data | TYPE CMS_TAB_LR_DE_2_DATA1_MAP_EXT, " | |||
| lv_i_str_obj_hdr | TYPE CMS_RE_STR_OBJ_HDR_MAP_CRT. " |
|   CALL FUNCTION 'CMS_MAP_RE_CREATE_LR_MLT' "MAPI - Create - Real estate object with multi LR pages |
| EXPORTING | ||
| I_OBJECT_TYPE | = lv_i_object_type | |
| I_STR_OBJ_ADDR | = lv_i_str_obj_addr | |
| I_STR_MAIN_OBJ | = lv_i_str_main_obj | |
| I_TAB_MAIN_ACS | = lv_i_tab_main_acs | |
| I_TAB_MAIN_BP | = lv_i_tab_main_bp | |
| I_TAB_MAIN_DOC | = lv_i_tab_main_doc | |
| I_TAB_MAIN_VAL | = lv_i_tab_main_val | |
| I_TAB_MAIN_CST | = lv_i_tab_main_cst | |
| I_TAB_OBJ_PRT | = lv_i_tab_obj_prt | |
| I_TAB_PRT_ACS | = lv_i_tab_prt_acs | |
| I_TAB_PRT_BP | = lv_i_tab_prt_bp | |
| I_FLG_TESTRUN | = lv_i_flg_testrun | |
| I_TAB_PRT_DOC | = lv_i_tab_prt_doc | |
| I_TAB_PRT_VAL | = lv_i_tab_prt_val | |
| I_TAB_PRT_CST | = lv_i_tab_prt_cst | |
| I_TAB_RE_INS | = lv_i_tab_re_ins | |
| I_TAB_RE_INS_BP | = lv_i_tab_re_ins_bp | |
| I_TAB_RE_INS_DOC | = lv_i_tab_re_ins_doc | |
| I_TAB_RE_NOTES | = lv_i_tab_re_notes | |
| I_TAB_SYSTEM_STATUS | = lv_i_tab_system_status | |
| I_TAB_USER_STATUS | = lv_i_tab_user_status | |
| I_BUPR_ID | = lv_i_bupr_id | |
| I_FLG_UPDATE_TASK | = lv_i_flg_update_task | |
| I_BUPR_TYPE_CODE | = lv_i_bupr_type_code | |
| I_STR_RE_ORG_UNIT_DATA | = lv_i_str_re_org_unit_data | |
| I_TAB_LR_DE_SKY | = lv_i_tab_lr_de_sky | |
| I_TAB_LR_DE_A_DATA | = lv_i_tab_lr_de_a_data | |
| I_TAB_LR_DE_B_DATA | = lv_i_tab_lr_de_b_data | |
| I_TAB_LR_DE_2_DATA | = lv_i_tab_lr_de_2_data | |
| I_STR_OBJ_HDR | = lv_i_str_obj_hdr | |
| IMPORTING | ||
| E_STR_RE_PKY_SKY | = lv_e_str_re_pky_sky | |
| E_TAB_LR_DE_SKY | = lv_e_tab_lr_de_sky | |
| E_TAB_RETURN | = lv_e_tab_return | |
| . " CMS_MAP_RE_CREATE_LR_MLT | ||
ABAP code using 7.40 inline data declarations to call FM CMS_MAP_RE_CREATE_LR_MLT
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_i_flg_update_task) | = ' '. | |||
| DATA(ld_i_bupr_type_code) | = '900001'. | |||
Search for further information about these or an SAP related objects