The box command is used to create boxes around groups of elements.
The box command enables users to create boxes for either s single screen element or a group of elements. This command is very useful when a user wishes to create a cleaner interface and enclose SAP elements into a single group. The box object includes properties specifying the parameters of the box, as well as starting and ending position. Other properties associated with the box command include the start row, end row, starting column and ending column.
The syntax is as follows:
box([row_start,column_start],[row_end,column_end], "Field label");
The box command takes the following option:
This option specifies by how many rows and columns the box will be offset. Offset is relative to the screen margin so we need to specify by how much the box will be offset from the screen margin. The syntax is as follows:
box( {"offset":[row_start,column_start]}, {"offset":[row_end,column_end]}, "Label");