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

replace FM

Former Member
0 Likes
954

Can any one tell what the replacement FM for

HELP_VALUES_GET_WITH_VALUE

6 REPLIES 6
Read only

Former Member
0 Likes
808

Check out

POPUP_TO_DISPLAY_TEXT or POPUP_TO_DISPLAY_MESSAGE..

Regards,

Santosh

Read only

Former Member
0 Likes
808

You can try F4_SEARCH_HELP or F4IF_DISPLAY_VALUES .

Do let me know if this helped.

Thanks,

Pranjal.

Read only

Former Member
0 Likes
808

You can use this instead of your fm:

F4IF_INT_TABLE_VALUE_REQUEST

Regards.

Dara.

Read only

Former Member
0 Likes
808

Hi Giridhar,

Use FM

F4IF_INT_TABLE_VALUE_REQUEST

and

POPUP_TO_DISPLAY_TEXT

If it is helpfull pls reward pts.

Regards

Srimanta

Read only

Former Member
0 Likes
808

Hi,

You can use

F4IF_INT_TABLE_VALUE_REQUEST

Reward all helpful answers

Read only

Former Member
0 Likes
808

>

> Can any one tell what the replacement FM for

> HELP_VALUES_GET_WITH_VALUE

Hi,

u can use function module "'F4IF_INT_TABLE_VALUE_REQUEST".but pass the parameters accordingly.

see the below code for example.

CALL FUNCTION 'HELP_VALUES_GET_WITH_TABLE'

EXPORTING

display = ' '

titel = text-h31

show_all_values_at_first_time = 'X'

IMPORTING

select_value = v_sel_cntry

TABLES

fields = isel_fields

valuetab = isel_cntry.

replacement :

data: v_sel_cntry_tab type table of DDSHRETVAL.

data: wa_sel_cntry_tab type DDSHRETVAL.

data: it1_fields type table of DFIES.

data: wa1_fields_tab type dfies.

data: wa1_fields type help_value.

loop at isel_fields into wa1_fields.

wa1_fields_tab-tabname = wa1_fields-tabname.

wa1_fields_tab-fieldname = wa1_fields-fieldname.

wa1_fields_tab-KEYFLAG = wa1_fields-SELECTFLAG.

append wa1_fields_tab to it1_fields.

endloop.

CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'

EXPORTING

DDIC_STRUCTURE = ' '

RETFIELD = 'JOBNAME'

WINDOW_TITLE = text-h31

DISPLAY = ' '

TABLES

VALUE_TAB = isel_cntry

FIELD_TAB = it1_fields

RETURN_TAB = v_sel_cntry_tab

DYNPFLD_MAPPING =

EXCEPTIONS

PARAMETER_ERROR = 1

NO_VALUES_FOUND = 2

OTHERS = 3

.

IF SY-SUBRC <> 0.

MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

ENDIF.

loop at v_sel_cntry_tab into wa_sel_cntry_tab.

if p_var1 = 's_cntry-low'.

s_cntry-low = wa_sel_cntry_tab-FIELDVAL.

elseif p_var1 = 's_cntry-high'.

s_cntry-high = wa_sel_cntry_tab-FIELDVAL.

endif.

exit.

Endloop.

reward if useful..

Edited by: Siva Kalyan Patti on Apr 29, 2008 3:22 PM