Creating textboxes

In this example, we will make one of our textboxes as a readonly field. TO demonstrate thi option, please do the following.
  1. Go to the MM01 screen.
  2. Open the 'SAPLMMGM.E0060.sjs' script file, and change the code for the second textbox by adding the readonly option as shown below.
    textbox([1,2], [10, 100],{" name":"z_text"});
    textbox([1,2], [10, 100],{" name":"z_totext", "readonly":true}); 
  3. Save the changes and refresh the SAP screen. It will now display as shown below: