Menu

SAP Function Module TOCX_CREATE_VIEW_ON_DATABASE

Structures: Create the view and write it to the database

The Function Module TOCX_CREATE_VIEW_ON_DATABASE (Structures: Create the view and write it to the database) is a standard Function Module in SAP ERP and is part of the function group DSYP within the package SF.

Technical Information

Function Module TOCX_CREATE_VIEW_ON_DATABASE
Short Text Structures: Create the view and write it to the database
Function Group DSYP
Package SF
Module Type Remote-Enabled

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
OUTLINE_FROM LIKE DSYAH-OUTLINE Name of the structure to be modified
OUTLINE_TO LIKE DSYAH-OUTLINE Name of the modified structure
SWITCH_ON_FLAG LIKE HITAB-IMPLODE 'X' Flag: if 'X', chapters are enabled.

Exporting Parameters

This function module does not define any EXPORTING parameters.

Changing Parameters

This function module does not define any CHANGING parameters.

Table Parameters

These are the TABLE parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
LIST_OF_CHAPTERS LIKE DSYSOBJ Table with chapter classes/names

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
MISSING_VIEWNAME_TO Application of the modified structure is missing
OUTLINE_NOT_FOUND The structure to be modified does not exist
OUTLINE_NOT_IDENTICAL Target and source structure are different
VIEWNAMES_ARE_IDENTICAL Same application for source and target structure