Displaying text from variables

To use the text command to display text housed in a variable, please do the following.
  1. Go to the initial VA01 screen.
  2. Open the script file ('SAPMV45A.E0101.sjs') and enter the following code. Create the script file if it does not exist.
    var z_txt = "This is some text!";
    text([12,4], " The variable is>>:" +z_txt);
            
  3. Save the changes and refresh the SAP screen. It will now display as shown below: