SAP CMS_MAP_MIG_RE_CREATE Function Module for MAPI : Land Register & Real Estate - Migrate Create - [ DO NOT USE ]
CMS_MAP_MIG_RE_CREATE is a standard cms map mig re 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 MAPI : Land Register & Real Estate - Migrate Create - [ DO NOT USE ] 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 mig re create FM, simply by entering the name CMS_MAP_MIG_RE_CREATE 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): Remote-Enabled
Update:

Function CMS_MAP_MIG_RE_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 'CMS_MAP_MIG_RE_CREATE'"MAPI : Land Register & Real Estate - Migrate Create - [ DO NOT USE ].
EXPORTING
I_STR_ADMINORG = "Administrative organization unit
* I_FLG_TEST_RUN = ' ' "Indicator
* I_STR_LR_DE_SKY = "Semantic key for Land register
* I_STR_LR_DE_A_DATA = "MAPI : Land register Section A data
I_OBJECT_TYP = "Real Estate Object Type ID
I_STR_OBJ_HDR = "MAPI : Structure for Real Estate Object Header
I_STR_OBJ_ADDR = "Address details
I_STR_MAIN_OBJ = "MAPI : Structure for RE : Main Object details
* I_FLG_UPDATE_TASK = 'X' "Indicator
* I_FLG_COMMIT = 'X' "Indicator
IMPORTING
E_STR_RE_OBJECT = "Semantic key for Real Estate
E_STR_LR_DE_SKY = "Semantic key for Land register
E_ERROR_FLG = "Indicator
E_STR_RETURN = "Return Parameter
TABLES
* I_TAB_LR_DE_B_DATA = "MAPI : Land Register - Structure for Section B
* I_TAB_PRT_BP = "MAPI : Real estate part BP
* I_TAB_PRT_DOC = "MAPI : Real estate Part Document
* I_TAB_PRT_VAL = "MAPI : Real estate part value
* I_TAB_PRT_CST = "MAPI : Real estate part cost
* I_TAB_RE_NOTES = "SAPscript: Text Lines
* I_TAB_LR_DE_2_DATA = "MAPI : Land register section 2 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 part Doc
* I_TAB_MAIN_VAL = "MAPI : Structure for RE : Valuation
* I_TAB_MAIN_CST = "MAPI : Real estate object Cost details
* I_TAB_OBJ_PRT = "MAPI : Structure for Real Estate Part
* I_TAB_PRT_ACS = "MAPI : Stricture for Real Estate Part Accessories
IMPORTING Parameters details for CMS_MAP_MIG_RE_CREATE
I_STR_ADMINORG - Administrative organization unit
Data type: CMS_STR_ADMINORGOptional: No
Call by Reference: No ( called with pass by value option)
I_FLG_TEST_RUN - Indicator
Data type: CMS_RE_STR_RE_FLG-FLAGDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_STR_LR_DE_SKY - Semantic key for Land register
Data type: CMS_STR_LR_DE_SKY_MAPOptional: Yes
Call by Reference: No ( called with pass by value option)
I_STR_LR_DE_A_DATA - MAPI : Land register Section A data
Data type: CMS_STR_LR_DE_A_DATA1_MAPOptional: Yes
Call by Reference: No ( called with pass by value option)
I_OBJECT_TYP - Real Estate Object Type ID
Data type: CMS_RE_STR_OBJ_HDR_DATA-OBJECT_TYPEOptional: No
Call by Reference: No ( called with pass by value option)
I_STR_OBJ_HDR - MAPI : Structure for Real Estate Object Header
Data type: CMS_RE_STR_OBJ_HDR_MAPOptional: No
Call by Reference: No ( called with pass by value option)
I_STR_OBJ_ADDR - Address details
Data type: CMS_RE_STR_ADDR_MAPOptional: No
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_MAPOptional: No
Call by Reference: No ( called with pass by value option)
I_FLG_UPDATE_TASK - Indicator
Data type: CMS_RE_STR_RE_FLG-FLAGDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_FLG_COMMIT - Indicator
Data type: CMS_RE_STR_RE_FLG-FLAGDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for CMS_MAP_MIG_RE_CREATE
E_STR_RE_OBJECT - Semantic key for Real Estate
Data type: CMS_RE_STR_OBJECT_SKY_MAPOptional: No
Call by Reference: No ( called with pass by value option)
E_STR_LR_DE_SKY - Semantic key for Land register
Data type: CMS_STR_LR_DE_SKY_MAPOptional: No
Call by Reference: No ( called with pass by value option)
E_ERROR_FLG - Indicator
Data type: CMS_RE_STR_RE_FLG-FLAGOptional: No
Call by Reference: No ( called with pass by value option)
E_STR_RETURN - Return Parameter
Data type: BAPIRET2Optional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for CMS_MAP_MIG_RE_CREATE
I_TAB_LR_DE_B_DATA - MAPI : Land Register - Structure for Section B
Data type: CMS_STR_LR_DE_B_DATA1_MAPOptional: Yes
Call by Reference: Yes
I_TAB_PRT_BP - MAPI : Real estate part BP
Data type: CMS_RE_STR_PRT_BP_MAPOptional: Yes
Call by Reference: Yes
I_TAB_PRT_DOC - MAPI : Real estate Part Document
Data type: CMS_RE_STR_PRT_DOC_MAPOptional: Yes
Call by Reference: Yes
I_TAB_PRT_VAL - MAPI : Real estate part value
Data type: CMS_RE_STR_PRT_VAL_MAPOptional: Yes
Call by Reference: Yes
I_TAB_PRT_CST - MAPI : Real estate part cost
Data type: CMS_RE_STR_PRT_CST_MAPOptional: Yes
Call by Reference: Yes
I_TAB_RE_NOTES - SAPscript: Text Lines
Data type: TLINEOptional: Yes
Call by Reference: Yes
I_TAB_LR_DE_2_DATA - MAPI : Land register section 2 details
Data type: CMS_STR_LR_DE_2_DATA1_MAPOptional: Yes
Call by Reference: Yes
I_TAB_MAIN_ACS - MAPI : Table type for RE : Accessories
Data type: CMS_RE_STR_MAIN_OBJ_ACS_MAPOptional: Yes
Call by Reference: Yes
I_TAB_MAIN_BP - MAPI : Table type for RE - BP
Data type: CMS_RE_STR_MAIN_OBJ_BP_MAPOptional: Yes
Call by Reference: Yes
I_TAB_MAIN_DOC - MAPI : Real estate part Doc
Data type: CMS_RE_STR_MAIN_OBJ_DOC_MAPOptional: Yes
Call by Reference: Yes
I_TAB_MAIN_VAL - MAPI : Structure for RE : Valuation
Data type: CMS_RE_STR_MAIN_OBJ_VAL_MAPOptional: Yes
Call by Reference: Yes
I_TAB_MAIN_CST - MAPI : Real estate object Cost details
Data type: CMS_RE_STR_MAIN_OBJ_CST_MAPOptional: Yes
Call by Reference: Yes
I_TAB_OBJ_PRT - MAPI : Structure for Real Estate Part
Data type: CMS_RE_STR_OBJ_PRT_MAPOptional: Yes
Call by Reference: Yes
I_TAB_PRT_ACS - MAPI : Stricture for Real Estate Part Accessories
Data type: CMS_RE_STR_PRT_ACS_MAPOptional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for CMS_MAP_MIG_RE_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_i_str_adminorg | TYPE CMS_STR_ADMINORG, " | |||
| lv_e_str_re_object | TYPE CMS_RE_STR_OBJECT_SKY_MAP, " | |||
| lt_i_tab_lr_de_b_data | TYPE STANDARD TABLE OF CMS_STR_LR_DE_B_DATA1_MAP, " | |||
| lt_i_tab_prt_bp | TYPE STANDARD TABLE OF CMS_RE_STR_PRT_BP_MAP, " | |||
| lv_i_flg_test_run | TYPE CMS_RE_STR_RE_FLG-FLAG, " SPACE | |||
| lt_i_tab_prt_doc | TYPE STANDARD TABLE OF CMS_RE_STR_PRT_DOC_MAP, " | |||
| lt_i_tab_prt_val | TYPE STANDARD TABLE OF CMS_RE_STR_PRT_VAL_MAP, " | |||
| lt_i_tab_prt_cst | TYPE STANDARD TABLE OF CMS_RE_STR_PRT_CST_MAP, " | |||
| lt_i_tab_re_notes | TYPE STANDARD TABLE OF TLINE, " | |||
| lv_e_str_lr_de_sky | TYPE CMS_STR_LR_DE_SKY_MAP, " | |||
| lv_i_str_lr_de_sky | TYPE CMS_STR_LR_DE_SKY_MAP, " | |||
| lt_i_tab_lr_de_2_data | TYPE STANDARD TABLE OF CMS_STR_LR_DE_2_DATA1_MAP, " | |||
| lv_e_error_flg | TYPE CMS_RE_STR_RE_FLG-FLAG, " | |||
| lt_i_tab_main_acs | TYPE STANDARD TABLE OF CMS_RE_STR_MAIN_OBJ_ACS_MAP, " | |||
| lv_i_str_lr_de_a_data | TYPE CMS_STR_LR_DE_A_DATA1_MAP, " | |||
| lv_e_str_return | TYPE BAPIRET2, " | |||
| lv_i_object_typ | TYPE CMS_RE_STR_OBJ_HDR_DATA-OBJECT_TYPE, " | |||
| lt_i_tab_main_bp | TYPE STANDARD TABLE OF CMS_RE_STR_MAIN_OBJ_BP_MAP, " | |||
| lv_i_str_obj_hdr | TYPE CMS_RE_STR_OBJ_HDR_MAP, " | |||
| lt_i_tab_main_doc | TYPE STANDARD TABLE OF CMS_RE_STR_MAIN_OBJ_DOC_MAP, " | |||
| lv_i_str_obj_addr | TYPE CMS_RE_STR_ADDR_MAP, " | |||
| lt_i_tab_main_val | TYPE STANDARD TABLE OF CMS_RE_STR_MAIN_OBJ_VAL_MAP, " | |||
| lv_i_str_main_obj | TYPE CMS_RE_STR_OBJ_MAIN_MAP, " | |||
| lt_i_tab_main_cst | TYPE STANDARD TABLE OF CMS_RE_STR_MAIN_OBJ_CST_MAP, " | |||
| lt_i_tab_obj_prt | TYPE STANDARD TABLE OF CMS_RE_STR_OBJ_PRT_MAP, " | |||
| lv_i_flg_update_task | TYPE CMS_RE_STR_RE_FLG-FLAG, " 'X' | |||
| lv_i_flg_commit | TYPE CMS_RE_STR_RE_FLG-FLAG, " 'X' | |||
| lt_i_tab_prt_acs | TYPE STANDARD TABLE OF CMS_RE_STR_PRT_ACS_MAP. " |
|   CALL FUNCTION 'CMS_MAP_MIG_RE_CREATE' "MAPI : Land Register & Real Estate - Migrate Create - [ DO NOT USE ] |
| EXPORTING | ||
| I_STR_ADMINORG | = lv_i_str_adminorg | |
| I_FLG_TEST_RUN | = lv_i_flg_test_run | |
| I_STR_LR_DE_SKY | = lv_i_str_lr_de_sky | |
| I_STR_LR_DE_A_DATA | = lv_i_str_lr_de_a_data | |
| I_OBJECT_TYP | = lv_i_object_typ | |
| I_STR_OBJ_HDR | = lv_i_str_obj_hdr | |
| I_STR_OBJ_ADDR | = lv_i_str_obj_addr | |
| I_STR_MAIN_OBJ | = lv_i_str_main_obj | |
| I_FLG_UPDATE_TASK | = lv_i_flg_update_task | |
| I_FLG_COMMIT | = lv_i_flg_commit | |
| IMPORTING | ||
| E_STR_RE_OBJECT | = lv_e_str_re_object | |
| E_STR_LR_DE_SKY | = lv_e_str_lr_de_sky | |
| E_ERROR_FLG | = lv_e_error_flg | |
| E_STR_RETURN | = lv_e_str_return | |
| TABLES | ||
| I_TAB_LR_DE_B_DATA | = lt_i_tab_lr_de_b_data | |
| I_TAB_PRT_BP | = lt_i_tab_prt_bp | |
| I_TAB_PRT_DOC | = lt_i_tab_prt_doc | |
| I_TAB_PRT_VAL | = lt_i_tab_prt_val | |
| I_TAB_PRT_CST | = lt_i_tab_prt_cst | |
| I_TAB_RE_NOTES | = lt_i_tab_re_notes | |
| I_TAB_LR_DE_2_DATA | = lt_i_tab_lr_de_2_data | |
| I_TAB_MAIN_ACS | = lt_i_tab_main_acs | |
| I_TAB_MAIN_BP | = lt_i_tab_main_bp | |
| I_TAB_MAIN_DOC | = lt_i_tab_main_doc | |
| I_TAB_MAIN_VAL | = lt_i_tab_main_val | |
| I_TAB_MAIN_CST | = lt_i_tab_main_cst | |
| I_TAB_OBJ_PRT | = lt_i_tab_obj_prt | |
| I_TAB_PRT_ACS | = lt_i_tab_prt_acs | |
| . " CMS_MAP_MIG_RE_CREATE | ||
ABAP code using 7.40 inline data declarations to call FM CMS_MAP_MIG_RE_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 FLAG FROM CMS_RE_STR_RE_FLG INTO @DATA(ld_i_flg_test_run). | ||||
| DATA(ld_i_flg_test_run) | = ' '. | |||
| "SELECT single FLAG FROM CMS_RE_STR_RE_FLG INTO @DATA(ld_e_error_flg). | ||||
| "SELECT single OBJECT_TYPE FROM CMS_RE_STR_OBJ_HDR_DATA INTO @DATA(ld_i_object_typ). | ||||
| "SELECT single FLAG FROM CMS_RE_STR_RE_FLG INTO @DATA(ld_i_flg_update_task). | ||||
| DATA(ld_i_flg_update_task) | = 'X'. | |||
| "SELECT single FLAG FROM CMS_RE_STR_RE_FLG INTO @DATA(ld_i_flg_commit). | ||||
| DATA(ld_i_flg_commit) | = 'X'. | |||
Search for further information about these or an SAP related objects