SAP Function TOCX_CREATE_VIEW_ON_DATABASE - Structures: Create the view and write it to the database

Parameter Reference Type Length Default Optional Text
OUTLINE_FROM DSYAH-OUTLINE C 12 Name of the structure to be modified
OUTLINE_TO DSYAH-OUTLINE C 12 Name of the modified structure
SPRAS SYST-LANGU C 1 SY-LANGU X
SWITCH_ON_FLAG HITAB-IMPLODE C 1 'X' X Flag: if 'X', chapters are enabled.
VIEWNAME_FROM DSYAD-VIEWNAME C 12 'STANDARD' X
VIEWNAME_TO DSYAD-VIEWNAME C 12 '___NONE___' X
VIEW_TITLE DSYAW-SHORTTEXT C 60 SPACE X
VIEW_TYP DSYAV-VIEW_TYP C 4

Parameter Reference Length Optional Text
LIST_OF_CHAPTERS DSYSOBJ 64 Table with chapter classes/names
LIST_OF_CREATED_VIEWS DSYAV 92
PARAMETERS_OF_VIEW DSYAX 118

Exception 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
VIEW_NOT_CREATED