Hierarchy

⤷

⤷

Attribute
Message class | ![]() |
SMARTFORMS | |
Short Description | ![]() |
Smart Forms - Form Builder | |
Message Number | ![]() |
591 | |
Documentation status | ![]() |
||
Authorization check Error Message | |||
Changed On | ![]() |
20040719 |
Message Text
Help Document
The internal display of a Smart Form
Tables t_ntokens, t_objt, t_ltext
are output. The language-dependent texts of the Smart Form are contained in t_ltext
. All objects of the Smart Form, with the exception of those of the classes lcl_smartform
and lcl_node
, are listed in t_objt
. The values that assume the attributes of these objects are stored in t_ntokens
.
The lines of t_ntokens
have two components. The first component contains a node type (NO, PA, WI, and so on). The second component contains a table, the lines of which have the following components:
tbegin
numbers the linesttype
can have the values {, }, [, ], (, ), <, >, and @. Meaning (see Example): The different types of open and closed brackets indicate the start or the end of an object, a table, a table line, or a structure. @ indicates a field. The name of the node, the table, the structure, or the field is found intname
.tend
. If a bracket is open inttype
,tend
contains the number of the line in which this bracket closes. Otherwisetend
is initial.tname
contains the name of a table, a structure, or a field.value
is initial ifttype
is a bracket. Ifttype = '@'
,value
contains the value of the field whose name is intname
.
Example of the type of storage in t_ntokens
: Let us assume that an object of the class lcl_node
has the two attributes nodetype = 'TI'
and l_obj_name
; the latter is a structure with components iname = 'TEXT1'
and vari = space
. Six lines of the table are filled: The start and the end of the object are marked in the first and sixth lines. Line 2 contains the name and value of the field nodetype
. Lines 3 to 5 are available for the structure l_obj_name
: namely, line 3 for the start of the structure, line 4 for the name and the value of the field iname
and, finally, line 5 for the end of the structure. The field vari
is not listed because its value is initial.
tbegin
ttype tend
tname value
000001 { 000006 %NODE0000000058
000002 @ 000000 nodetype TI
000003 < 000005 l_obj_name
000004 @ 000000 iname TEXT1
000005 > 000000 l_obj_name
000006 } 000000 %NODE0000000058
Functions of extended internal display
You can choose between two displays of the internal form of a Smart Form. In contrast to the old display, the extended display provides the functions listed below.
To increase clarity, you can hide lines of the list.
- "Collapse All": Only the lines with
ttype = '{'
or'}'
are displayed. This is the default display. - "Expand All": All lines are displayed.
- Choose Line and "Collapse" or "Expand": The lines with an open or closed bracket in the component
ttype
form pairs. If you select one of the two lines of such a pair and choose "Collapse", all the lines in between are hidden. If you choose "Expand", these lines are made visible again. Choose "Expand Once" to display only the lines of the next nesting level.
You can navigate between the lines of the list.
- Navigation: A line pair with curved brackets in the component
ttype
refer to an object in the Smart Form. The lines in between hold the information about the attributes of this object. This includes references to successor objects in the Smart Form. You can double-click on a line with the name of a successor (ttype = '@'
,tname = 'iname'
,value = <Successor>
) and then navigate to the lines of the list that refer to this successor. - "Parent Node": Revokes the above navigation. If you select a line with curved brackets in the component
ttype
and choose "Parent Node", the object that has the chosen object as its successor is displayed (provided such an object exists).
You can make changes to the table t_ntokens
.
- "Value Entry": The tables can be configured so that they can receive entries. The value of the component
value
can then be changed in every line in which the componentttype
has the value'@'
. - Choose Lines and "Delete": . If
ttype = '@'
, only the selected line is deleted. If the value ofttype
is a bracket, both lines are deleted with the corresponding open and closed bracket and all lines in between. - "Save": The table
t_ntokens
could be changed by choosing "Value Entry" and "Delete". These changes are saved usingexport t_ntokens t_objt t_ltext to database stxfconts id <formname>
.
History
Last changed on/by | ![]() |
20040719 | SAP |
SAP Release Created in | 620 |