Defining Rows

Rows in a report are defined in a similar way to columns. However, you cannot enter predefined key figures in rows. You define row elements using basic key figures in combination with the characteristics selected for the library that the report uses. You can also use formulas.

Procedure

  1. Position the cursor on the row you want to define, and choose Start of the navigation path Edit Next navigation step Elements Next navigation step Insert element End of the navigation path , or double-click the element. For information on the terminology of elements, see Terminology .

  1. Define the row.

If no other rows exist in the section , a dialog box appears on which you can select the combination of basic key figure and associated characteristics to be displayed in the row being defined.

In the upper area of the dialog box, select the basic key figure that you want to use in the report.

From the list of available characteristics on the right-hand side of the dialog box, choose the characteristics you want to use. Use the arrow to move these to the left-hand side of the screen. The characteristics displayed are those of the library assigned to your report. The order in which the characteristics appear in the selection list is determined by the Position field in the library definition.

On the left-hand side of the dialog box, enter the values for the selected characteristic(s):

  • You can enter individual values, intervals of values, or groups for the chosen characteristic(s).

  • If you want to define all possible values for the chosen characteristic(s), enter an asterisk ( * ).

  • If you want to specify an initial value for the chosen characteristic(s), enter a pound sign (#).

  • If you want to enter a variable instead of a characteristic value, select . Enter the name of the variable and choose Confirm . You can only enter variables that already exist in your system. For more information, see Variables .

  • If you want to enter a characteristic value in the form of a set, select . Enter the name of the set and choose Confirm . You can only enter sets that already exist in the system. For more information, see Sets in Report Rows .

Recommendation Recommendation

For performance reasons, you should use sets whenever possible.

End of the recommendation.

If rows have been defined in the section , you can also insert a formula. From the dialog box, choose Formula . A formula builder is displayed with which you can define a formula using other report rows and the previously defined cells. The row is calculated using the formula.

Note Note

You can define formulas that refer to elements in different row blocks. However, you can only define formulas within one report section.

End of the note.
  1. Choose and enter short, medium, and long texts for the row.

  2. Choose Check and then Confirm .

  3. To define additional rows, carry out steps 1 to 5 again.

You can copy report rows. Select a row and position the cursor where you want to insert it. Choose Start of the navigation path Edit Next navigation step Selected area Next navigation step Copy. End of the navigation path You can then modify the copied row as desired.

You may find it useful to use sets to define entire blocks of rows. For more information, see the SAP Library under Creating Sets and Sets in Report Rows .

Editing Rows

Under Start of the navigation path Edit Next navigation step Rows End of the navigation path there are a number of special functions for editing report rows. Get row model inserts a predefined row structure in your report rows. For more information, see Defining Row and Column Models . Insert blank line inserts a blank line in the current row (where the cursor is positioned).

Start of the navigation path Edit Next navigation step Rows Next navigation step Hide End of the navigation path hides the row on which the cursor is positioned. The hidden row retains its contents and can still be used in formulas. You can edit hidden rows with Start of the navigation path Hidden rows Next navigation step Change End of the navigation path . You can also delete and display the hidden rows ( Delete and Show functions).

Start of the navigation path Edit Next navigation step Rows Next navigation step Explode End of the navigation path expands the hierarchical levels of the group/value interval defined for the row characteristic. For more information, see Exploding Report Rows .