Header of ALV Output
Use
The position of the title of the ALV output depends on which ALV tool you are using and also on the display type:
-
Simple, two-dimensional table
-
With the classic ABAP List and Full Screen display types, the title is located in the screen status. The title applies to the whole screen
In the full screen, you are also able to display the title above the ALV output.
-
With display in a container, the title is located on the upper edge of the container below the application toolbar. The title is valid only for the area of the container
-
-
Hierarchical-sequential list
-
The title can be found in the screen status. The title applies to the whole screen
-
-
Tree structure
-
In the Full Screen display type, the title is located in the screen status. The title applies to the whole screen
-
With the display in the container, you cannot use a title.
-
Features
You can make the following settings for the title of the ALV output:
-
Change Wording of the Title
-
Change font size of the title (only container display)
Change Wording of the Title
You are able to change the wording of the title in all three ALV tools.
|
ALV Tool |
Display Type |
Function available |
|
Simple, Two-Dimensional Table |
Classic ABAP List |
Yes |
|
Full Screen |
Yes |
|
|
In the Container |
Yes |
|
|
Hierarchical-sequential list |
Classic ABAP List |
Yes |
|
Tree Structure |
Full Screen |
Yes |
|
In the Container |
No |
|
Function |
Class |
Method |
|
Change wording of the title (simple, two-dimensional table and hierarchical-sequential list) |
CL_SALV_DISPLAY_SETTINGS |
SET_LIST_HEADER |
|
Get current title |
GET_LIST_HEADER |
|
|
Change wording of the title (tree structure) |
CL_SALV_TREE_SETTINGS |
SET_HEADER |
|
Get current title |
GET_HEADER |
Change Font Size of the Title
In the container display of the simple, two-dimensional table, you are able to change the font size of the title. In the full-screen display, you can only do this when you display the title in the ALV output.
|
ALV Tool |
Display Type |
Function available |
|
Simple, Two-Dimensional Table |
Classic ABAP List |
No |
|
Full screen |
Only above the ALV output |
|
|
In the Container |
Yes |
|
|
Hierarchical-sequential list |
Classic ABAP List |
No |
|
Tree structure |
Full Screen |
No |
|
In the Container |
No |
|
Function |
Class |
Method |
|
Change Font Size of the Title |
CL_SALV_DISPLAY_SETTINGS |
SET_LIST_HEADER_SIZE |
|
Get current font size |
GET_LIST_HEADER_SIZE |