04-11-2007 4:07 PM
Hi folks
I have to default four values in select-options.
eg.,
S_lfart for likp-lfart, default zse, zin, znd, zps.
Thanks in Advance,
Rao
04-11-2007 4:10 PM
Fill the range in INITIALIZATION
REFRESH S_LFART.
CLEAR S_LFART.
S_LFART-SIGN = 'I'.
S_LFART-OPTION = 'EQ'.
S_LFART-LOW = 'ZSE'.
APPEND S_LFART.
S_LFART-LOW = 'ZIN'.
APPEND S_LFART.
S_LFART-LOW = 'ZND'.
APPEND S_LFART.
S_LFART-LOW = 'ZPS'.
APPEND S_LFART.
Or you could put the value in a variant (CUS&XXX to insure transport and protection from users...) and affect it to transaction.
Regards
04-11-2007 4:11 PM
Hi,
Please try this.
INITIALIZATION.
S_LFART-SIGN = 'I'.
S_LFART-OPTION = 'EQ'.
S_LFART-LOW = 'ZSE'.
APPEND S_LFART.
S_LFART-SIGN = 'I'.
S_LFART-OPTION = 'EQ'.
S_LFART-LOW = 'ZIN'.
APPEND S_LFART.
S_LFART-SIGN = 'I'.
S_LFART-OPTION = 'EQ'.
S_LFART-LOW = 'ZND'.
APPEND S_LFART.
S_LFART-SIGN = 'I'.
S_LFART-OPTION = 'EQ'.
S_LFART-LOW = 'ZPS'.
APPEND S_LFART.
Regards,
Ferry Lianto
04-11-2007 4:12 PM
INITIALIZATION.
s_lfart-low = 'zse'.
s_lfart-otion = 'EQ'.
s_lfart-sign= 'I'.
append s_lfart.
s_lfart-low = 'zin'.
s_lfart-otion = 'EQ'.
s_lfart-sign= 'I'.
append s_lfart.
s_lfart-low = 'znd'.
s_lfart-otion = 'EQ'.
s_lfart-sign= 'I'.
append s_lfart.
s_lfart-low = 'zps'.
s_lfart-otion = 'EQ'.
s_lfart-sign= 'I'.
append s_lfart.
04-11-2007 4:14 PM
Hi,
Go through the following syntax:
SELECT-OPTIONS <sel> FOR <f>
[DEFAULT <g> [to <h>] [OPTION <op>] SIGN <s>]
[MEMORY ID <pid>]
[LOWER CASE]
[OBLIGATORY]
[NO-DISPLAY]
[MODIF ID <key>]
[NO-EXTENSION]
[NO INTERVALS]
[NO DATABASE SELECTION].
Declares a selection table <sel> for the field <f>. For <sel>, places input fields on the corresponding selection screen. The additions allow you to set a default value, accept input in lowercase, define a required field, suppress or modify the display on the selection screen, restrict the selection table to a line or a selection to a single field, or prevent input from being passed to a logical database
Regards,
Bhaskar