Show TOC

 Table Control WizardLocate this document in the navigation structure

Use

You use the Table Control Wizard to create table controls quickly and easily. The wizard also helps you to generate certain standard table maintenance functions.

Features
  • Creates an instance of the table control.
  • Assigns an ABAP Dictionary or program table to the table control.
  • Selects the table fields for the column definition.
  • Assigns important table control attributes.
  • Generates the relevant statements in the screen flow logic.
  • Creates PBO and PAI modules, subroutines (for standard table maintenance functions), and all necessary data definitions.
  • Generates standard functions for table maintenance (scrolling, insert/delete lines, select/deselect all).
  • Creates includes for the modules, data definitions, and subroutines, if required.
Activities

Using the Wizard in the Graphical Mode of the Screen Painter

  1. Start the graphical mode of the Screen Painter and switch to change mode.
  2. In the Element Palette, choose Table Control (with Wizard).
  3. Define the table control area on the screen.

    The wizard window appears.

  4. The wizard takes you through the steps required to generate a working table control. The process consists of several steps in which you define the attributes of the table control and the necessary ABAP code.
  5. Choose Finish to create the table control.

Using the Wizard in the Alphanumeric Mode of the Screen Painter

  1. Start the alphanumeric mode of the Screen Painter and switch to change mode.
  2. Position the cursor where you would like the top left-hand corner of the table control area to be.
  3. Choose Edit → Wizards for creating elements → Table control.
  4. Position the cursor where you would like the bottom right-hand corner of the table control area to be.
  5. Choose Mark end of ctrl.

    The wizard window appears.

  6. The wizard takes you through the steps required to generate a working table control. The process consists of several steps in which you define the attributes of the table controls and the necessary ABAP code.
  7. Choose Finish to create the table control.
    Note

    If an error occurs while you generate the table control, or if you cancel the wizard, all objects and ABAP code generated by the wizard are deleted.