Substitute Text for Empty Output 
If no data is available, you can specify a text that is displayed in the area of the ALV output.
Note
To display the substitute text, the number of visible rows has to be set to -1 (see Size of ALV Output, Columns, and Cells, under Changing the Height).
To display the substitute text for empty ALV output, use the methods of interface class IF_SALV_WD_TABLE_SETTINGS (implementing class CL_SALV_WD_CONFIG_TABLE):
Methods for displaying substitute text for empty ALV output
Function | Method |
Specify substitute text | SET_EMPTY_TABLE_TEXT |
Get substitute text | GET_EMPTY_TABLE_TEXT |