Skip to Content
0
Former Member
Jul 16, 2008 at 04:26 PM

F4 on OO ALV - after I choose a valid entry, I get error popup

352 Views

I have 3 fields for which I have defined F4 help in my ALV - Quote Source, Quote Type, and Quote Number.

The first 2 fields seem to work fine. But, after I choose my entry in my "Quote No" popup, I get a message stating:

Quote No Entry B0045 does not exist in OICQC (check entry)

However, I know the values I choose exist - I can go to table OICQC and plug them in.

I have specified F4 availability in my field catalog as such:

  CLEAR ls_fieldcatalog.
  ls_fieldcatalog-fieldname  = 'QUOSRC'.
  ls_fieldcatalog-reptext  = 'Qt Src'(002).
  ls_fieldcatalog-colddictxt = 'R'.
  ls_fieldcatalog-col_pos    = 2.
  ls_fieldcatalog-edit       = 'X'.
  ls_fieldcatalog-f4availabl = 'X'.
  ls_fieldcatalog-ref_table = 'OICQST'.
  ls_fieldcatalog-ref_field = 'QUOSRC'.
  APPEND ls_fieldcatalog TO fieldcatalog.

  CLEAR ls_fieldcatalog.
  ls_fieldcatalog-fieldname  = 'QUOTYP'.
  ls_fieldcatalog-reptext  = 'Qt Type'(003).
  ls_fieldcatalog-colddictxt = 'R'.
  ls_fieldcatalog-col_pos    = 3.
  ls_fieldcatalog-edit       = 'X'.
  ls_fieldcatalog-f4availabl = 'X'.
  ls_fieldcatalog-ref_table = 'OICQTT'.
  ls_fieldcatalog-ref_field = 'QUOTYP'.
  APPEND ls_fieldcatalog TO fieldcatalog.

  CLEAR ls_fieldcatalog.
  ls_fieldcatalog-fieldname  = 'QUOTNO'.
  ls_fieldcatalog-reptext  = 'Qt No'(004).
  ls_fieldcatalog-colddictxt = 'R'.
  ls_fieldcatalog-col_pos    = 4.
  ls_fieldcatalog-edit       = 'X'.
  ls_fieldcatalog-f4availabl = 'X'.
  ls_fieldcatalog-ref_table = 'OICQCT'.
  ls_fieldcatalog-ref_field = 'QUOTNO'.
  APPEND ls_fieldcatalog TO fieldcatalog.

Again, the first 2 work fine.

any ideas?

thanks,

rp.