The Function Module DB_CREATE_TABLE_S (As DB_CREATE_TABLE, also returns the generated statements) is a standard Function Module in SAP ERP and is part of the function group SDB2 within the package SDIC.
Function Module | DB_CREATE_TABLE_S |
Short Text | As DB_CREATE_TABLE, also returns the generated statements |
Function Group | SDB2 |
Package | SDIC |
Module Type | Normal Module |
These are the IMPORTING parameters of this function module.
Parameter Name | Type | Associated Type | Default Value | Short Text |
---|---|---|---|---|
DBSYS | LIKE | SY-DBSYS | SY-DBSYS | |
DB_CHECK_FLAG | LIKE | SPACE | ||
NO_EXEC | LIKE | SPACE | ||
PRID | LIKE | SY-TABIX | 0 | Log ID |
PROGNAME | LIKE | TRDIR-NAME | SPACE | Name of gen. program |
TABNAME | LIKE | DD02L-TABNAME |
These are the EXPORTING parameters of this function module.
Parameter Name | Type | Associated Type | Default Value | Short Text |
---|---|---|---|---|
GENPROG | LIKE | TRDIR-NAME |
This function module does not define any CHANGING parameters.
These are the TABLE parameters of this function module.
Parameter Name | Type | Associated Type | Default Value | Short Text |
---|---|---|---|---|
DDFIELDS | LIKE | DDFIELD | Table of the DD table fields | |
STATEMENTS | LIKE | Table of the generated statements |
These are the Exceptions of this function module.
Exception Name | Short Text |
---|---|
PROGRAM_NOT_GENERATED | Program could not be generated |
PROGRAM_NOT_WRITTEN | Program could not be written |
TABLE_EXISTS | Table already exists |
TABLE_NOT_CREATED | Error when creating the table |