The pos command is used to move elements in SAP.
You may find it useful to move native SAP screen elements around and re-organize screens. This ability is often useful when elements are grouped together, or when it is necessary to add or delete elements. You can use the pos command to move or reposition these screen elements. The pos command functions on most native SAP screen elements, including the following:
The syntax is as follows:
pos("F[screen_element]". [row,col], {"option":true…);
The pos command takes the following options:
Repositions the groupbox surrounding a group of elements, while leaving the elements inside the groupbos in the original location.
{"box":true}
Specifies the field that will be used to offset a given screen control. This option must be used together with the 'offset' option and the syntax is as follows:
{"field":"[element_name]", "offset":"[rows, cols]"}
Offsets a screen control based on the position of a another control. This option must be used together with the 'field' option and the syntax is as follows:
{"field:"[element_name]", "offset":"[rows, cols]"}
Specifies that only the onscreen text label of a control will be moved. The control itself will remain in its previous position. The syntax is as follows:
{"text":true}
Specifies that only the actual screen control will be moved - the label will remain in its original position. The syntax is:
{"value":true}