Overview
SAP offers so-called layouts and variants. A variant stores the data from a report selection screen, while a layout can store settings of a list such as column width, column order, sorting, filters and summation.

The S10 Framework enables these features by default for all generated lists and screens.

Layouts and filters can be defined or selected within the application. The layout refers to the list with its columns, as well as the expandable detail area. The filter relates to the available selection options and any presettings.

Example: Layout and filter for the article display

Maintaining layouts

The arrow next to the layout selection can be used to call up a dialog with which layouts can be defined:


"Table" tab

Here you can customize how the available columns should be displayed to the user.

General settings:

To maintain a layout, a description and an ID must be specified. It can be defined as default variant, so it will be applied automatically when the list is displayed for the first time.

With an Enter, only the selected columns are rearranged (active at the top). Only with "Apply" are the current settings applied to the list. With "Cancel" all settings are undone so that a layout can be tested first. Only with "Save" are all settings saved in the system.

Global and personal layouts:

Layouts for all users must begin with a /. Otherwise, the layout is maintained and displayed only for the user who is logged in. Here you can set via corresponding authorizations in the SAP system whether a user may define generally available layouts or not. An upload or download as a .CSV file is also possible.

Set default filter:

A layout can be linked with an existing filter, so that when it is activated not only the column structure is adjusted, but also a specific data selection is made.

General table settings:

  • List type: Single records or totals.
  • Scroll: The heading of the table remains at the top when scrolling or is scrolled along with it.
  • Groups: The data is grouped and the final total is displayed.
  • Line coloring: Alternating coloring for the lines can be switched on or off.
  • Colors: Text and background color of the table can be defined.

Options for the columns:

  • Show or hide a column: By checking the checkbox on the left side.
  • Setting the order of the columns: By clicking on the name of a column.
  • Show help text for a column: This displays the SAP documentation for this field.
  • Width: The width of the column can be specified in pixels.
  • Up to (up to maximum width): If more space is available, this column may extend up to this this width.
  • Opt (optimum width): Here a calculated value can be taken over which is divided by the maximum width of the currently displayed data.
  • Color: Text and background color for the lines of the list can be specified.
  • Portrait: Selected columns are displayed in portrait mode, the rest are not.

Detail view" tab

Here you can select the fields that should be displayed when a column is expanded.

More options:

  • Colors: Text and background color of the individual fields as well as background color of the detail area can be selected.
  • Key/Text:Here you can set whether the key value, the associated text or both should be displayed.
  • Detail area: Here you can set whether only one detail area can be opened at a time or whether several can be opened in parallel.

"Download" tab

Tables can be downloaded, saving all displayed data. The format can be influenced with these options.

Maintenance of the filters

The display or hiding of filters as well as the definition of the order is done analogous to the fields in the layouts. In addition, there are further adjustable options:

  • ReadOnly: The value of this filter cannot be changed.
  • Mand. (Mandatory): Here the user must select or enter a value. be entered.
  • Mult. (multiple): Should a single selection or a multiple selection be possible?
  • DB (database value): Here only the values are offered for selection, for which possible data are actually available.
  • Set value: If this is activated, the stored value is always set when a filter is selected. stored value is set.
  • In Title: If enabled, the selected value will be displayed at the top of the title bar.
The filter area can also be set in the background colour and it can be specified whether the filter is the default filter that is activated when the application is called up for the first time.

Generation and Later Integration
It is recommended to start development with the basic structure, which can be generated using the S10 Utilities (Transaction /s10/util). The functionality for layouts and filters is already integrated during creation.


A manual integration afterwards is also possible. You can find detailed instructions for integrating the Screen Layout here:

Integrate Screen Layout Integrate Screen Layout
Transport to other SAP Systems

Layout and filter definitions are often useful in different SAP systems, whether it's between test and production systems or other systems. Storing layouts can also be meaningful for backup purposes. There are two main ways to transport layouts and filters:

  1. Uploading and downloading within an S10 application:
    Open the maintenance dialog and use the button to upload or download a .CSV file. Note that this is only possible for the selected layout or filter.
  2. Inclusion of table entries in an SAP transport request: The layouts and filters are stored in the table /s10/layout, language-dependent texts in /s10/layoutt. Include all or selected table entries in a transport request and import it into the target system.

    The procedure is as follows:

    • Create a new request or extend an existing one.
    • Add a new object with these properties:
      • Program ID: R3TR
      • Object Type: TABU
      • Object Name: /S10/LAYOUT or /S10/LAYOUTT
    • Click the key symbol and specify the criteria for the table entries you want to include. Double-click on a row to open the editor. You can also narrow down the scope:
      • TL: Table Layout
      • TF: Table Filter
      • SL: Screen Layout

    Import this transport into the desired system to transfer the corresponding layouts and filters and make them available there.

Component S10 Framework