Application Development 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: 

'F4IF_INT_TABLE_VALUE_REQUEST'

Former Member
0 Kudos

Hi.

Wher e is introduced the code for call function 'F4IF_INT_TABLE_VALUE_REQUEST' for a field of a dynpro.

Thanks.

6 REPLIES 6

Former Member
0 Kudos

Hi,

For Selection Screen--> Event <b>At Selection Screen On <Field></b>

For Screen --> Event Process On Value Request (<b>POV</b>)

Regards,

Ranjit Thakur.

<b>Please Mark The Helpful Answer.</b>

Former Member
0 Kudos

Hi,

Use this FM in Process on value request event.

PROCESS ON VALUE-REQUEST.
  FIELD D0200_FIELD_TAB-BUFFER MODULE D0200_VALUE_REQU.

MODULE d0200_value_requ.
"call the FM here.
      CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
           EXPORTING
               tabname             = tabname
               fieldname           = fname
*            SEARCHHELP          = ' '
*            SHLPPARAM           = ' '
*            dynpprog            = progname
*            dynpnr              = dynnr
*            dynprofield         = ' '
*            stepl               = dynp_stepl
               value               = value_bef_f4
*            MULTIPLE_CHOICE     = ' '
*            DISPLAY             = ' '
*            SUPPRESS_RECORDLIST = ' '
               callback_program    = progname
               callback_form       = 'CALLBACK_F4'
          TABLES
               return_tab          = return_tab
          EXCEPTIONS
               field_not_found     = 1
               no_help_for_field   = 2
               inconsistent_help   = 3
               no_values_found     = 4
               OTHERS              = 5.
....
........
..........
ENDMODULE.                    "d0200_value_requ

Regards,

Kate

Former Member
0 Kudos

Hi,

Please check the link below.

If it was of help please reward points.

regards,

raksha

Former Member
0 Kudos

It is written in the

At Selection-screen on value-request for p_field.

For eg.,if you want a hewlp for the parameter P_MATNR,

Put

AT SELECTION_SCREEN on VALUE_RQUEST for P_MATNR.

Then call the FM.

The control will come here once you take F4 on this field.

former_member673464
Active Contributor
0 Kudos

hi...

Check the demo program <b>DEMO_DYNPRO_F4_HELP_MODULE</b>

regards,

veeresh

Former Member
0 Kudos

Hi,

check this

AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_mtart-low .

select all material types you want to display in search help into table i_mtart.

PERFORM help_material_type.

&----


*& Form help_material_type

&----


  • text

----


  • --> p1 text

  • <-- p2 text

----


FORM help_material_type .

CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'

EXPORTING

  • DDIC_STRUCTURE = ' '

retfield = 'MTART'

  • PVALKEY = ' '

dynpprog = sy-cprog

dynpnr = sy-dynnr

dynprofield = 'S_MTART-LOW'

  • STEPL = 0

  • WINDOW_TITLE =

  • VALUE = ' '

value_org = 'S'

  • MULTIPLE_CHOICE = ' '

  • DISPLAY = ' '

  • CALLBACK_PROGRAM = ' '

  • CALLBACK_FORM = ' '

  • MARK_TAB =

  • IMPORTING

  • USER_RESET =

TABLES

value_tab = i_mtart

  • FIELD_TAB =

  • RETURN_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.

ENDFORM. " help_material_type

Don't forget to reward if useful...