SAPMDB20 is a standard Module pool for a dialog screen ABAP Program 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 SAPMDB20 into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
DB20ORA - Update DB Statistics: Oracle
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.
Title: Create and Delete Statistics
Text Symbol: 029 = Caution: Statistics Are Locked
Text Symbol: 028 = BITMAP index used for new statistics - changes could be incorrect
Text Symbol: 027 = Statistics do not exist (for example, pool or cluster table, data from DBSTATTORA, IGNORE flag)
Text Symbol: 026 = Statistics do not exist (for example, pool or cluster table, IGNORE flag set)
Text Symbol: 025 = Check Structure Of:
Text Symbol: 024 = Start operation?
Text Symbol: 023 = Check the results using transaction DB14.
Text Symbol: 022 = This operation can run for a long time.
Text Symbol: 021 = Delete Statistics For:
Text Symbol: 020 = Create Statistics For:
Text Symbol: 019 = Statistics do not exist (such as pool or cluster table, data from DBSTATTORA)
Text Symbol: 018 = Statistics do not exist (such as pool or cluster table)
Text Symbol: 017 = Harmful statistics (such as pool or cluster table, IGNORE flag set)
Text Symbol: 016 = Harmful statistics (such as pool or cluster table); delete statistics
Text Symbol: 015 = Statistics missing (Data from DBSTATTORA, IGNORE flag set)
Text Symbol: 014 = Statistics missing (data from DBSTATTORA); create statistics
Text Symbol: 013 = Statistics missing (IGNORE Flag set)
Text Symbol: 012 = Statistics missing; create statistics
Text Symbol: 011 = Statistics are obsolete (Changes| >= 50%, IGNORE flag set)
Text Symbol: 010 = Statistics are obsolete (|Changes| >= 50%); Create new statistics
Text Symbol: 009 = Statistics are current (|Changes| < 50%, IGNORE flag set)
Text Symbol: 008 = Statistics are current (|Changes| < 50%)
Text Symbol: 005 = Update Statistics for Application Tables for Application Monitor
Text Symbol: 004 = Update Statistics for Tables for Application Monitor
Text Symbol: 003 = Update Statistics for Tables from DBSTATC
Text Symbol: 002 = Create Missing Statistics
Text Symbol: 001 = Update Statistics for All Indexes
INCLUDE MDB20TOP.
INCLUDE MDB20O01.
INCLUDE MDB20I01.
INCLUDE MDB20F01.
No SAP DATABASE tables are accessed within this REPORT code!
No SAP FUNCTION MODULES are executed within this report code!
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
SAPMDB20 - Create and Delete Statistics SAPMDB20 - Create and Delete Statistics SAPMCUSC - CUSC Country version configuration, internal use only SAPMCUSC - CUSC Country version configuration, internal use only SAPMCURR - documentation and ABAP source code SAPMCURR - documentation and ABAP source code