SAP CRM_ICM_GET_COM_CASE_LIST Function Module for Get a list of Commission Case Ids
CRM_ICM_GET_COM_CASE_LIST is a standard crm icm get com case 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 Get a list of Commission Case Ids 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 crm icm get com case list FM, simply by entering the name CRM_ICM_GET_COM_CASE_LIST into the relevant SAP transaction such as SE37 or SE38.
Function Group: CACS_CRM_DDIC_ACCESS
Program Name: SAPLCACS_CRM_DDIC_ACCESS
Main Program:
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function CRM_ICM_GET_COM_CASE_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 'CRM_ICM_GET_COM_CASE_LIST'"Get a list of Commission Case Ids.
EXPORTING
IV_ICM_APPL = "Commission Application Identification
TABLES
IT_CASE_ID = "Range for Case Id
IT_POST_DATE = "Range for Posting Date
IT_BUSOBJID = "Range for Business Object Id
IT_IMPORTYEAR = "Range for Import Year
IT_BUSOBJTYPE = "Range for Business Object Type
ET_CAS = "Case Information for ICM Application
IMPORTING Parameters details for CRM_ICM_GET_COM_CASE_LIST
IV_ICM_APPL - Commission Application Identification
Data type: CACSAPPLOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for CRM_ICM_GET_COM_CASE_LIST
IT_CASE_ID - Range for Case Id
Data type: CACS_S_CRM_CASEID_RANGEOptional: No
Call by Reference: Yes
IT_POST_DATE - Range for Posting Date
Data type: CACS_S_CRM_POSTDATE_RANGEOptional: No
Call by Reference: Yes
IT_BUSOBJID - Range for Business Object Id
Data type: CACS_S_CRM_BUSOBJID_RANGEOptional: No
Call by Reference: Yes
IT_IMPORTYEAR - Range for Import Year
Data type: CACS_S_CRM_IMPORTYEAR_RANGEOptional: No
Call by Reference: Yes
IT_BUSOBJTYPE - Range for Business Object Type
Data type: CACS_S_CRM_BUSOBJTYPE_RANGEOptional: No
Call by Reference: Yes
ET_CAS - Case Information for ICM Application
Data type: CACS_S_CRM_CASOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for CRM_ICM_GET_COM_CASE_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: | ||||
| lt_it_case_id | TYPE STANDARD TABLE OF CACS_S_CRM_CASEID_RANGE, " | |||
| lv_iv_icm_appl | TYPE CACSAPPL, " | |||
| lt_it_post_date | TYPE STANDARD TABLE OF CACS_S_CRM_POSTDATE_RANGE, " | |||
| lt_it_busobjid | TYPE STANDARD TABLE OF CACS_S_CRM_BUSOBJID_RANGE, " | |||
| lt_it_importyear | TYPE STANDARD TABLE OF CACS_S_CRM_IMPORTYEAR_RANGE, " | |||
| lt_it_busobjtype | TYPE STANDARD TABLE OF CACS_S_CRM_BUSOBJTYPE_RANGE, " | |||
| lt_et_cas | TYPE STANDARD TABLE OF CACS_S_CRM_CAS. " |
|   CALL FUNCTION 'CRM_ICM_GET_COM_CASE_LIST' "Get a list of Commission Case Ids |
| EXPORTING | ||
| IV_ICM_APPL | = lv_iv_icm_appl | |
| TABLES | ||
| IT_CASE_ID | = lt_it_case_id | |
| IT_POST_DATE | = lt_it_post_date | |
| IT_BUSOBJID | = lt_it_busobjid | |
| IT_IMPORTYEAR | = lt_it_importyear | |
| IT_BUSOBJTYPE | = lt_it_busobjtype | |
| ET_CAS | = lt_et_cas | |
| . " CRM_ICM_GET_COM_CASE_LIST | ||
ABAP code using 7.40 inline data declarations to call FM CRM_ICM_GET_COM_CASE_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.Search for further information about these or an SAP related objects