Entering Values

You can assign a value to a screen field either by parameterizing the field in the command interface and then assigning a value to the parameter in the command editor, or by entering a literal directly in the command interface.

In the following table, the first row shows the value that you want to be assigned to a field. The second row shows what you would enter in the command editor to have the desired effect if the field has been assigned the parameter ABC. The third row shows what you would enter if you were assigning the value directly in the command interface.

SPACE

‘ ‘

X

‘X’

Command

Editor

ABC = ‘ ‘.

CLEAR ABC.

ABC = ’’’’.

ABC = ’’’ ’’’.

ABC = ’X’.

ABC = ’’’X’’’.

Command

Interface

‘ ‘

’’’’

’’’ ’’’

’X’

’’’X’’’

Effect of Field Values

The effect of a particular value in a screen field can depend on the command. The following table summarizes the effects of the various field values shown in the top row.

SPACE

‘ ‘

X

‘X’

Key fields for:

SETTAB

CHETAB

GETTAB

Type-specific initial value

Type-specific initial value

Value SPACE

Value X

Value X

SETTAB

CHETAB

Field is not set

Field is not set

Value SPACE

Value X

Value X

TCD

No value transferred

No value transferred

Field is overwritten with SPACE

Field content X is transferred

Field content X is transferred

FUN

CALLMETHOD

CALLSTATIC

SPACE or default value is transferred

Value is transferred

Type-specific initial value overwrites default value

Value X

Value ‘X’

REF

REFCATT

REMOTECATT

REFEXT

SPACE or default value is transferred

Value is transferred

Field value ‘ ‘ is passed

Field content X is transferred

Field content ’X’ is transferred

SAPGUI

Field is overwritten with SPACE

No value transferred – field is not overwritten

Field is overwritten with SPACE

Field content X is transferred

Field content ’X’ is transferred