Entering content frame

Procedure documentation Creating and Modifying Table Controls Locate the document in its SAP Library structure

For further information about defining and using table controls, see Table Controls.

This graphic is explained in the accompanying text

There is also a table control wizard, which you can use instead of the method described below. The wizard takes you step by step through the procedure required to create a working table control.
For further information, refer to
Using the Table Control Wizard.

Creating a Table Control

  1. Position the cursor where you want the top left-hand corner of the table control to appear.
  2. Choose Edit ® Create elements ® Table control.

The system shows the maximum possible size for the table control in the fullscreen editor.

  1. Position the cursor where you want the bottom right-hand corner of the subscreen area to be.
  2. Choose Select Ctrl end to mark the end of the table control.

The attribute dialog box appears.

  1. Enter the table control attributes.
  2. Choose Copy.
    The table control appears in the fullscreen editor according to the size and attributes you have specified.

    This graphic is explained in the accompanying text

Adding Elements and Headings

The following procedure assumes that you are creating new screen elements without reference to ABAP Dictionary or program fields. If you are, choose Dict./Prog fields in step 5.

  1. Position the cursor within the table control area.
  2. Choose Select or Edit ® Table control.
    The application toolbar now contains special functions for editing table controls.
  3. Choose Ctrl elements.
    A dialog box appears, in which you can enter the definition of the table columns and their headings.
  4. Place the cursor in the input field for the relevant column.
  5. Choose Create element.
    Another dialog box appears, in which you can set an element type for the table column. You can create a text field, an input/output field, a radio button, a checkbox, or a pushbutton.
  6. Select a field type.
    The Screen Element Attributes dialog box appears.
  7. Enter the attributes and choose Copy.
    If you are defining an input/output field, you must specify the defined length as well as the field name.
  8. Enter the column heading and press ENTER .
  9. In the next dialog box, enter a field type and choose Continue.
  10. Enter the field type attributes and choose Copy.
  11. Repeat steps 4-10 for each additional column.
  12. Choose Copy.

The table control, with its elements and column headings, is now displayed in the fullscreen editor.

This graphic is explained in the accompanying text

Adding a Table Title

  1. Open the attribute window in the table control.
  2. Select With title.
  3. Enter a field name for the title and choose Copy.
  4. In the next dialog box, enter a field type and choose Continue.
  5. Enter the field type attributes and choose Copy.
    This graphic is explained in the accompanying text

Editing Functions for Table Controls

function

Explanation

Ctrl attributes

Changes table control attributes.

Ctrl Elements

Changes table control columns. (Adding, changing, and moving columns.)

Select Ctrl end

Moves the bottom right-hand corner of the table control.

Deselect control

Ends an editing session for the table control.

Convert TC

Converts the table control into a fixed or variable step loop.

Move TC

Moves a table control to a new position.

Dissolve TC

Dissolves the table control into individual elements. However, the system can only place the elements in the original table area. If dissolving a table control is likely to produce an unsatisfactory result, the system asks you whether you really want to proceed.

Delete Ctrl

Deletes the table control.

 

 

 

Leaving content frame