SAP CNV_CDMC_CC_READ_TABLE Function Module for CDMC - Read data from a table (RFC)









CNV_CDMC_CC_READ_TABLE is a standard cnv cdmc cc read table SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for CDMC - Read data from a table (RFC) 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 cdmc cc read table FM, simply by entering the name CNV_CDMC_CC_READ_TABLE into the relevant SAP transaction such as SE37 or SE38.

Function Group: CNV_CDMC_CC_FUNCTIONS
Program Name: SAPLCNV_CDMC_CC_FUNCTIONS
Main Program: SAPLCNV_CDMC_CC_FUNCTIONS
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function CNV_CDMC_CC_READ_TABLE 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_CDMC_CC_READ_TABLE'"CDMC - Read data from a table (RFC)
EXPORTING
IV_TABNAME = "Table name
* IV_PROJ_ID = "CDMC - Project ID

TABLES
* IT_STATS = "Statistics
* ET_STAT_PRO = "CDMC: Programs for Statistics Collection
* ET_INLD = "CDMC : UCIA - Customer Objects copied from SAP Objects
* ET_ENHS = "CDMC: CA - Reports associated with Implemented User Exits
* ET_RDOM = "CDMC:Related Domains
* IT_OBJS = "CDMC : Customer Objects and SAP Mods for Clearing Analysis
* IT_SE30 = "CDMC : Results from Runtime Aalysis
* IT_EXITS = "CDMC : User exits Implemented in the system
* IT_BADIS = "CDMC : BADIs Implemented in the system
* IT_BTES = "CDMC : Active Customer BTEs in the system
* IT_CUSTBDC = "CDMC: UCIA-Collect the BDC Program Comparison data
* IT_EXTSUBR = "CDMC: UCIA: Impact on SAP Subroutines called externally
* IT_REFOBJS = "CDMC table to store the referred objects of Sol man projects

EXCEPTIONS
NO_STATISTICS_DATA = 1 NO_OBJS_DATA = 2 NO_SE30_DATA = 3 NO_EXITS_DATA = 4 NO_CUSTBDC_DATA = 5 NO_EXTSUBR_DATA = 6 NO_REF_OBJS_DATA = 7 NO_ENHANCEMENTS_DATA = 8
.



IMPORTING Parameters details for CNV_CDMC_CC_READ_TABLE

IV_TABNAME - Table name

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

IV_PROJ_ID - CDMC - Project ID

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

TABLES Parameters details for CNV_CDMC_CC_READ_TABLE

IT_STATS - Statistics

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

ET_STAT_PRO - CDMC: Programs for Statistics Collection

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

ET_INLD - CDMC : UCIA - Customer Objects copied from SAP Objects

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

ET_ENHS - CDMC: CA - Reports associated with Implemented User Exits

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

ET_RDOM - CDMC:Related Domains

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

IT_OBJS - CDMC : Customer Objects and SAP Mods for Clearing Analysis

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

IT_SE30 - CDMC : Results from Runtime Aalysis

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

IT_EXITS - CDMC : User exits Implemented in the system

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

IT_BADIS - CDMC : BADIs Implemented in the system

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

IT_BTES - CDMC : Active Customer BTEs in the system

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

IT_CUSTBDC - CDMC: UCIA-Collect the BDC Program Comparison data

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

IT_EXTSUBR - CDMC: UCIA: Impact on SAP Subroutines called externally

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

IT_REFOBJS - CDMC table to store the referred objects of Sol man projects

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

EXCEPTIONS details

NO_STATISTICS_DATA - There was no statistics data found in the system

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

NO_OBJS_DATA - There was no data in the CNVCDMCCA_OBJS table

Data type:
Optional: No
Call by Reference: Yes

NO_SE30_DATA - There was no data in the CNVCDMCCA_SE30 table

Data type:
Optional: No
Call by Reference: Yes

NO_EXITS_DATA - There was no data in the CNVCDMCCA_EXITS table

Data type:
Optional: No
Call by Reference: Yes

NO_CUSTBDC_DATA - There was no data in the CNVCDMCUCIA_BDC table

Data type:
Optional: No
Call by Reference: Yes

NO_EXTSUBR_DATA - There was no data in the CNVCDMCUCIA_FORM table

Data type:
Optional: No
Call by Reference: Yes

NO_REF_OBJS_DATA - There was no data in the CNVCDMC_REFOBJS table

Data type:
Optional: No
Call by Reference: Yes

NO_ENHANCEMENTS_DATA - There was no data in the CNVCDMCCA_ENHS table

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for CNV_CDMC_CC_READ_TABLE 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_stats  TYPE STANDARD TABLE OF CNVCDMCCA_STAT, "   
lv_iv_tabname  TYPE TABNAME, "   
lv_no_statistics_data  TYPE TABNAME, "   
lt_et_stat_pro  TYPE STANDARD TABLE OF CNVCDMC_STAT_PRO, "   
lt_et_inld  TYPE STANDARD TABLE OF CNVCDMCUCIA_INLD, "   
lt_et_enhs  TYPE STANDARD TABLE OF CNVCDMCCA_ENHS, "   
lt_et_rdom  TYPE STANDARD TABLE OF CNVCDMCCA_RDOM, "   
lt_it_objs  TYPE STANDARD TABLE OF CNVCDMCCA_OBJS, "   
lv_iv_proj_id  TYPE CNVCDMCCA_OBJS-PROJ_ID, "   
lv_no_objs_data  TYPE CNVCDMCCA_OBJS, "   
lt_it_se30  TYPE STANDARD TABLE OF CNVCDMCCA_SE30, "   
lv_no_se30_data  TYPE CNVCDMCCA_SE30, "   
lt_it_exits  TYPE STANDARD TABLE OF CNVCDMCCA_EXITS, "   
lv_no_exits_data  TYPE CNVCDMCCA_EXITS, "   
lt_it_badis  TYPE STANDARD TABLE OF CNVCDMCCA_BADIS, "   
lv_no_custbdc_data  TYPE CNVCDMCCA_BADIS, "   
lt_it_btes  TYPE STANDARD TABLE OF CNVCDMCCA_BTES, "   
lv_no_extsubr_data  TYPE CNVCDMCCA_BTES, "   
lt_it_custbdc  TYPE STANDARD TABLE OF CNVCDMCUCIA_BDC, "   
lv_no_ref_objs_data  TYPE CNVCDMCUCIA_BDC, "   
lt_it_extsubr  TYPE STANDARD TABLE OF CNVCDMCUCIA_FORM, "   
lv_no_enhancements_data  TYPE CNVCDMCUCIA_FORM, "   
lt_it_refobjs  TYPE STANDARD TABLE OF CNVCDMC_REFOBJS. "   

  CALL FUNCTION 'CNV_CDMC_CC_READ_TABLE'  "CDMC - Read data from a table (RFC)
    EXPORTING
         IV_TABNAME = lv_iv_tabname
         IV_PROJ_ID = lv_iv_proj_id
    TABLES
         IT_STATS = lt_it_stats
         ET_STAT_PRO = lt_et_stat_pro
         ET_INLD = lt_et_inld
         ET_ENHS = lt_et_enhs
         ET_RDOM = lt_et_rdom
         IT_OBJS = lt_it_objs
         IT_SE30 = lt_it_se30
         IT_EXITS = lt_it_exits
         IT_BADIS = lt_it_badis
         IT_BTES = lt_it_btes
         IT_CUSTBDC = lt_it_custbdc
         IT_EXTSUBR = lt_it_extsubr
         IT_REFOBJS = lt_it_refobjs
    EXCEPTIONS
        NO_STATISTICS_DATA = 1
        NO_OBJS_DATA = 2
        NO_SE30_DATA = 3
        NO_EXITS_DATA = 4
        NO_CUSTBDC_DATA = 5
        NO_EXTSUBR_DATA = 6
        NO_REF_OBJS_DATA = 7
        NO_ENHANCEMENTS_DATA = 8
. " CNV_CDMC_CC_READ_TABLE




ABAP code using 7.40 inline data declarations to call FM CNV_CDMC_CC_READ_TABLE

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.

 
 
 
 
 
 
 
 
"SELECT single PROJ_ID FROM CNVCDMCCA_OBJS INTO @DATA(ld_iv_proj_id).
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 


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!