Skip to Content
0
Former Member
Feb 07, 2008 at 10:02 AM

search help in alv grid

13 Views

I require a calendar to be displayed as f4 help for date fields and a standard sap search help 'PLOM' to be displayed as a search help for OBJID field.

I have given the following code in my field catalogues,

gs_fcat1-fieldname = 'BEGDA'.

gs_fcat1-ref_table = 'hrp1001'.

gs_fcat1-reptext = 'Start'.

gs_fcat1-coltext = 'Start'.

  • gs_fcat1-ref_field = 'BEGDA'.

gs_fcat1-edit = 'X'.

  • gs_fcat1-key = 'X'.

  • gs_fcat1-DATATYPE = 'SY-DATUM'.

  • gs_fcat1-F4AVAILABL = 'X'.

gs_fcat1-outputlen = '8'.

APPEND gs_fcat1 TO gt_fcat1.

gs_fcat1-fieldname = 'SOBID'.

gs_fcat1-ref_table = 'zit9004'.

gs_fcat1-reptext = 'ID'.

gs_fcat1-coltext = 'ID'.

gs_fcat1-edit = 'X'.

  • gs_fcat1-key = 'X'.

gs_fcat1-F4AVAILABL = 'X'.

gs_fcat1-outputlen = '8'.

APPEND gs_fcat1 TO gt_fcat1.

but on clicking the search help am getting a run time error stating

'FIELD SYMBOL NOT YET BEEN ASSIGNED'.

please help me.....