User-defined messages

Displaying a user-defined message.

To demonstrate how you can place a custom message in the message command, please do the following:

  1. Open the VA01 script file and type in the following code:

    var z_va01 = "Demonstrating the message command!"
    message("S: The custom message is: " +z_va01);
    				
  2. Save the changes and refresh the SAP screen.

  3. The screen will now display as follows: