2007 Aug 17 8:05 AM
Is there any FM which can provide facility of selecting value from a list a list of values.
2007 Aug 17 8:22 AM
Hi
You can use the following FM:
HELP_VALUES_GET_WITH_TABLE : Displays a list of possible values for selection screens. This function module pops up a screen like all the other F4 helps. Useful for providing dropdown on fields that do not have them predefined.
2007 Aug 17 8:16 AM
2007 Aug 17 8:19 AM
2007 Aug 17 8:21 AM
This is for F4 help...i need if somebody press enter, a popup should occur which shud take input from internal table and in turn provides functionality to select value from list of values.
2007 Aug 17 8:22 AM
Hi
You can use the following FM:
HELP_VALUES_GET_WITH_TABLE : Displays a list of possible values for selection screens. This function module pops up a screen like all the other F4 helps. Useful for providing dropdown on fields that do not have them predefined.
2007 Aug 17 8:23 AM
Hi ,
U can use FM <b>REUSE_ALV_POPUP_TO_SELECT</b>
Reward all helpful answers.
Regards,
Nilesh.
2007 Aug 17 8:24 AM
Hi Kartavya,
you can use
CALL FUNCTION 'POPUP_WITH_TABLE_DISPLAY'
EXPORTING
endpos_col = 81
endpos_row = 14
startpos_col = 10
startpos_row = 10
titletext = text-031
IMPORTING
choise = index
TABLES
valuetab = i_value_tab
EXCEPTIONS
break_off = 1
OTHERS = 2.
Viele Grüße
Henner
2007 Aug 17 8:24 AM
2007 Aug 17 8:29 AM
Hello Kartavya,
What do u exactly mean...
for help on that field use the function module.. '<b>F4_FIELD_ON_VALUE_REQUEST</b>'.
If u need dropdown list....
check the following sample pgm...
TYPE-POOLS: vrm.
DATA: name TYPE vrm_id,
list TYPE vrm_values,
value LIKE LINE OF list.
PARAMETERS: ps_parm(10) AS LISTBOX VISIBLE LENGTH 10.
AT SELECTION-SCREEN OUTPUT.
name = 'PS_PARM'.
value-key = '1'.
value-text = 'Line 1'.
APPEND value TO list.
value-key = '2'.
value-text = 'Line 2'.
APPEND value TO list.
CALL FUNCTION 'VRM_SET_VALUES'
EXPORTING id = name
values = list.
START-OF-SELECTION.
WRITE: / 'Parameter:', ps_parm.
Reward If Useful.
Regards
--
Sasidhar Reddy Matli.
2007 Aug 17 8:36 AM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |