Entering content frameProcedure documentation Creating, Changing, and Managing Layouts

Use

The reports in the SAP standard system provide a wide range of information. This information can be limited or expanded in some reports to the data that applies to a specific question or cost analysis. You can create different views (layouts) of the information.

Standard layouts are supplied for all reports. If the information provided in the layouts is not sufficient for your purposes, you can modify them or create custom layouts (see illustration).

This graphic is explained in the accompanying text

Example

The report Analyze Costing Run in the Information System for Product Cost Planning is supplied in different variants to enable different questions to be answered by these different selection variants. One variant of the report compares two cost estimates with each other, while another selection variant compares the material price with the costing result. From a technical point of view, these two variants are variants of the same report. The different variants simply supply different types of information. The scope of the information is determined by the definition of a specific layout.

Prerequisites

If you have selected the Shared indicator in the Implementation Guide for the Information System under Maintain Report Parameters for Product Cost Controlling, you can save your custom layouts so that they are available to other users. If this indicator is not selected, layouts can only be accessed by the users that create them.

If you want to use your own layouts in order selection, you must process the section Display Fields Order Selection in the Implementation Guide of the Information System under Maintain Report Parameters for Product Cost Controlling. Here you specify which fields are available when you create your layouts. For example, if you want to use a particular field of the order master in your layout, it is necessary to have specified in the Implementation Guide that you want to use that field as a display field.

Procedure

  1. Execute the report for which you want to define a layout or change an existing layout.
  2. In the report, choose This graphic is explained in the accompanying text next to This graphic is explained in the accompanying text, and then Choose Layout.
  3. You receive a list of all available layouts. Select the layout you want by double-clicking on the corresponding description.

  4. To change the current layout, show additional information, or hide unnecessary information, choose This graphic is explained in the accompanying text next to This graphic is explained in the accompanying text and then Change Layout.
  5. The Define Layouts dialog box appears. All of the fields displayed in the report are listed in the left column. All of the available information you can display is listed in the right column. This information is grouped. Through the list box, you can select a certain field group and display the available fields in the right column.

    Make the desired changes and select This graphic is explained in the accompanying text Enter.

  6. Select the desired fields and use the arrow keys to transfer the selected fields or all fields. These fields are now shown in the left column.
  7. End your selection with Enter. The layout you have defined is applied to the report immediately.
  8. To save this selection, select Save. Name your layout. The name of the layout must begin with a slash (/) or with a letter (user-specific).
  9. Decide whether you want to save the layout as a user-specific layout. If you save it as a user-specific layout, it is only available to you. If you don’t save the variant as a user-specific layout, it is also available to other users.

Result

If you want to use your own layout for a report, enter it in the selection screen of the report when you execute the report.

You can also specify that your layout is always used when you access a report by defining it as an initial layout.

To define your layout an initial layout, choose Settings -> Layout -> Management while in the report. Select your layout and choose Set initial layout. The selected layout is then used as standard in the report unless you enter a different layout in the selection screen.

See also:

For more information on working with the ABAP List Viewer and layouts, see the following:

Leaving content frame