Assigning values to GuiXT table rows and columns.
You can use the table command to assign values to cells in a GuiXT table. We will demonstate this in the following examples. The syntax is as follows:
table_name.Col_name[row_index] = "xyz";
To set a value into a particular cell or set of cells, please do the following:
Go to the 'SAPLSMTR_NAVIGATION.E0100.sjs' script file and enter the following code:
proj.qty[4] = "xyz";
We have now entered the value 'xyz' in row four of the 'qty' column as shown below:
To assign values to all cells in a particular column, change the code as shown below:
var l; for(l=0; l<10; l++) proj.qty[1] = 1;
The table will now appear as shown below: