Application Development 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: 

Drop Down -List Box + SELECT-OPTIONS together possible?

Former Member
0 Kudos
989

Hi Experts,

I am looking for to hv a input field in selection screen with the attributes of,

1- Drop Down List Box together with

2-(the same input field) shuld behave as SELEC-OPTIONS i.e. user wanna to give single values list!

So,

1- Is it possible to hv both together for the same input field?

2- If so, How?

thanq.

1 ACCEPTED SOLUTION

suresh_datti
Active Contributor
0 Kudos
112

Yes.. if ithe field has a search help attached to it in the dictionary .. you can also create one in SE11 & attach it to the select-option in the program or even build it in the program itself.

~Suresh

6 REPLIES 6

suresh_datti
Active Contributor
0 Kudos
113

Yes.. if ithe field has a search help attached to it in the dictionary .. you can also create one in SE11 & attach it to the select-option in the program or even build it in the program itself.

~Suresh

0 Kudos
112

ThanQ Suresh,

U hv suggested 2 options,

1- Search Help - My lead is not preferring, I dont Why? Culd u guess?

2- Bulding in Prog it self. - I dont know How to do it? Pls. culd u give some tips i.e. code, so that I can extend further.

thanq.

Former Member
0 Kudos
112

Hi,

U can use FM : VRM_SET_VALUES to achieve this functionality

0 Kudos
112

Hi i am also attaching example code for the same.

TYPE-POOLS : vrm.

DATA : v TYPE vrm_values.

DATA : vw LIKE LINE OF v.

select-options : s_months type blah blah .

INITIALIZATION.

vw-key = '1'.

vw-text = 'Jan'.

APPEND vw TO v.

vw-key = '2'.

vw-text = 'Feb'.

APPEND vw TO v.

vw-key = '3'.

vw-text = 'Mar'.

APPEND vw TO v.

CALL FUNCTION 'VRM_SET_VALUES'

EXPORTING

id = 'S_MONTHS'

values = v

EXCEPTIONS

id_illegal_name = 1

OTHERS = 2.

Kindly be generous with points

Former Member
0 Kudos
112

If I got your question right you are looking to have a list box as a select-option on the selection screen? If so, this is not possible. You can create it as a parameter, but not a select-option on the screen.

Hope this helps.

Sudha

0 Kudos
112

Hi

I understand your point . So hw to bring the custom f4 search help for the select-option ?