SAP CMS_API_OMS_MAP_COMMON_DATA Function Module for Maps the common data ( BP, DOC, VAL, INS)









CMS_API_OMS_MAP_COMMON_DATA is a standard cms api oms map common data SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Maps the common data ( BP, DOC, VAL, INS) 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 api oms map common data FM, simply by entering the name CMS_API_OMS_MAP_COMMON_DATA into the relevant SAP transaction such as SE37 or SE38.

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



Function CMS_API_OMS_MAP_COMMON_DATA 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_API_OMS_MAP_COMMON_DATA'"Maps the common data ( BP, DOC, VAL, INS)
EXPORTING
I_OBJ_GUID = "OMS guid
* I_TAB_OMS_INS_BP_INPUT = "Insurance data
* I_TAB_OMS_INS_DOC_INPUT = "Insurance - document data
* I_TAB_OMS_BP_INPUT = "OMS - business partner data
* I_TAB_OMS_BP_GET = "Business Partner Link (Get data)
* I_TAB_OMS_DOC_INPUT = "OMS - Document data
* I_TAB_OMS_DOC_GET = "Document Service Link (Get Data)
* I_TAB_OMS_VAL_INPUT = "Value data
* I_TAB_OMS_VAL_GET = "Value service link (Get data)
* I_TAB_OMS_INS_INPUT = "Insurance data
* I_TAB_OMS_INS_GET = "Insurance Data - GET

IMPORTING
E_TAB_OMS_BP_SET = "Business Partner Link (Set data)
E_TAB_OMS_DOC_SET = "Documents Service Link (Set data)
E_TAB_OMS_VAL_SET = "Value service link (Set data)
E_TAB_OMS_INS_SET = "Insurance Data - SET
.



IMPORTING Parameters details for CMS_API_OMS_MAP_COMMON_DATA

I_OBJ_GUID - OMS guid

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

I_TAB_OMS_INS_BP_INPUT - Insurance data

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

I_TAB_OMS_INS_DOC_INPUT - Insurance - document data

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

I_TAB_OMS_BP_INPUT - OMS - business partner data

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

I_TAB_OMS_BP_GET - Business Partner Link (Get data)

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

I_TAB_OMS_DOC_INPUT - OMS - Document data

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

I_TAB_OMS_DOC_GET - Document Service Link (Get Data)

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

I_TAB_OMS_VAL_INPUT - Value data

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

I_TAB_OMS_VAL_GET - Value service link (Get data)

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

I_TAB_OMS_INS_INPUT - Insurance data

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

I_TAB_OMS_INS_GET - Insurance Data - GET

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

EXPORTING Parameters details for CMS_API_OMS_MAP_COMMON_DATA

E_TAB_OMS_BP_SET - Business Partner Link (Set data)

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

E_TAB_OMS_DOC_SET - Documents Service Link (Set data)

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

E_TAB_OMS_VAL_SET - Value service link (Set data)

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

E_TAB_OMS_INS_SET - Insurance Data - SET

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

Copy and paste ABAP code example for CMS_API_OMS_MAP_COMMON_DATA 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_obj_guid  TYPE CMS_DTE_OMS_GUID, "   
lv_e_tab_oms_bp_set  TYPE CMS_TAB_OMS_BP_LNK_SET_DATA, "   
lv_i_tab_oms_ins_bp_input  TYPE CMS_TAB_OMS_INS_BP_MAP_CRT, "   
lv_i_tab_oms_ins_doc_input  TYPE CMS_TAB_OMS_INS_DOC_MAP_CRT, "   
lv_e_tab_oms_doc_set  TYPE CMS_TAB_OMS_DOC_LNK_SET_DATA, "   
lv_i_tab_oms_bp_input  TYPE CMS_TAB_OMS_BP_MAP_CRT, "   
lv_i_tab_oms_bp_get  TYPE CMS_TAB_OMS_BP_LNK_GET_DATA, "   
lv_e_tab_oms_val_set  TYPE CMS_TAB_OMS_VAL_LNK_SET_DATA, "   
lv_e_tab_oms_ins_set  TYPE CMS_TAB_OMS_INS_DATA_SET, "   
lv_i_tab_oms_doc_input  TYPE CMS_TAB_OMS_DOC_MAP_CRT, "   
lv_i_tab_oms_doc_get  TYPE CMS_TAB_OMS_DOC_LNK_GET_DATA, "   
lv_i_tab_oms_val_input  TYPE CMS_TAB_OMS_VAL_MAP_CRT, "   
lv_i_tab_oms_val_get  TYPE CMS_TAB_OMS_VAL_LNK_GET_DATA, "   
lv_i_tab_oms_ins_input  TYPE CMS_TAB_OMS_INS_MAP_CRT, "   
lv_i_tab_oms_ins_get  TYPE CMS_TAB_OMS_INS_DATA_GET. "   

  CALL FUNCTION 'CMS_API_OMS_MAP_COMMON_DATA'  "Maps the common data ( BP, DOC, VAL, INS)
    EXPORTING
         I_OBJ_GUID = lv_i_obj_guid
         I_TAB_OMS_INS_BP_INPUT = lv_i_tab_oms_ins_bp_input
         I_TAB_OMS_INS_DOC_INPUT = lv_i_tab_oms_ins_doc_input
         I_TAB_OMS_BP_INPUT = lv_i_tab_oms_bp_input
         I_TAB_OMS_BP_GET = lv_i_tab_oms_bp_get
         I_TAB_OMS_DOC_INPUT = lv_i_tab_oms_doc_input
         I_TAB_OMS_DOC_GET = lv_i_tab_oms_doc_get
         I_TAB_OMS_VAL_INPUT = lv_i_tab_oms_val_input
         I_TAB_OMS_VAL_GET = lv_i_tab_oms_val_get
         I_TAB_OMS_INS_INPUT = lv_i_tab_oms_ins_input
         I_TAB_OMS_INS_GET = lv_i_tab_oms_ins_get
    IMPORTING
         E_TAB_OMS_BP_SET = lv_e_tab_oms_bp_set
         E_TAB_OMS_DOC_SET = lv_e_tab_oms_doc_set
         E_TAB_OMS_VAL_SET = lv_e_tab_oms_val_set
         E_TAB_OMS_INS_SET = lv_e_tab_oms_ins_set
. " CMS_API_OMS_MAP_COMMON_DATA




ABAP code using 7.40 inline data declarations to call FM CMS_API_OMS_MAP_COMMON_DATA

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.

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 


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!