SAP CMS_API_LIF_INS_GET_LIST Function Module for Life Insurance Get List









CMS_API_LIF_INS_GET_LIST is a standard cms api lif ins get list SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Life Insurance Get List 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 lif ins get list FM, simply by entering the name CMS_API_LIF_INS_GET_LIST into the relevant SAP transaction such as SE37 or SE38.

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



Function CMS_API_LIF_INS_GET_LIST 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_LIF_INS_GET_LIST'"Life Insurance Get List
EXPORTING
* I_MAX_ROWS = 100 "Maximum number of lines of hits
* I_TAB_INS_ID_RNG = "Table of insurance IDs
* I_TAB_INS_TYPE_RNG = "Table of insurance IDs
* I_TAB_EXT_ITM_NO_RNG = "Range table for insurance policy numbers (ext item no)
* I_TAB_ADMIN_ORG_RNG = "Range Table for Administrative Organisational Units
* I_TAB_BPF_RNG = "Business Partner Function
* I_TAB_BPID_RNG = "Range Table for Business Partner Identifiers

IMPORTING
E_TAB_INS_ID_GUID = "Table type - INS_GUID and ID
.



IMPORTING Parameters details for CMS_API_LIF_INS_GET_LIST

I_MAX_ROWS - Maximum number of lines of hits

Data type: BAPIMAXROW
Default: 100
Optional: Yes
Call by Reference: Yes

I_TAB_INS_ID_RNG - Table of insurance IDs

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

I_TAB_INS_TYPE_RNG - Table of insurance IDs

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

I_TAB_EXT_ITM_NO_RNG - Range table for insurance policy numbers (ext item no)

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

I_TAB_ADMIN_ORG_RNG - Range Table for Administrative Organisational Units

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

I_TAB_BPF_RNG - Business Partner Function

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

I_TAB_BPID_RNG - Range Table for Business Partner Identifiers

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

EXPORTING Parameters details for CMS_API_LIF_INS_GET_LIST

E_TAB_INS_ID_GUID - Table type - INS_GUID and ID

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

Copy and paste ABAP code example for CMS_API_LIF_INS_GET_LIST 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_max_rows  TYPE BAPIMAXROW, "   100
lv_e_tab_ins_id_guid  TYPE CMS_TAB_INS_ID_GUID, "   
lv_i_tab_ins_id_rng  TYPE CMS_TAB_INS_ID_RNG, "   
lv_i_tab_ins_type_rng  TYPE CMS_TAB_INS_TYPE_RNG, "   
lv_i_tab_ext_itm_no_rng  TYPE CMS_TAB_INS_POLICY_NUMBER_RNG, "   
lv_i_tab_admin_org_rng  TYPE CMS_TAB_ADMIN_UNIT_RNG, "   
lv_i_tab_bpf_rng  TYPE CMS_TAB_BPF_RNG, "   
lv_i_tab_bpid_rng  TYPE CMS_TAB_BPID_RNG. "   

  CALL FUNCTION 'CMS_API_LIF_INS_GET_LIST'  "Life Insurance Get List
    EXPORTING
         I_MAX_ROWS = lv_i_max_rows
         I_TAB_INS_ID_RNG = lv_i_tab_ins_id_rng
         I_TAB_INS_TYPE_RNG = lv_i_tab_ins_type_rng
         I_TAB_EXT_ITM_NO_RNG = lv_i_tab_ext_itm_no_rng
         I_TAB_ADMIN_ORG_RNG = lv_i_tab_admin_org_rng
         I_TAB_BPF_RNG = lv_i_tab_bpf_rng
         I_TAB_BPID_RNG = lv_i_tab_bpid_rng
    IMPORTING
         E_TAB_INS_ID_GUID = lv_e_tab_ins_id_guid
. " CMS_API_LIF_INS_GET_LIST




ABAP code using 7.40 inline data declarations to call FM CMS_API_LIF_INS_GET_LIST

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_max_rows) = 100.
 
 
 
 
 
 
 
 


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!