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

Help on F4IF_INT_TABLE_VALUE_REQUEST

Former Member
0 Likes
517

Hello all,

I am using the FM F4IF_INT_TABLE_VALUE_REQUEST for search help in my table control program.

When i press F4 on the particular field for which i have given the search help i could see the different values in the F4 but when i select one of the values the value is not getting passed onto my screen.

Please suggest what could be the solution.

Thanks in advance.

Regards,

Arun

1 ACCEPTED SOLUTION
Read only

amit_khare
Active Contributor
0 Likes
441

CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'

EXPORTING

retfield = 'WERKS'

dynpprog = ws_repid

dynpnr = sy-dynnr

value_org = 'S'

TABLES

value_tab = i_t001w

return_tab = v_return

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.

ENDIF.

s_plant1-low = v_return-fieldval.

~ Example, as found in form

P.S. - Please search the forum before posting. This will save time.

Hello all,

I am using the FM F4IF_INT_TABLE_VALUE_REQUEST for search help in my table control program.

When i press F4 on the particular field for which i have given the search help i could see the different values in the F4 but when i select one of the values the value is not getting passed onto my screen.

Please suggest what could be the solution.

Thanks in advance.

Regards,

Arun

2 REPLIES 2
Read only

amit_khare
Active Contributor
0 Likes
442

CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'

EXPORTING

retfield = 'WERKS'

dynpprog = ws_repid

dynpnr = sy-dynnr

value_org = 'S'

TABLES

value_tab = i_t001w

return_tab = v_return

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.

ENDIF.

s_plant1-low = v_return-fieldval.

~ Example, as found in form

P.S. - Please search the forum before posting. This will save time.

Read only

0 Likes
441

Thanks a lot Amit.

Arun