Quantcast
Channel: SCN: Message List - Enterprise Resource Planning (SAP ERP)
Viewing all articles
Browse latest Browse all 6103

F1 for non dictonary ALV-field

$
0
0

Hello to everybody,

 

i have a report, showing an ALV. The ALV is created by the REUSE_ALV_GRID_DISPLAY function:

 

CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
     EXPORTING
        i_callback_program       = sy-repid
        i_callback_user_command  = 'USER_COMMAND'
        i_callback_top_of_page   = 'TOP_OF_PAGE'
        i_save                   = 'A'
        it_fieldcat              = lt_fieldcat
        it_sort                  = lt_sortinfo
        is_layout                = ls_layout
     TABLES
        t_outtab                 = lt_alv.


The T_OUTTAB is an internal table and contains the following field:

 

DATA: BEGIN OF ls_alv,

Ampel TYPE icon_d,

      END OF ls_alv.

 

 

DATA: lt_alv LIKE STANDARD TABLE OF ls_alv WITH HEADER LINE.


The fieldcatalog is defined like this:

 

CLEAR ls_fieldcat.

ls_fieldcat-fieldname = 'AMPEL'.

APPEND ls_fieldcat TO lt_fieldcat.

 

When i set the cursor on ALV and use the F1-key for that field, then i get 'no documentation available'. This makes sense to me, because it is no dictonaty-field. But how can i assign a F1-help for that field. At the selection-screen 'at selection-screen on help-request for <field>' works fine and is showing my SE61-text by using the function 'DSYS_SHOW_FOR_F1HELP'.

 

I do not want to create a dictonary field or table for that and i do not want to switch to oo-programming.

 

Best regards,
Heike


Viewing all articles
Browse latest Browse all 6103

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>