Skip to Content
0
Former Member
Mar 13, 2007 at 07:24 PM

Regarding ALV

10 Views

Hi,

DATA : formname_top_of_page TYPE slis_formname VALUE 'TOP_OF_PAGE'.

CALL FUNCTION 'REUSE_ALV_EVENTS_GET'

  • EXPORTING

  • i_list_type = 0

IMPORTING

et_events = i_events

EXCEPTIONS

read table i_events with key name = slis_ev_top_of_page

into l_i_event.

IF sy-subrc = 0.

MOVE formname_top_of_page TO l_i_event-form.

APPEND l_i_event TO i_events.

ENDIF.

***ERROR MESSAGE***

THE EXCEPTION "NAME" MUST BE ASSIGNED TO A NUMBER(LITERAL),

BUT "SLIS_EV_TOP_OF_PAGE"IS NOT NUMERIC.

Hoe to solve the Error?