SAP Reports / Programs

CNV_CDMC_CA_SYNTAX_CHECK_MAIN SAP ABAP Report - CDMC: Clearing Analysis - Determination of Objects with Syntax Errors







CNV_CDMC_CA_SYNTAX_CHECK_MAIN 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_MAIN into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

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.






SUBMIT CNV_CDMC_CA_SYNTAX_CHECK_MAIN. "Basic submit
SUBMIT CNV_CDMC_CA_SYNTAX_CHECK_MAIN AND RETURN. "Return to original report after report execution complete
SUBMIT CNV_CDMC_CA_SYNTAX_CHECK_MAIN VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: P_ACTID = D Activity ID
Selection Text: P_ADHOC = AD-Hoc Analysis
Selection Text: P_BGDWP = No. of background work process
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 = Background Workprocess Information
Text Symbol: 005 = None of the


INCLUDES used within this REPORT CNV_CDMC_CA_SYNTAX_CHECK_MAIN

INCLUDE CNV_CDMC_CA_SYNTAXCHECKMAINTOP.
INCLUDE CNV_CDMC_CC_STATUS_MACROS.
INCLUDE CNV_CDMC_CC_APPLICATION_LOG.


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

JOB_OPEN CALL FUNCTION 'JOB_OPEN' EXPORTING jobname = gv_job_name IMPORTING jobcount = gv_job_count EXCEPTIONS cant_create_job = 1 invalid_job_data = 2 jobname_missing = 3 OTHERS = 4.

JOB_CLOSE CALL FUNCTION 'JOB_CLOSE' EXPORTING jobcount = gv_job_count jobname = gv_job_name strtimmed = 'X' EXCEPTIONS cant_start_immediate = 1 invalid_startdate = 2 jobname_missing = 3 job_close_failed = 4 job_nosteps = 5 job_notex = 6 lock_failed = 7 OTHERS = 8.

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 * et_cdmc_objs = xt_objs * EXCEPTIONS * no_custom_objects_exist = 1 * OTHERS = 2.

CNV_CDMC_CA_GET_CUST_OBJS CALL FUNCTION 'CNV_CDMC_CA_GET_CUST_OBJS' EXPORTING it_object_types = lt_objtypes TABLES et_cdmc_objs = xt_objs EXCEPTIONS no_custom_objects_exist = 1 OTHERS = 2.

CNV_CDMC_PROTOCOL_CREATE_LOG CALL FUNCTION 'CNV_CDMC_PROTOCOL_CREATE_LOG' EXPORTING iv_proj = ls_state-project_id iv_activity = ls_state-activity_id iv_sysid = sy-sysid iv_repid = lv_progname IMPORTING ev_log_handle = lv_loghandle EXCEPTIONS appl_log_error = 1 OTHERS = 2.

CNV_CDMC_PROTOCOL_WRITE_LOG CALL FUNCTION 'CNV_CDMC_PROTOCOL_WRITE_LOG' EXPORTING iv_msgty = ls_joblog_messages-msgtype iv_msgid = ls_joblog_messages-msgid iv_msgno = ls_joblog_messages-msgno iv_msgv1 = ls_joblog_messages-msgv1 iv_msgv2 = ls_joblog_messages-msgv2 iv_msgv3 = ls_joblog_messages-msgv3 iv_msgv4 = ls_joblog_messages-msgv4 iv_sysid = sy-sysid iv_log_handle = ls_state-log_handle EXCEPTIONS log_not_found = 1 OTHERS = 2.

CNV_CDMC_PROTOCOL_WRITE_LOG_DB CALL FUNCTION 'CNV_CDMC_PROTOCOL_WRITE_LOG_DB' EXPORTING iv_client = sy-mandt * IV_UPDATE_TASK = ' ' iv_save_all = 'X' iv_log_handle = ls_state-log_handle EXCEPTIONS log_not_found = 1 save_not_allowed = 2 numbering_error = 3 not_possible = 4 OTHERS = 5 .



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name CNV_CDMC_CA_SYNTAX_CHECK_MAIN or its description.