‎2009 Mar 25 5:32 AM
Hi,
I hvae plant in my selection screen
By default, Plant are FN15, FN16, FN17, IG15, IG16, and IG17.
can you help me hw can i declare them default.
tcode will be helpful.
thanks
vikash.
‎2009 Mar 25 5:40 AM
Hi,
You can create an SELECT-OPTIONS for your plant field,
and then append its low and high value with your required value
and give the sign = BT in the INITIALIZATION event or
you can set the multiple single values of your select option
from the button present with the select option on the selection screen.
Hope it helps
Regards
Mansi
Edited by: MANSI ASNANI on Mar 25, 2009 6:40 AM
‎2009 Mar 25 5:33 AM
Hi,
Use ranges for plant.
RANGES : p_werks FOR werks.
Append these values in this range in INITIALIZATION event.
INITIALIZATION.
p_werks-sign = 'I'.
p_werks-option = 'BT'.
p_werks-low = '<value>'.
append p_werks.
clear p_werks.
"similarly append other values
Regards,
Tarun
‎2009 Mar 25 5:35 AM
Hi,
Append the values to SELECT-OPTION plant in INITIALIZATION event.
select-options : so_werks LIKE t001-werks.
EG:
INITIALIZATION
so_werks-option = 'I'.
so_werks-sign = 'BT'.
so_werks-low = 'FN15'.
append so_werks.
so_werks-low = 'FN16'.
append so_werks.
append similarly all the required plants...
Regards
Pavan
Edited by: vishnu Pavan on Mar 25, 2009 6:38 AM
Edited by: vishnu Pavan on Mar 25, 2009 6:40 AM
Edited by: vishnu Pavan on Mar 25, 2009 6:55 AM
‎2009 Mar 25 5:36 AM
Hi,
You can create a domain and its valu range you can write these default values and then use this domain type in the sclection screen field.
Regards,
Pranaya
‎2009 Mar 25 5:40 AM
yes simply declare a select-option for that plant and then append the mentioned values to that select-option/range table in the Initialization part of your program.
‎2009 Mar 25 5:40 AM
Hi,
You can create an SELECT-OPTIONS for your plant field,
and then append its low and high value with your required value
and give the sign = BT in the INITIALIZATION event or
you can set the multiple single values of your select option
from the button present with the select option on the selection screen.
Hope it helps
Regards
Mansi
Edited by: MANSI ASNANI on Mar 25, 2009 6:40 AM
‎2009 Mar 25 5:42 AM
hi,
if the default values are a3 a4 a5 a6 a7 a8 a9 aa ab ac ad ae af ag ah
then u can put these values as default in select otion s_txcd 15 like this.
s_txcd15-low = 'A3'.
s_txcd15-option = 'EQ'.
s_txcd15-sign = 'I'.
append s_txcd15.
s_txcd15-low = 'A4'.
append s_txcd15.
s_txcd15-low = 'A5'..
append s_txcd15.
s_txcd15-low = 'A6'.
append s_txcd15.
s_txcd15-low = 'A7'.
append s_txcd15.
s_txcd15-low = 'A8'.
append s_txcd15.
s_txcd15-low = 'A9'.
append s_txcd15.
s_txcd15-low = 'AA'.
append s_txcd15.
s_txcd15-low = 'AB'.
append s_txcd15.
s_txcd15-low = 'AC'.
append s_txcd15.
s_txcd15-low = 'AD'.
append s_txcd15.
s_txcd15-low = 'AE'.
append s_txcd15.
s_txcd15-low = 'AF'.
append s_txcd15.
s_txcd15-low = 'AG'.
append s_txcd15.
s_txcd15-low = 'AH'.
append s_txcd15.or
u can also use the ranges also
regards
rahul
‎2009 Mar 25 5:44 AM
HI,
SELECT-OPTIONS : S_PLANT TYPE MARD-WERKS.
INITIALIZATION.
S_PLANT -sign = 'I'.
S_PLANT -option = 'EQ' .
S_PLANT -low = 'FN15'.
APPEND S_PLANT .
S_PLANT -low = 'FN15'.
APPEND S_PLANT ,
‎2009 Mar 25 5:44 AM
Using select-options:
REPORT YSAT_DEFAULT_VALUES.
tables: marc.
select-options: sel1 for marc-werks.
initialization.
sel1-low = 'FN15'.
sel1-option = 'EQ'.
sel1-sign = 'I'.
append sel1.
clear sel1.
sel1-low = 'FN16'.
sel1-option = 'EQ'.
sel1-sign = 'I'.
append sel1.
clear sel1.
sel1-low = 'IG15'.
sel1-option = 'EQ'.
sel1-sign = 'I'.
append sel1.
clear sel1.
sel1-low = 'IG16'.
sel1-option = 'EQ'.
sel1-sign = 'I'.
append sel1.
clear sel1.
‎2009 Mar 25 5:44 AM
Declare SELECT-OPTIONS for plant on selection screen.
In The INITIALIZATION event construct the range of the desired plants.
‎2009 Mar 25 5:45 AM
tcode will be helpful.I bolt from the blue, Does a t-code dish up your purpose in this case?