SAP Function TOCX_SWITCH_ON_CHAPTERS -

Parameter Reference Type Length Default Optional Text
APPLICATION_FROM DSYDS-APPL C 4 'XXXX' X Application of structure to be modified
APPLICATION_TO DSYDS-APPL C 4 'ZZZZ' X Application of the modified structure
OUTLINE_FROM DSYAH-OUTLINE C 12 Name of structure to be modified
OUTLINE_TO DSYAH-OUTLINE C 12 Name of the modified structure
SWITCH_ON_FLAG HITAB-IMPLODE C 1 'X' X Flag: if 'X', then chapters are switched on
VIEWNAME_FROM DSYAD-VIEWNAME C 12 'STANDARD' X
VIEWNAME_TO DSYAD-VIEWNAME C 12 '___NONE___' X

Parameter Reference Length Optional Text
LIST_OF_CHAPTERS DSYSOBJ 64 Table with chapter class/name

Exception Text
APPLICATIONS_ARE_IDENTICAL Same application of source and target structure
MISSING_APPLICATION_TO Application of modified structure missing
OUTLINE_NOT_FOUND Structure to be modified does not exist
OUTLINE_NOT_IDENTICAL Target structure and source structure are different