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

f4 help creation

Former Member
0 Likes
406

for the field zregion1 of the table zbwcntry,i wish to put f4 help in the slection screen of the clasical report.

this f4 help should display all the entries for this field available in the table.

what will be the code and where should i call this.

what will be the select criterion.

3 REPLIES 3
Read only

Former Member
0 Likes
373

You can use the function module 'F4IF_INT_TABLE_VALUE_REQUEST'

Eg. Code


select-options : s_carrid for.....
 
at selection-screen on s_carrid-low.
 
SELECT carrid carrname
FROM scarr
INTO CORRESPONDING FIELDS OF TABLE itab_carrid.
 
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'SCARRID-low'
value_org = 'S'
TABLES
value_tab = itab_carrid
EXCEPTIONS
parameter_error = 1
no_values_found = 2
OTHERS = 3.

Regards

Sam

Read only

Former Member
0 Likes
373

hi,

You can use the function module 'F4IF_INT_TABLE_VALUE_REQUEST'

select-options : s_carrid for.....

at selection-screen on s_carrid-low.

SELECT carrid carrname

FROM scarr

INTO CORRESPONDING FIELDS OF TABLE itab_carrid.

CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'

EXPORTING

retfield = 'SCARRID-low'

value_org = 'S'

TABLES

value_tab = itab_carrid

EXCEPTIONS

parameter_error = 1

no_values_found = 2

OTHERS = 3.

Read only

Former Member
0 Likes
373

Hi,

You better Create a Search help for this Table Field and attach it to the Table Field Data Element...This will solve your problem....