Making checkboxes read-only

Open the 'SAPMV45A.E0101.sjs' script file. Create this file if it does not already exist. All additions will be made to this file.

The default VA01 screen appears as follows:



  1. Add the following code to the three checkboxes we previously created:

    "readonly":true
  2. The code will now appear as follows:

    checkbox([11,15], "Check1", {"name":"z_chkbx1", "readonly":true, "default":"x"});
    checkbox([13,15], "Check3", {"name":"z_chkbx2", "readonly":true});
    checkbox([12,15], "Check2", {"name":"z_chkbx3", "readonly":true});
  3. The VA01 screen will now appear as follows: