2007 Jun 04 2:19 PM
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.
2007 Jun 04 3:11 PM
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
2007 Jun 04 3:11 PM
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
2007 Jun 04 3:36 PM
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.
2007 Jun 04 3:12 PM
Hi,
U can use FM : VRM_SET_VALUES to achieve this functionality
2007 Jun 04 3:16 PM
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
2007 Jun 04 3:21 PM
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
2008 Aug 05 1:36 PM
Hi
I understand your point . So hw to bring the custom f4 search help for the select-option ?