SAP Reports / Programs | Cross-Application Components | General Application Functions | Business Application Support(CA-GTF-BS) SAP CA

CNV_20551_P_DROP SAP ABAP INCLUDE - Programm include for CNV_20551_DROP







CNV_20551_P_DROP is a standard ABAP INCLUDE 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_P_DROP 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_P_DROP. "Basic submit
SUBMIT CNV_20551_P_DROP AND RETURN. "Return to original report after report execution complete
SUBMIT CNV_20551_P_DROP VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Programm include for CNV_20551_DROP


INCLUDES used within this REPORT CNV_20551_P_DROP

No INCLUDES are used within this REPORT code!


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:

DD_GET_NAMETAB_HEADER CALL FUNCTION 'DD_GET_NAMETAB_HEADER' EXPORTING TABNAME = P_TABNAME STATUS = 'A' IMPORTING X030L_WA = X030L_WA EXCEPTIONS NOT_FOUND = 1.

DB_DROP_TABLE CALL FUNCTION 'DB_DROP_TABLE' EXPORTING * DBSYS = SY-DBSYS * NO_EXEC = ' ' * PRID = 0 * PROGNAME = ' ' TABNAME = P_TABNAME * DB_CHECK_FLAG = ' ' IMPORTING * GENPROG = SUBRC = GD_SUBRC EXCEPTIONS PROGRAM_NOT_GENERATED = 1 PROGRAM_NOT_WRITTEN = 2 TABLE_NOT_DROPPED = 3 OTHERS = 4.

DB_DELETE_POOLTAB CALL FUNCTION 'DB_DELETE_POOLTAB' EXPORTING SQLTAB = X030L_WA-REFNAME(10) TABNAME = P_TABNAME EXCEPTIONS NOT_EXECUTED = 1 PROGRAM_NOT_GENERATED = 2 PROGRAM_NOT_WRITTEN = 3 TABLE_ENTRIES_NOT_DELETED = 4 OTHERS = 5.

DB_CLUSTER_DELETE CALL FUNCTION 'DB_CLUSTER_DELETE' EXPORTING TABNAME = P_TABNAME EXCEPTIONS PROGRAM_NOT_GENERATED = 1 PROGRAM_NOT_WRITTEN = 2 TABLE_NOT_A_CLUSTER = 3 OTHERS = 4.

DD_DATABASE_UTILITY CALL FUNCTION 'DD_DATABASE_UTILITY' EXPORTING FCT = 'DEL' * ID_NAME = ' ' OBJ_NAME = P_TABNAME OBJ_TYPE = 'SQLT' * exec_modus = exec_mode * POPUP_FLAG = ' ' * CALL_FROM_DBUT = ' ' IMPORTING SUBRC = GD_SUBRC EXCEPTIONS UNEXPECTED_ERROR = 1 UNSUPPORTED_FUNCTION = 2 UNSUPPORTED_OBJ_TYPE = 3 TABLE_IS_LOCKED_BY_TCNV = 4 AUTHORITY_CHECK_FAILED = 5 ABORT_FUNCTION = 6 CONVERSION_ERROR = 7 OTHERS = 8.

DB_DROP_TABLE CALL FUNCTION 'DB_DROP_TABLE' exporting * DBSYS = SY-DBSYS * NO_EXEC = ' ' * PRID = 0 * PROGNAME = ' ' tabname = p_tabname * DB_CHECK_FLAG = ' ' importing * GENPROG = subrc = gd_subrc exceptions program_not_generated = 1 program_not_written = 2 table_not_dropped = 3 others = 4.

DD_DATABASE_UTILITY CALL FUNCTION 'DD_DATABASE_UTILITY' EXPORTING FCT = 'CRE' * ID_NAME = ' ' OBJ_NAME = P_TABNAME OBJ_TYPE = 'TABL' * exec_modus = exec_mode * POPUP_FLAG = ' ' * CALL_FROM_DBUT = ' ' IMPORTING SUBRC = GD_SUBRC EXCEPTIONS UNEXPECTED_ERROR = 1 UNSUPPORTED_FUNCTION = 2 UNSUPPORTED_OBJ_TYPE = 3 TABLE_IS_LOCKED_BY_TCNV = 4 AUTHORITY_CHECK_FAILED = 5 ABORT_FUNCTION = 6 CONVERSION_ERROR = 7 OTHERS = 8.

DD_DATABASE_UTILITY CALL FUNCTION 'DD_DATABASE_UTILITY' EXPORTING FCT = 'CRE' * ID_NAME = ' ' OBJ_NAME = P_TABNAME OBJ_TYPE = 'SQLT' * exec_modus = exec_mode * POPUP_FLAG = ' ' * CALL_FROM_DBUT = ' ' IMPORTING SUBRC = GD_SUBRC EXCEPTIONS UNEXPECTED_ERROR = 1 UNSUPPORTED_FUNCTION = 2 UNSUPPORTED_OBJ_TYPE = 3 TABLE_IS_LOCKED_BY_TCNV = 4 AUTHORITY_CHECK_FAILED = 5 ABORT_FUNCTION = 6 CONVERSION_ERROR = 7 OTHERS = 8.

DD_DATABASE_UTILITY CALL FUNCTION 'DD_DATABASE_UTILITY' EXPORTING FCT = 'CRE' * ID_NAME = ' ' OBJ_NAME = P_TABNAME OBJ_TYPE = 'SQLT' * exec_modus = exec_mode * POPUP_FLAG = ' ' * CALL_FROM_DBUT = ' ' IMPORTING SUBRC = GD_SUBRC EXCEPTIONS UNEXPECTED_ERROR = 1 UNSUPPORTED_FUNCTION = 2 UNSUPPORTED_OBJ_TYPE = 3 TABLE_IS_LOCKED_BY_TCNV = 4 AUTHORITY_CHECK_FAILED = 5 ABORT_FUNCTION = 6 CONVERSION_ERROR = 7 OTHERS = 8.

RS_DD_ACTIVATE CALL FUNCTION 'RS_DD_ACTIVATE' EXPORTING OBJNAME = P_TABNAME OBJTYPE = 'Z'.

DD_INDEX_NAME CALL FUNCTION 'DD_INDEX_NAME' EXPORTING indexname = gs_dd12l-indexname tabname = gs_dd12l-sqltab IMPORTING dbindex = gv_dbindex.

DD_DROP_INDEX CALL FUNCTION 'DD_DROP_INDEX' EXPORTING * DBSYS = SY-DBSYS * NO_EXEC = ' ' * PRID = 0 * PROGNAME = ' ' TABNAME = GS_DD12L-SQLTAB * DB_CHECK_FLAG = 'X' INDEXNAME = GS_DD12L-INDEXNAME * IMPORTING * GENPROG = * SUBRC = EXCEPTIONS INDEX_NOT_DROPPED = 1 PROGRAM_NOT_GENERATED = 2 PROGRAM_NOT_WRITTEN = 3 OTHERS = 4.

DDIF_INDX_ACTIVATE CALL FUNCTION 'DDIF_INDX_ACTIVATE' EXPORTING name = gs_dd12l-sqltab id = gs_dd12l-indexname EXCEPTIONS not_found = 1 put_failure = 2 OTHERS = 3.

DDIF_VIEW_ACTIVATE CALL FUNCTION 'DDIF_VIEW_ACTIVATE' EXPORTING name = gv_viewname EXCEPTIONS not_found = 1 put_failure = 2 OTHERS = 3.

JOB_OPEN CALL FUNCTION 'JOB_OPEN' EXPORTING JOBNAME = LD_JOBNAME IMPORTING JOBCOUNT = LD_JOBCOUNT EXCEPTIONS CANT_CREATE_JOB = 1 INVALID_JOB_DATA = 2 JOBNAME_MISSING = 3 OTHERS = 4.

JOB_CLOSE CALL FUNCTION 'JOB_CLOSE' EXPORTING * AT_OPMODE = ' ' * AT_OPMODE_PERIODIC = ' ' * CALENDAR_ID = ' ' * EVENT_ID = ' ' * EVENT_PARAM = ' ' * EVENT_PERIODIC = ' ' JOBCOUNT = LD_JOBCOUNT JOBNAME = LD_JOBNAME * LASTSTRTDT = NO_DATE * LASTSTRTTM = NO_TIME * PRDDAYS = 0 * PRDHOURS = 0 * PRDMINS = 0 * PRDMONTHS = 0 * PRDWEEKS = 0 * PREDJOB_CHECKSTAT = ' ' * PRED_JOBCOUNT = ' ' * PRED_JOBNAME = ' ' * SDLSTRTDT = NO_DATE * SDLSTRTTM = NO_TIME * STARTDATE_RESTRICTION = BTC_PROCESS_ALWAYS STRTIMMED = 'X' * TARGETSYSTEM = ' ' * START_ON_WORKDAY_NOT_BEFORE = SY-DATUM * START_ON_WORKDAY_NR = 0 * WORKDAY_COUNT_DIRECTION = 0 * RECIPIENT_OBJ = IMPORTING JOB_WAS_RELEASED = LD_RELEASED 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.



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