DMCIND01 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 DMCIND01 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_TSP = Table Name
Selection Text: P_TAB = Tablespace
Selection Text: P_SIM = Simulation (Display Only)
Selection Text: P_NEXT = Parameter NEXT
Selection Text: P_MIN = Parameter MINEXTENTS
Selection Text: P_MAX = Parameter MAXEXTENTS
Selection Text: P_INIT = Parameter INIT
Selection Text: P_IND = Index Name
Selection Text: P_FLD3 = Name of Index Field #3
Selection Text: P_FLD2 = Name of Index Field #2
Selection Text: P_FLD1 = Name of Index Field #1
Title: MWB: Create Index in Database
Text Symbol: T03 = Table Fields (Only for Table Cluster)
Text Symbol: T02 = Options
Text Symbol: T01 = Storage Parameter (Optional)
Text Symbol: 013 = For cluster: Enter at least one index field
Text Symbol: 012 = No fields for index found
Text Symbol: 011 = Rtrn code =
Text Symbol: 010 = Error While Executing Database Change
Text Symbol: 006 = Index Does Not Exist in Dictionary
Text Symbol: 005 = IndexName
Text Symbol: 004 = Table Name
Text Symbol: 003 = Missing Input Parameter :
Text Symbol: 002 = only for ORACLE. Function was terminated.
Text Symbol: 001 = Function is currently available
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
DD_INDEX_NAME CALL FUNCTION 'DD_INDEX_NAME' EXPORTING INDEXNAME = P_IND TABNAME = P_TAB IMPORTING DBINDEX = G_DBINDEX EXCEPTIONS OTHERS = 1.
DB_EXISTS_INDEX CALL FUNCTION 'DB_EXISTS_INDEX' EXPORTING DBINDEX = G_DBINDEX IMPORTING SUBRC = G_RC EXCEPTIONS OTHERS = 1.
DB_GET_INDEX_PARAMETER CALL FUNCTION 'DB_GET_INDEX_PARAMETER' EXPORTING INDEXNAME = P_IND SOURCE = 'CMP' TABNAME = P_TAB IMPORTING DD12DBS = GS_DD12DBS EXCEPTIONS INDEX_DOES_NOT_EXIST = 1 NOT_SET = 2 UNCOMPLETE_PARAMETER = 3 OTHERS = 4.
WRITE_AND_CALL_DBPROG CALL FUNCTION 'WRITE_AND_CALL_DBPROG' IMPORTING GENPROG = G_GENPROG RC = G_RC TABLES STATEMENTS = GT_STATEMENTS EXCEPTIONS PROGRAM_NOT_WRITTEN = 1 SQL_ERROR_OCCURED = 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.