Using the textfont, textweight and textheight options

In this example, we will demonstrate the textfont, textheight and textweight options for the textbox xommand. You can vary the height, weight, and font of the text used in a textbox with these options. To demonstrate these, please do the following.
  1. Go to the MM01 screen.
  2. Open the 'SAPLMMGM.E0060.sjs' script file, and use the following code to modify the second textbox.
    textbox([1,2], [10, 100],{" name":"z_text"});
    textbox([1,2], [10, 100],{" name":"z_totext", "textfont":"Times", "textweight":8, "textheight":18}); 
  3. Save the changes and refresh the SAP screen. It will now display as shown below: