Skip to Content
0
Former Member
May 17, 2008 at 04:56 AM

'F4IF_FIELD_VALUE_REQUEST' not returning value to screen

192 Views

Hi all,

I have a field t_matnr(18) type c on a screen and i am trying to get a F4 help for that.

I am getting the F4 help and when i select a record the field in the screen is not getting populated

Let me know

Here is my code

call function 'F4IF_FIELD_VALUE_REQUEST'

exporting

tabname = 'MARA'

fieldname = 'MATNR'

  • SHLPPARAM = ' '

dynpprog = 'SAPMZSRI'

  • dynpnr = dynnum

DYNPROFIELD = 'T_MATNR'

  • STEPL = 0

  • VALUE = ' '

  • MULTIPLE_CHOICE = ' '

  • DISPLAY = ' '

  • SUPPRESS_RECORDLIST = ' '

  • CALLBACK_PROGRAM = ' '

  • CALLBACK_FORM = ' '

  • EXCEPTIONS

  • FIELD_NOT_FOUND = 1

  • NO_HELP_FOR_FIELD = 2

  • INCONSISTENT_HELP = 3

  • NO_VALUES_FOUND = 4

  • OTHERS = 5

.

if sy-subrc <> 0.

  • MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

  • WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

endif.

Thanks