Using the title command in WS.
The title command is used to change the title of the SAP title bar. The syntax is as follows:
title("string");
If a variable is used, the syntax would be either of the following. The first syntax is used is a string and a variable are combined. The second syntax is used is there is only a variable.
title("String" +variable);
title(variable);
This command is very useful in customizing existing screen titles after they have been customized, or for titling new user-defined screens.
The title command does not take any options.