Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Select Options-No display

Former Member
0 Likes
909

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

4 REPLIES 4
Read only

RaymondGiuseppi
Active Contributor
0 Likes
565

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

Read only

Former Member
0 Likes
565

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.

Read only

Former Member
0 Likes
565

place a search in SDN with Loop at screen you will get lots f examples.

Amit.

Read only

Former Member
0 Likes
565

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