Use of conditions 

Conditions allow you to control the test flow logic. A condition has the following form:

<var1> <op> <var2>.

Valid compare operators <op>:

All variables, SY fields, test module parameters, SET/GET parameters and constant values can be used as variables <var1> and <var2>.

Function

Object

Text

 

IF

 

&V01 = &V02

compare two variables

IF

 

&JHR GT &D01(04)

year and date variable length 4

EXIT

 

&V01 <= '5'

variable and constant

CHEVAR

 

SY-SYSID = 'S11'

SY field and constant