The Function Module DB_CREATE_VIEW_S (As DB_CREATE_VIEW, also returns 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_VIEW_S |
Short Text | As DB_CREATE_VIEW, also returns 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 | DBS for which program is generated |
DB_CHECK_FLAG | LIKE | SPACE | ||
NO_EXEC | LIKE | SPACE | X: Do not execute generated program | |
PRID | LIKE | SY-TABIX | 0 | |
PROGNAME | LIKE | TRDIR-NAME | SPACE | Name of gen. program |
VIEWNAME | LIKE | DD25V-VIEWNAME | Name of view |
These are the EXPORTING parameters of this function module.
Parameter Name | Type | Associated Type | Default Value | Short Text |
---|---|---|---|---|
GENPROG | LIKE | TRDIR-NAME | Actual name of the generated program |
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 |
---|---|---|---|---|
DD26V_TAB | LIKE | DD26V | Table of involved tables | |
DD27V_TAB | LIKE | DD27V | Table of view fields | |
DD28V_TAB | LIKE | DD28V | Table of selection conditions | |
STATEMENTS | LIKE | Table of generated statements |
These are the Exceptions of this function module.
Exception Name | Short Text |
---|---|
BASETAB_ERROR | Error in the basis tables |
PROGRAM_NOT_GENERATED | Program could not be generated |
PROGRAM_NOT_WRITTEN | Program could not be written |
VIEW_EXISTS | View already exists |
VIEW_NOT_CREATED | Error when creating the view |