‎2008 Dec 02 11:27 AM
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.
‎2008 Dec 02 11:29 AM
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
‎2008 Dec 02 11:30 AM
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.
‎2008 Dec 02 11:30 AM
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....