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

Pop up for selecting values

Former Member
0 Likes
12,679

Is there any FM which can provide facility of selecting value from a list a list of values.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
5,803

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.

Is there any FM which can provide facility of selecting value from a list a list of values.

9 REPLIES 9
Read only

Former Member
0 Likes
5,803

You can use the FM 'F4_FIELD_ON_VALUE_REQUEST'.

Read only

Former Member
0 Likes
5,803

Use FM F4IF_INT_TABLE_VALUE_REQUEST

Read only

Former Member
0 Likes
5,803

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.

Read only

Former Member
0 Likes
5,804

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.

Read only

Former Member
0 Likes
5,803

Hi ,

U can use FM <b>REUSE_ALV_POPUP_TO_SELECT</b>

Reward all helpful answers.

Regards,

Nilesh.

Read only

Former Member
0 Likes
5,803

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

Read only

former_member404244
Active Contributor
0 Likes
5,803

Hi,

Try the FM POPUP_WITH_TABLE_DISPLAY_OK

Regards,

NAGARAJ

Read only

Former Member
0 Likes
5,803

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.

Read only

Former Member
0 Likes
5,803

thanks.