RSMSSCRTABSCRIPT 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 RSMSSCRTABSCRIPT 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.
Title: MS SQL Server Table definition and table statistics information
Text Symbol: 000 = Create SQL Script
Text Symbol: 001 = Input table name
Text Symbol: E00 = Nametab could not be mapped. Please try again.
Text Symbol: E01 = Cannot generate the script for table
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
DD_NAMETAB_TO_DDFIELDS call function 'DD_NAMETAB_TO_DDFIELDS' exporting keyfields = selected nullable = selected tabname = lv_crtable importing subrc = gv_subrc tables ddfields = lt_ddfields.
DB_CREATE_TABLE_S call function 'DB_CREATE_TABLE_S' exporting no_exec = selected tabname = lv_crtable tables ddfields = lt_ddfields statements = gt_ddl_stmts exceptions program_not_generated = 1 program_not_written = 2 tparam_source_not_determinated = 3 table_exists = 4 table_not_created = 5 others = 6.
DD_CREATE_INDEX_S call function 'DD_CREATE_INDEX_S' exporting * DBSYS = SY-DBSYS indexname = lt_index_tab-indexname no_exec = selected * PRID = 0 * PROGNAME = ' ' tabname = lv_crtable * IMPORTING * GENPROG = tables statements = lt_ddl_idx exceptions basetab_error = 1 db_error = 2 dd_error = 3 index_exists = 4 others = 5.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RSMSSCRTABSCRIPT - MS SQL Server Table definition and table statistics information RSMSSCRTABSCRIPT - MS SQL Server Table definition and table statistics information RSMSS100 - MSSQL: Simple textual explain functionality - for transaction SDBE RSMSS100 - MSSQL: Simple textual explain functionality - for transaction SDBE RSMSQSNP - Get database snapshot and store it in MSQSNP (called via RSCOLL00) RSMSQSNP - Get database snapshot and store it in MSQSNP (called via RSCOLL00)