Entering content frameSyntax documentationonf1 Locate the document in its SAP Library structure

Use

If the user requests the F1 help for a cell, the ALV Grid Control tries to call the documentation for the associated data element. If no documentation exists (for example, because the field has no reference to the Data Dictionary), you can use this event to display a self-defined F1 help. You also have the option of overriding the default F1 help.

Note

To inform the ALV Grid Control that you use your own F1 help, set the attribute er_event_data->m_event_handled at the end of your event handling.

Event parameters

Meaning

E_FIELDNAME
TYPE LVC_FNAME

Name of the output table field for which a self-defined F1 help is to be implemented

ES_ROW_NO
TYPE LVC_S_ROID

Structure for identifying the row

ER_EVENT_DATA
TYPE REF TO
CL_ALV_EVENT_DATA

Set the attribute M_EVENT_HANDLED of this object if you have handled the event. The ALV Grid Control then suppresses the default F1 help.

 

For an overview, see Events of Class CL_GUI_ALV_GRID

 

 

 

Leaving content frame