If
the transaction code is not sufficient, you can either use
if
Q[Status=...]
Look
at the GUI status with "System->Status". Normally
the SAP application uses two different GUI statuses to
distinguish between display and change mode.
Alternatively,
you can choose a certain field on the screen, e.g. the field
[Price], and determine whether it is an input field or just
read-only. Use the syntax
if
I[Price]
This
condition is fulfilled only if there is an input field [Price]
on the screen, i.e.
I[Price]
does not pertain if [Price] is a read-only field. |