SAP Reports / Programs

CNV_20551_CDOC_FINE_DELETION SAP ABAP Report - Refined deletion of (P)CDPOS(_UID) with reconciliation with (P)CDHDR







CNV_20551_CDOC_FINE_DELETION is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter CNV_20551_CDOC_FINE_DELETION 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_20551_CDOC_FINE_DELETION. "Basic submit
SUBMIT CNV_20551_CDOC_FINE_DELETION AND RETURN. "Return to original report after report execution complete
SUBMIT CNV_20551_CDOC_FINE_DELETION 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: GP_TEST = Test run
Title: Refined deletion of (P)CDPOS(_UID) with reconciliation with (P)CDHDR
Text Symbol: 170 = % of entries done...
Text Symbol: 043 = % done ...
Text Symbol: 038 = Initialize the program....


INCLUDES used within this REPORT CNV_20551_CDOC_FINE_DELETION

INCLUDE: CNV_10992_D,


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_INT_PACKAGE_GET CALL FUNCTION 'CNV_INT_PACKAGE_GET' IMPORTING packid = gc_packid phase = gd_phase EXCEPTIONS active_package_not_found = 1 OTHERS = 2.

CNV_INT_STATE_INITIALIZE CALL FUNCTION 'CNV_INT_STATE_INITIALIZE' EXPORTING runmode = gd_runmode tabname = gp_tab IMPORTING clufields = gd_cnvcluster.

CNV_INT_PROTOCOL_INITIALIZE CALL FUNCTION 'CNV_INT_PROTOCOL_INITIALIZE' EXPORTING packid = gc_packid.

CNV_00001_PARAMS_READ CALL FUNCTION 'CNV_00001_PARAMS_READ' EXPORTING paramname = 'CNV_20551_CDCLS_WRITE_MODE' packid = gc_packid IMPORTING valuefrom = gd_write_mode EXCEPTIONS no_active_package = 1 parameter_does_not_exist = 2 package_does_not_exists = 3 OTHERS = 4.

CNV_INT_STATE_UPDATE CALL FUNCTION 'CNV_INT_STATE_UPDATE' EXPORTING recselect = gd_records_select rectotal = gd_records_total.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

CNV_INT_STATE_UPDATE CALL FUNCTION 'CNV_INT_STATE_UPDATE' EXPORTING recselect = gd_records_select rectotal = gd_records_total.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

CNV_INT_STATE_UPDATE CALL FUNCTION 'CNV_INT_STATE_UPDATE' EXPORTING state_tec = gd_cnvcluster-state_tec recselect = gd_records_select rectotal = gd_records_total cluid_min = gd_cnvcluster-cluid_min cluid_max = gd_cnvcluster-cluid_max.

CNV_INT_PROTOCOL_WRITE_DB CALL FUNCTION 'CNV_INT_PROTOCOL_WRITE_DB'.

CNV_INT_STATE_UPDATE CALL FUNCTION 'CNV_INT_STATE_UPDATE' EXPORTING state_tec = gd_cnvcluster-state_tec.

CNV_INT_PROTOCOL_WRITE_DB CALL FUNCTION 'CNV_INT_PROTOCOL_WRITE_DB'.

CNV_INT_STATE_TASKS_INSERT CALL FUNCTION 'CNV_INT_STATE_TASKS_INSERT' EXPORTING records_cluster = gd_records_cluster with_end_task = t_yes TABLES insert_tab = lt_cnvstate EXCEPTIONS not_allowed = 1 OTHERS = 2.

CNV_INT_STATE_UPDATE CALL FUNCTION 'CNV_INT_STATE_UPDATE' EXPORTING state_tec = gd_cnvcluster-state_tec.

CNV_INT_PROTOCOL_WRITE_DB CALL FUNCTION 'CNV_INT_PROTOCOL_WRITE_DB'.

CNV_00001_PARAMS_READ CALL FUNCTION 'CNV_00001_PARAMS_READ' EXPORTING paramname = 'CNV_20551_CDOC_HDR_LIMIT' packid = gc_packid IMPORTING valuefrom = gd_hdr_commit_limit EXCEPTIONS no_active_package = 1 parameter_does_not_exist = 2 package_does_not_exists = 3 OTHERS = 4.

CNV_00001_PARAMS_READ CALL FUNCTION 'CNV_00001_PARAMS_READ' EXPORTING paramname = 'CNV_20551_CDOC_PROC_DATA_COMMIT' packid = gc_packid IMPORTING valuefrom = gd_proc_commit_limit EXCEPTIONS no_active_package = 1 parameter_does_not_exist = 2 package_does_not_exists = 3 OTHERS = 4.

CNV_INT_STATE_UPDATE CALL FUNCTION 'CNV_INT_STATE_UPDATE' EXPORTING state = 'U' recread = gd_records_read recupd = gd_records_changed.

CNV_INT_PROTOCOL_WRITE_DB





CALL FUNCTION 'CNV_INT_PROTOCOL_WRITE_DB'.

CNV_INT_STATE_UPDATE CALL FUNCTION 'CNV_INT_STATE_UPDATE' EXPORTING state = 'U' recread = gd_records_read recupd = gd_records_changed.

CNV_INT_PROTOCOL_WRITE_DB CALL FUNCTION 'CNV_INT_PROTOCOL_WRITE_DB'.

CNV_INT_STATE_UPDATE CALL FUNCTION 'CNV_INT_STATE_UPDATE' EXPORTING state = 'U' recread = gd_records_read recupd = gd_records_changed state_tec = gd_cnvcluster-state_tec.

CNV_INT_PROTOCOL_WRITE_DB CALL FUNCTION 'CNV_INT_PROTOCOL_WRITE_DB'.

CNV_INT_STATE_UPDATE CALL FUNCTION 'CNV_INT_STATE_UPDATE' EXPORTING state = 'U' recread = gd_records_read recupd = gd_records_changed state_tec = gd_cnvcluster-state_tec.

CNV_INT_PROTOCOL_WRITE_DB CALL FUNCTION 'CNV_INT_PROTOCOL_WRITE_DB'.

CNV_INT_STATE_UPDATE CALL FUNCTION 'CNV_INT_STATE_UPDATE' EXPORTING state_tec = gd_cnvcluster-state_tec.

CNV_INT_PROTOCOL_WRITE_DB CALL FUNCTION 'CNV_INT_PROTOCOL_WRITE_DB'.

CNV_INT_STATE_FINISH CALL FUNCTION 'CNV_INT_STATE_FINISH'.

CNV_INT_STATE_GET CALL FUNCTION 'CNV_INT_STATE_GET' IMPORTING runstate = gd_state.

DDUT_DOMVALUE_TEXT_GET CALL FUNCTION 'DDUT_DOMVALUE_TEXT_GET' EXPORTING name = 'CNV_STATE' value = gd_dd07v-domvalue_l texts_only = t_yes IMPORTING dd07v_wa = gd_dd07v EXCEPTIONS not_found illegal_input.

DDUT_DOMVALUE_TEXT_GET CALL FUNCTION 'DDUT_DOMVALUE_TEXT_GET' EXPORTING name = 'CNV_STATE' value = gd_dd07v-domvalue_l langu = 'E' texts_only = t_yes IMPORTING dd07v_wa = gd_dd07v EXCEPTIONS not_found illegal_input.

CNV_INT_PROTOCOL_WRITE_DB CALL FUNCTION 'CNV_INT_PROTOCOL_WRITE_DB'.

APPL_LOG_DISPLAY_INTERN CALL FUNCTION 'APPL_LOG_DISPLAY_INTERN' "#EC * EXPORTING object = 'CAGTFBS' subobject = 'CONVERSION' column_selection = ' 1111 111 ' "EC * external_number_display_length = 48.

CNV_INT_PROTOCOL_MESSAGE CALL FUNCTION 'CNV_INT_PROTOCOL_MESSAGE' EXPORTING msgty = lp_msgty msgid = lp_msgid msgno = lp_msgno msgv1 = lp_msgv1 msgv2 = lp_msgv2 msgv3 = lp_msgv3 msgv4 = lp_msgv4 level = lp_level probclass = lp_class.

CNV_INT_STATE_UPDATE CALL FUNCTION 'CNV_INT_STATE_UPDATE' EXPORTING state = 'W'.

CNV_INT_STATE_UPDATE CALL FUNCTION 'CNV_INT_STATE_UPDATE' EXPORTING state = 'E'.

CNV_INT_STATE_LOGSTATE_SET CALL FUNCTION 'CNV_INT_STATE_LOGSTATE_SET' EXPORTING state = 'E'.

CNV_INT_PROTOCOL_WRITE_DB CALL FUNCTION 'CNV_INT_PROTOCOL_WRITE_DB'.




CNV_INT_STATE_UPDATE * CALL FUNCTION 'CNV_INT_STATE_UPDATE' * EXPORTING * STATE = 'U' * RECREAD = GD_RECORDS_READ * RECUPD = GD_RECORDS_CHANGED .

CNV_INT_PROTOCOL_WRITE_DB * CALL FUNCTION 'CNV_INT_PROTOCOL_WRITE_DB'.



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