sapdev logo background
sapdev logo sapdev logo
Comments

SAP DYNP TABLE CONTROLS documentation, setup help and example usage



Return to SAP documentation index


ARTICLE

Table Controls
Table Controls are labeled screen elements to display and process table-type data on dynpros . In a table control, a maximum of 255 screen elements is summarized in a table control row, which can be repeated multiple times within the table control on the screen . The fields of a row have to be created only once as dynpro fields in the dynpro and as global data objects in the ABAP program. Table controls provide an area on the screen for editing the displayed table control rows which offers column headers, marking of rows and columns, horizontal and vertical scrolling with scroll bars, the definition of lead columns and saving of the current settings (see DEMO_DYNPRO ). Parts of the user actions in table controls are processed on the presentation server. Vertical scrolling, saving of settings, and changes of screen size (if the
resizing properties have been set accordingly when defining the table controls) trigger the event PAI .
A column of the table controls can be defined as marking column , in which the screen element is displayed like a pushbutton and treated like a checkbox (see the first column of the table control in DEMO_DYNPRO ). A checked selection key sets the content of the assigned dynpro-field to "X", an unchecked key sets the content to " ". The state of the selection key is transported at the event PAI to a data object of the same name in the ABAP-program and at PBO , you can set the marker via the content of the data object.
Table Controls encapsulate step loops
and make their independent use obsolete. The processing of table controls in the dynpro flow logic accordingly bases on the step loop technique using the statement LOOP . In contrary to the processing of independent step loops, the loops of the dynpro flow logic are linked with the addition WITH CONTROL with the table controls of the dynpros during the processing of table controls.
In the ABAP-program, table controls must be declared with the statement CONTROLS , whereat a special structure for handling of table controls is created.
Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved




DYNP_SUBSCREENS
DYNP_TABSTRIP




comments powered by Disqus