Using Standard Text Variables in Report TextsA standard text variable is an SAP-delivered variable, which you can enter directly into a report when defining report text. The system calculates the value for the variable based on current system records.
Example
Author of report
Date of report creation
Time of report creation
Page number
The standard text variables
Horizontal double line in report width
and
Horizontal line in the report width
replace the
%FILL-
and
%FILL=
variables for filling a line with the non-alphabetic characters
-
and
=
.
To enter standard text variables when defining report text on the
Change <Text Position> <Report Name> in Language <Language Code>
screen:
Position the cursor at the point where you want to insert the variable and choose
The
Standard Text Variables
dialog box appears. A list of the standard text variables that can be used is displayed.
Move the cursor to the standard text variable that you want to include in your report text and choose
Choose
.
The text variable is inserted at the point where you positioned the cursor on the
Change <Text Position> <Report Name> in Language <Language code>
screen.
If you want to change the parameters controlling the display of the text variable in the report output:
a) Choose .
The
Change Attributes
dialog box appears.
b) Enter the display attributes for the text variable:
– Define whether the color used for the text variable is intense or the standard color.
– Enter a color code if you want to display the variable in color.
– Define the width of the text variable.
– Define the offset for the text variable.
For example, if you define a width of 20 and an offset of 5 , characters 6 to 25 will be printed.
You can use the following additional processing functions on this screen.
Additional Processing Functions Change <Text Position> <Report Name> in Language <Language Code> Screen
Choose |
Function |
|
Copy existing text as your report text (for example, header text from a different report or in a different language). You can then overwrite this text and save it. |
|
Save the report text. |
|
Delete report text in all languages. |
|
Cut the selected variable and place it in the clipboard. |
|
Copy the selected variable and place it in the clipboard. |
|
Insert the contents of the clipboard at a selected position in the report text. |
|
Insert a line for entering report text. |
|
Change the parameters controlling the display of the text variable in the report output. |
|
Change the page width for entering report text. |
|
Delete the text line. |
|
Delete the selected text variable. |
|
Insert standard text variables in the report text. |
|
Insert text variables for selection parameters in the report text. |
|
Insert special text variables in the report text. |
|
Insert text variables for characteristics in the report text. |
|
Draw a frame around the report text. |
|
Insert a line for entering report text. |
|
Change the master language in which you want to enter the report text. (The logon language is automatically defaulted as the master language.) |
Choose .
Choose .
The variable appears on the
Create Report: Texts
screen.