‎2008 Aug 31 8:49 PM
Hi All,
I have 2 fields as select option in selection screen.I have some drop down values for both the fields.Now the user should only enter those values in the dropdown.
How can i disable entering a value option for both the fields so that user can only enter the values from the dropdown.
Can anybody suggest how to do this?
Thanks
‎2008 Aug 31 10:02 PM
Look at [Dropdown Boxes|http://help.sap.com/saphelp_46c/helpdata/EN/9f/dbabe435c111d1829f0000e829fbfe/frameset.htm]. You have to use [VRM_SET_VALUES|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=vrm_set_values&adv=false&sortby=cm_rnd_rankvalue#] in the PBO (AT SELECTION-SCREEN OUTPUT)
If you want to restrict the option available, use NO-EXTENSION, NO INTERVALS or call function module [SELECT_OPTIONS_RESTRICT|https://www.sdn.sap.com/irj/sdn/advancedsearch?query=select_options_restrict&cat=sdn_all] in the INITIALIZATION.
Regards
‎2008 Sep 01 5:32 AM
Hi,
Use no-extension in the select-options statement as below.
tables: mara.
select-options: s_matnr for mara-matnr MODIF ID PRM NO-EXTENSION.
With best wishes,
Rama.
‎2008 Sep 01 6:59 AM
place a search in SDN with Loop at screen you will get lots f examples.
Amit.
‎2008 Sep 01 7:10 AM
Use Select options as
Select options: so_field no extension. "if interval is not required use no-interval
Use VRM_SET_VALUES for drop down list or F4IF_INT_TABLE_VALUE_REQUEST for F4 help list
Regards
Sathar