
This function lists in a table all text elements which occur in a layout set.
If the layout set name is not specified, the elements are transferred from the open layout set, otherwise from the layout set specified. In the latter case, the information contained in the active version of the layout set is made available from the database.
Function call:
CALL FUNCTION 'READ_FORM_ELEMENTS'
EXPORTING
FORM = SPACE
LANGUAGE = SPACE
TABLES
ELEMENTS = ?...
EXCEPTIONS
FORM =
UNOPENED =
Export parameters:
|
FORM |
Specify the name of the form whose element list you want to create. If you leave the field blank, the system uses the currently active form. Default value: SPACE |
|
LANGUAGE |
LANGUAGE Specify the desired form language. Default value: SPACE |
Table parameters:
|
ELEMENTS |
The table contains all windows defined in a layout set with the related text elements. It specifies how many text lines (editor lines) each text element comprises. Structure: ITCWE |
Exceptions:
|
FORM |
The parameter FORM contains the name of a form which could not be found. Possible causes:
SAPscript first searches for the form in the current client and in the specified language. If the form does not exist there, it tries the original language of the form. If the form is still not found, it searches in client 0, first in the specified language, than in the original form language. |
|
UNOPENED |
The current form function could not be executed, since the form output was not yet initialized. No form is open. |