CNV_CDMC_CC_EXECUTE_CHECKS is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name CNV_CDMC_CC_EXECUTE_CHECKS into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
CNV_CDMC_CC_FUNCTIONS
Released Date:
Not Released
Processing type: Remote-Enabled
CALL FUNCTION 'CNV_CDMC_CC_EXECUTE_CHECKS' "Extended Syntax Check & Code Inspector Check
* EXPORTING
* iv_obj_type = " cnvcdmcucia_obj_type CDMC - Object Type in Upgrade Change Impact Analysis
* iv_obj_name = " eu_lname ABAP/4 Development Workbench: LIMU name
* iv_operation = " char20 Char20
* iv_enclosing_object = " eu_lname ABAP/4 Development Workbench: LIMU name
* iv_position = SPACE " char5 Position
* iv_main_obj_type = " cnvcdmcucia_obj_type CDMC - Object Type in Upgrade Change Impact Analysis
* iv_main_obj_name = " cnvcdmc_obj_nam CDMC - Name of an object in Object Directory Entry (TADIR)
EXCEPTIONS
INVALID_OPERATION = 1 " Operation not possible
INVALID_USER_TYPE = 2 " Invalid User Type
NOT_EXECUTED = 3 " Operation could not be executed
INVALID_OBJ_TYPE = 4 " Invalid Object type
OBJECT_NOT_EXIST = 5 " Object does not exist
MAIN_OBJECT_NOT_EXIST = 6 " Main Object does not exist
NOT_DIRECT_CALL = 7 " Object is not referred/called directly
OBJ_REF_IN_SUPER_CLASS = 8 " Object is referred in its super class or interface
. " CNV_CDMC_CC_EXECUTE_CHECKS
The ABAP code below is a full code listing to execute function module CNV_CDMC_CC_EXECUTE_CHECKS including all data declarations. The code uses 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 original method of declaring data variables up front. 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).
DATA(ld_iv_obj_type) = 'Check type of data required'.
DATA(ld_iv_obj_name) = 'Check type of data required'.
DATA(ld_iv_operation) = 'Check type of data required'.
DATA(ld_iv_enclosing_object) = 'Check type of data required'.
DATA(ld_iv_position) = 'Check type of data required'.
DATA(ld_iv_main_obj_type) = 'Check type of data required'.
DATA(ld_iv_main_obj_name) = 'Check type of data required'. . CALL FUNCTION 'CNV_CDMC_CC_EXECUTE_CHECKS' * EXPORTING * iv_obj_type = ld_iv_obj_type * iv_obj_name = ld_iv_obj_name * iv_operation = ld_iv_operation * iv_enclosing_object = ld_iv_enclosing_object * iv_position = ld_iv_position * iv_main_obj_type = ld_iv_main_obj_type * iv_main_obj_name = ld_iv_main_obj_name EXCEPTIONS INVALID_OPERATION = 1 INVALID_USER_TYPE = 2 NOT_EXECUTED = 3 INVALID_OBJ_TYPE = 4 OBJECT_NOT_EXIST = 5 MAIN_OBJECT_NOT_EXIST = 6 NOT_DIRECT_CALL = 7 OBJ_REF_IN_SUPER_CLASS = 8 . " CNV_CDMC_CC_EXECUTE_CHECKS
IF SY-SUBRC EQ 0. "All OK ELSEIF SY-SUBRC EQ 1. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 2. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 3. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 4. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 5. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 6. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 7. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 8. "Exception "Add code for exception here ENDIF.
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_iv_obj_type | TYPE CNVCDMCUCIA_OBJ_TYPE , |
| ld_iv_obj_name | TYPE EU_LNAME , |
| ld_iv_operation | TYPE CHAR20 , |
| ld_iv_enclosing_object | TYPE EU_LNAME , |
| ld_iv_position | TYPE CHAR5 , |
| ld_iv_main_obj_type | TYPE CNVCDMCUCIA_OBJ_TYPE , |
| ld_iv_main_obj_name | TYPE CNVCDMC_OBJ_NAM . |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name CNV_CDMC_CC_EXECUTE_CHECKS or its description.
CNV_CDMC_CC_EXECUTE_CHECKS - Extended Syntax Check & Code Inspector Check CNV_CDMC_CC_DELETE_PROJECT - Deletes project related entriesin tables from all systems CNV_CDMC_CC_DELETE_ADHOC_STATE - Dlete the entries from state table for adhoc project only CNV_CDMC_CC_DELBPCACOLCUSTOBJS - CDMC: Delete entries from CDMC tables CNV_CDMC_CC_COMPARE_SPLEVELS - Comparison of SP Levels of components CNV_CDMC_CC_CHECK_USERTYPE - CDMC: Function to check RFC user type in rem system