Use the various options of the
screen painter to place the text fields, input/output fields,
pushbuttons required for the 2 screens.
As far as possible, use dictionary
data elements for the input/output fields so that the required
attributes will be automatically set by SAP and the basic automatic
validations checks will also be done by SAP.
To set the attributes of each
field, select the field and double click on it to open the
Attributes Screen.
Whenever user does any interaction
with the screens, a field is required to trap the action that the
user is trying to perform. To do this, define 4 character variable
by the name v_okcode_screennumber.
Assign function codes to the
various buttons on the screen that the user is likely to press.
These function codes are then
transferred via the variable to the flow logic of the screen, to
decide the path to be taken by the flow of the transaction.

