SAP CNV_CMIS_A_20_GET_NO_OF_DATA Function Module for Evaluate the number of entries in a work list table
CNV_CMIS_A_20_GET_NO_OF_DATA is a standard cnv cmis a 20 get no of 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 Evaluate the number of entries in a work list table 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 cnv cmis a 20 get no of data FM, simply by entering the name CNV_CMIS_A_20_GET_NO_OF_DATA into the relevant SAP transaction such as SE37 or SE38.
Function Group: CNV_CMIS_A_20_WL
Program Name: SAPLCNV_CMIS_A_20_WL
Main Program: SAPLCNV_CMIS_A_20_WL
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function CNV_CMIS_A_20_GET_NO_OF_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 'CNV_CMIS_A_20_GET_NO_OF_DATA'"Evaluate the number of entries in a work list table.
EXPORTING
PACKID = "Package Number to Specify CMIS and TDMS Packages
* VERSION = '001' "Version number
TABNAME = "Table name
IMPORTING
NO_OF_ENTRIES = "Number of entries in table
SOURCE_NOT_AVAILABLE = "Table not available in source system
TARGET_NOT_AVAILABLE = "Table not available in target system
COMPARE_FLAG = "Compare flag indicator
EXCEPTIONS
NO_PACKID = 1 NOT_IN_PACKAGE = 2 OTHERS = 3
IMPORTING Parameters details for CNV_CMIS_A_20_GET_NO_OF_DATA
PACKID - Package Number to Specify CMIS and TDMS Packages
Data type: CNV_MBT_PACKIDOptional: No
Call by Reference: No ( called with pass by value option)
VERSION - Version number
Data type: CNVCMIS_A_20_VERSNDefault: '001'
Optional: Yes
Call by Reference: No ( called with pass by value option)
TABNAME - Table name
Data type: TABNAMEOptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for CNV_CMIS_A_20_GET_NO_OF_DATA
NO_OF_ENTRIES - Number of entries in table
Data type: IOptional: No
Call by Reference: No ( called with pass by value option)
SOURCE_NOT_AVAILABLE - Table not available in source system
Data type: COptional: No
Call by Reference: No ( called with pass by value option)
TARGET_NOT_AVAILABLE - Table not available in target system
Data type: COptional: No
Call by Reference: No ( called with pass by value option)
COMPARE_FLAG - Compare flag indicator
Data type: COptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
NO_PACKID - No value for PackID passed
Data type:Optional: No
Call by Reference: Yes
NOT_IN_PACKAGE - Table is not part of package
Data type:Optional: No
Call by Reference: Yes
OTHERS - Others
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for CNV_CMIS_A_20_GET_NO_OF_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_packid | TYPE CNV_MBT_PACKID, " | |||
| lv_no_packid | TYPE CNV_MBT_PACKID, " | |||
| lv_no_of_entries | TYPE I, " | |||
| lv_version | TYPE CNVCMIS_A_20_VERSN, " '001' | |||
| lv_not_in_package | TYPE CNVCMIS_A_20_VERSN, " | |||
| lv_source_not_available | TYPE C, " | |||
| lv_others | TYPE C, " | |||
| lv_tabname | TYPE TABNAME, " | |||
| lv_target_not_available | TYPE C, " | |||
| lv_compare_flag | TYPE C. " |
|   CALL FUNCTION 'CNV_CMIS_A_20_GET_NO_OF_DATA' "Evaluate the number of entries in a work list table |
| EXPORTING | ||
| PACKID | = lv_packid | |
| VERSION | = lv_version | |
| TABNAME | = lv_tabname | |
| IMPORTING | ||
| NO_OF_ENTRIES | = lv_no_of_entries | |
| SOURCE_NOT_AVAILABLE | = lv_source_not_available | |
| TARGET_NOT_AVAILABLE | = lv_target_not_available | |
| COMPARE_FLAG | = lv_compare_flag | |
| EXCEPTIONS | ||
| NO_PACKID = 1 | ||
| NOT_IN_PACKAGE = 2 | ||
| OTHERS = 3 | ||
| . " CNV_CMIS_A_20_GET_NO_OF_DATA | ||
ABAP code using 7.40 inline data declarations to call FM CNV_CMIS_A_20_GET_NO_OF_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.| DATA(ld_version) | = '001'. | |||
Search for further information about these or an SAP related objects