‎2008 Mar 30 12:47 PM
Hi all,
I am using a selection screen.
on tht selection screen i am using a select option called plant(i.e. werks)
now i want to disable the plant option with canstant value 1000.
plz its urgent
regards,
anniyan
‎2008 Mar 30 12:53 PM
Hi ,
you can do like that
SELECT-OPTIONS: s_werks FOR mard-werks no interval default 1000.
u can also do it by using loop.
thanks,
swaroop.
‎2008 Mar 30 12:53 PM
Hi ,
you can do like that
SELECT-OPTIONS: s_werks FOR mard-werks no interval default 1000.
u can also do it by using loop.
thanks,
swaroop.
‎2008 Mar 30 12:54 PM
‎2008 Mar 30 12:59 PM
hi Swaroop,
u told that there is other method aby using loop can u explain me that.
thanks,
anniyan
‎2008 Mar 30 1:00 PM
Hi anniyan,
select-options : p_pernr for pernr-pernr default '1000'.
initialization.
loop at screen.
if screen-name = 'P_PERNR-LOW'.
screen-input = '0'.
modify screen.
endif.
if screen-name = 'P_PERNR-HIGH'.
screen-input = '0'.
modify screen.
endif.
endloop.
thanks,
swaroop
‎2008 Mar 30 12:53 PM
Hi,
maybe:
SELECT-OPTION select_option_name FOR field_name
DEFAULT your_default_value.
Best regards.
‎2008 Mar 30 12:59 PM
Hi,
select-options werks for marc-werks default '1000' .Regards,
V.Balaji
Reward if Usefull...
‎2008 Mar 30 1:57 PM
Hi annniyan,
may be I understand you wrong because the other replies will do something else.
If "disable the plant option with canstant value 1000" means you do not want the user to select '1000' as plant option, then the answer is
at selection-screen on s_werks.
if '1000' in s_werks.
message 000(R1) 'Plant 1000 is diabled - please change selection'.
endif.
Regards,
Clemens