CMS_MAP_INS_CREATE is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name CMS_MAP_INS_CREATE into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
CMS_MAP_INS
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'CMS_MAP_INS_CREATE' "Create an Insurance
EXPORTING
i_ins_category = " cms_dte_oms_obj_cat Object Category
i_ins_typ = " cms_dte_ins_type Insurance Type
* i_flg_testrun = " cms_dte_flg_testrun_map Indiacates that it is a test-run
* i_tab_system_status = " cms_tab_ins_sys_stat_map_crt System statuses
* i_tab_user_status = " cms_tab_usr_stat_map_crt User Status
* i_str_org_unit_data = " cms_str_oms_org_unit_map Organization units data
* i_str_ast_data = " cms_str_ins_ast_map_crt Insurance - asset data
* i_str_lif_ins_data = " cms_str_lif_ins_map_crt Life insurance data
* i_tab_lif_ins_psn_data = " cms_tab_ins_person_map_crt Insured persons data
* i_tab_ins_bp = " cms_tab_oms_bp_map_crt OMS - Business partner data
* i_tab_ins_doc = " cms_tab_oms_doc_map_crt OMS - Document data
* i_tab_ins_val = " cms_tab_oms_val_map_crt Value data
* i_tab_ins_notes = " cms_tab_ins_notes_crt_map Text lines
IMPORTING
e_str_ins_pky_sky = " cms_str_ins_pky_sky_map_crt Insurance primary key and secondary key
e_tab_return = " bapiret2_t Return parameter table
. " CMS_MAP_INS_CREATE
The ABAP code below is a full code listing to execute function module CMS_MAP_INS_CREATE including all data declarations. The code uses 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 original method of declaring data variables up front. 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).
| ld_e_str_ins_pky_sky | TYPE CMS_STR_INS_PKY_SKY_MAP_CRT , |
| ld_e_tab_return | TYPE BAPIRET2_T . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_e_str_ins_pky_sky | TYPE CMS_STR_INS_PKY_SKY_MAP_CRT , |
| ld_i_ins_category | TYPE CMS_DTE_OMS_OBJ_CAT , |
| ld_e_tab_return | TYPE BAPIRET2_T , |
| ld_i_ins_typ | TYPE CMS_DTE_INS_TYPE , |
| ld_i_flg_testrun | TYPE CMS_DTE_FLG_TESTRUN_MAP , |
| ld_i_tab_system_status | TYPE CMS_TAB_INS_SYS_STAT_MAP_CRT , |
| ld_i_tab_user_status | TYPE CMS_TAB_USR_STAT_MAP_CRT , |
| ld_i_str_org_unit_data | TYPE CMS_STR_OMS_ORG_UNIT_MAP , |
| ld_i_str_ast_data | TYPE CMS_STR_INS_AST_MAP_CRT , |
| ld_i_str_lif_ins_data | TYPE CMS_STR_LIF_INS_MAP_CRT , |
| ld_i_tab_lif_ins_psn_data | TYPE CMS_TAB_INS_PERSON_MAP_CRT , |
| ld_i_tab_ins_bp | TYPE CMS_TAB_OMS_BP_MAP_CRT , |
| ld_i_tab_ins_doc | TYPE CMS_TAB_OMS_DOC_MAP_CRT , |
| ld_i_tab_ins_val | TYPE CMS_TAB_OMS_VAL_MAP_CRT , |
| ld_i_tab_ins_notes | TYPE CMS_TAB_INS_NOTES_CRT_MAP . |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name CMS_MAP_INS_CREATE or its description.
CMS_MAP_INS_CREATE - Create an Insurance CMS_MAP_FOB_CREATE - Create the financed objects CMS_MAP_COL_GET_BY_RBL - Get collateral details based on receivable CMS_MAP_CAG_RBL_GEN_BY_RBL - MAPI : Generate Agreement -Receivable links for a receivable CMS_MAP_CAG_GET_MLT - Get Collateral agreement details(For multiple CAGs) CMS_MAP_CAG_GET_BY_RBL - Fetch Collateral Agreement Identifiers using RBL semantic key