Skip to Content
0
Sep 07, 2007 at 05:37 PM

F4 help in module pool program for dictionary field

144 Views

Hi,

I need to set F4 help for the screen field. which has to get values from other table and display. I tried using FM <b>F4IF_INT_TABLE_VALUE_REQUEST</b>. but it is showing that no input values. But in debug mode i vould see entries in internal table.

Below is the coding is used in PAI.

PROCESS ON VALUE-REQUEST.

FIELD vbap-zstate MODULE zzzstate_value.

module zzzstate_value input.

types: begin of ty_values,
        bland like t005u-bland,
       end of ty_values.

data: t_values type table of ty_values.

refresh t_values.
select bland from t005u
              into corresponding fields of  table t_values
                where spras = 'EN' and land1 = 'US'.

CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
  EXPORTING
    retfield               = 'BLAND'
  tables
    value_tab              = t_values[]
.

Regards,

Amal