SAP Reports / Programs

CNVC_SCWB_DELETE_RUN SAP ABAP Report - Reset the Package







CNVC_SCWB_DELETE_RUN is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for In this activity, you can delete a comparison run...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 CNVC_SCWB_DELETE_RUN 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 CNVC_SCWB_DELETE_RUN. "Basic submit
SUBMIT CNVC_SCWB_DELETE_RUN AND RETURN. "Return to original report after report execution complete
SUBMIT CNVC_SCWB_DELETE_RUN 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_TEST = Test Mode
Title: Reset the Package
Text Symbol: T01 = Are you sure to reset this Package?
Text Symbol: T02 = User
Text Symbol: T03 = aborted the deletion
Text Symbol: T04 = rows deleted
Text Symbol: T05 = rows found for deletion


INCLUDES used within this REPORT CNVC_SCWB_DELETE_RUN

INCLUDE: CNVC_SCWB_PARAMS,


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:

CNV_MBT_AUTHORITY_CHECK CALL FUNCTION 'CNV_MBT_AUTHORITY_CHECK' EXPORTING im_area = 'SLOP' im_level = 'PACKAGE' im_activity = '02' EXCEPTIONS no_authority = 1 OTHERS = 2.

CNVCF_CCE_ACTIVE_GET * CALL FUNCTION 'CNVCF_CCE_ACTIVE_GET' * IMPORTING * active_run = p_runid * EXCEPTIONS * no_active_run = 1 * OTHERS = 2.

CNVCF_QUESTION CALL FUNCTION 'CNVCF_QUESTION' EXPORTING ip_question = text-t01 "'Are you sure to delete this run?' IMPORTING ep_answer = gv_answer.

CNVCF_SCWB_CLEAR_RUN CALL FUNCTION 'CNVCF_SCWB_CLEAR_RUN' DESTINATION gv_dest EXPORTING runid = p_runid test = space.

DD_EXIST_TABLE CALL FUNCTION 'DD_EXIST_TABLE' EXPORTING tabname = gv_tabname status = 'A' IMPORTING subrc = gv_subrc EXCEPTIONS wrong_status = 1 OTHERS = 2.

DB_DROP_TABLE CALL FUNCTION 'DB_DROP_TABLE' EXPORTING tabname = gv_tabname EXCEPTIONS program_not_generated = 1 program_not_written = 2 table_not_dropped = 3 OTHERS = 4.

DD_DROP_TABLE CALL FUNCTION 'DD_DROP_TABLE' EXPORTING tabname = gv_tabname EXCEPTIONS not_active = 1 not_deleted = 2 OTHERS = 3.

CNV_MBT_ADM_PACKAGE_DEACT CALL FUNCTION 'CNV_MBT_ADM_PACKAGE_DEACT' EXPORTING packid = p_pack EXCEPTIONS package_not_active = 1 database_operation_not_success = 2 package_doesnot_exist = 3 OTHERS = 4.

CNV_MBT_PACK_ACTIVE_CHECK CALL FUNCTION 'CNV_MBT_PACK_ACTIVE_CHECK' EXPORTING packid = p_pack EXCEPTIONS packid_does_not_exist = 1 packid_is_not_active = 2 subproject_invalid_or_initial = 3 OTHERS = 4. "#EC *

CNV_MBT_RESET_ACTIVITIES CALL FUNCTION 'CNV_MBT_RESET_ACTIVITIES' EXPORTING I_PACKID = P_PACK I_PHASE = P_PHASE I_ACTIVITY_ID = P_ACT_ID EXCEPTIONS NO_VALUES_REFLECT = 1 DATABASE_OPERATION_NOT_SUCCESS = 2 OTHERS = 3.



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 CNVC_SCWB_DELETE_RUN or its description.