CNV_CDMC_CA_SYNTAX_CHECK is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Determination of Objects with Syntax Errors The purpose of this report is to ascertain that the development objects with syntax errors were not imported into the customer's productive system...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter CNV_CDMC_CA_SYNTAX_CHECK into the relevant SAP transactions such as SE38 or SE80
This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.
Selection Text: P_ACTID = D Activity ID
Selection Text: P_ADHOC = AD-Hoc Analysis
Selection Text: P_JOB = D Job name
Selection Text: P_JOBCNT = D Job no.
Selection Text: P_LOG = D Handle
Selection Text: P_PROJ = Project Specific Analysis
Selection Text: P_PROJID = D Project ID of a CDMC Project
Selection Text: S_DEVC = D Development class
Title: CDMC: Clearing Analysis - Determination of Objects with Syntax Errors
Text Symbol: 001 = Enter Project Execution method and Project ID
Text Symbol: 003 = Enter Inclustion Criteria
Text Symbol: 004 = Job Information
INCLUDE CNV_CDMC_CA_SYNTAX_CHECK_TOP.
INCLUDE CNV_CDMC_CC_STATUS_MACROS.
INCLUDE CNV_CDMC_CC_APPLICATION_LOG.
No SAP DATABASE tables are accessed within this REPORT code!
SHOW_JOBSTATE CALL FUNCTION 'SHOW_JOBSTATE' EXPORTING jobcount = gs_src-jobcount jobname = gs_src-jobname IMPORTING aborted = gv_aborted running = gv_running EXCEPTIONS jobcount_missing = 1 jobname_missing = 2 job_notex = 3 OTHERS = 4.
DEQUEUE_ESSRETID CALL FUNCTION 'DEQUEUE_ESSRETID' EXPORTING catid = gv_hash.
DEQUEUE_ESSRETID CALL FUNCTION 'DEQUEUE_ESSRETID' EXPORTING catid = gv_hash.
DEQUEUE_ESSRETID CALL FUNCTION 'DEQUEUE_ESSRETID' EXPORTING catid = gv_hash.
CNV_CDMC_CA_GET_CUST_OBJS ** CALL FUNCTION 'CNV_CDMC_CA_GET_CUST_OBJS' ** EXPORTING ** iv_include_subobjects = 'X' ** it_object_types = lt_objtypes ** TABLES ** et_cdmc_objs = lt_cdmc_objs ** EXCEPTIONS ** no_custom_objects_exist = 1 ** OTHERS = 2.
FUNCTION_INCLUDE_CONCATENATE CALL FUNCTION 'FUNCTION_INCLUDE_CONCATENATE' CHANGING program = lv_progname complete_area = lv_fugrname EXCEPTIONS not_enough_input = 1 no_function_pool = 2 delimiter_wrong_position = 3 OTHERS = 4.
FUNCTION_INCLUDE_INFO CALL FUNCTION 'FUNCTION_INCLUDE_INFO' CHANGING funcname = lv_funcname include = lv_error_include EXCEPTIONS function_not_exists = 1 include_not_exists = 2 group_not_exists = 3 no_selections = 4 no_function_include = 5 OTHERS = 6.
SEO_CLASS_GET_INCLUDE_BY_NAME CALL FUNCTION 'SEO_CLASS_GET_INCLUDE_BY_NAME' EXPORTING clskey = lv_clskey limu = 'CLSD' IMPORTING progname = lv_progname.
SEO_METHOD_GET_NAME_BY_INCLUDE CALL FUNCTION 'SEO_METHOD_GET_NAME_BY_INCLUDE' EXPORTING progname = lv_error_include IMPORTING mtdkey = ls_mtdkey.
RS_SYNTAX_CHECK CALL FUNCTION 'RS_SYNTAX_CHECK' EXPORTING i_program = iv_obj_name IMPORTING o_error_include = ev_error_include TABLES i_source = lt_code.
MD5_CALCULATE_HASH_FOR_CHAR CALL FUNCTION 'MD5_CALCULATE_HASH_FOR_CHAR' EXPORTING data = l_charact_list IMPORTING hash = gv_hash EXCEPTIONS OTHERS = 1.
ENQUEUE_ESSRETID CALL FUNCTION 'ENQUEUE_ESSRETID' EXPORTING mode_sretidcat = 'E' catid = gv_hash x_catid = ' ' _scope = '2' _wait = ' ' _collect = ' ' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
CNV_CDMC_CA_SYNTAX_CHECK - CDMC: Clearing Analysis - Determination of Objects with Syntax Errors CNV_CDMC_CA_SYNTAX_CHECK - CDMC: Clearing Analysis - Determination of Objects with Syntax Errors CNV_CDMC_CA_SYNTAXCHECKMAINTOP - Include CNV_CDMC_CA_SYNTAX_CHECK_TOP CNV_CDMC_CA_STAT_EVAL_TOP - CDMC Clearing Analysis : Statistics from Perf. Collector - TOP Inlcude CNV_CDMC_CA_SQLTRACE_TOP - Include CNV_CDMC_CA_SQLTRACE_TOP CNV_CDMC_CA_SQLTRACE_SELSCR - Include CNV_CDMC_CA_SQLTRACE_SELSCR