Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

getting short dump while downloading output into excel format

Former Member
0 Kudos

Hi All,

I have one alv report. When i download its output into excel format i am getting short dump. But the report can be downloaded in the excel format for less number of line items.

Error analysis is as below :

Error analysis

The program "SAPLSLVC_FULLSCREEN " is meant to execute an external PERFORM,

namely the routine "TOP_OF_PAGE " of the program "ZRC011_PROD_HRS_VARIANCE ",

but

this routine does not exist.

This may be due to any of the following reasons:

1. One of the programs "SAPLSLVC_FULLSCREEN " or "ZRC011_PROD_HRS_VARIANCE " is

currently being developed.

The name "TOP_OF_PAGE " of the called routine may be incorrect, or

the routine "TOP_OF_PAGE " is not yet implemented in the program

"ZRC011_PROD_HRS_VARIANCE ".

-

2. If the program SAPMSSY1 is involved in the runtime error, one of

the function modules called via RFC is not flagged as remote-capable.

(see Transaction SE37 Goto -> Administration -> RFC flag)

3. There is an inconsistency in the system. The versions of the

programs "SAPLSLVC_FULLSCREEN " and "ZRC011_PROD_HRS_VARIANCE " do not match.

can u tell me what i need to do ???

9 REPLIES 9

mvoros
Active Contributor
0 Kudos

Hi,

your report is trying to call subroutine TOP_OF_PAGE for each new page. So if you don't need this subroutine then just get rid of it. For example if you use FM REUSE_ALV_LIST_DISPLAY then what do you have in the table IT_EVENTS. This table contains subroutines for various events. You should get rid of line for event TOP_OF_PAGE. Otherwise you need to implement it that subroutine in your program.

Cheers

Former Member
0 Kudos

Martin,

Thnx for your reply...

If i comment top-of-page event in the report, will problem be solved ?

mvoros
Active Contributor
0 Kudos

The question is that do you want to process that event? If not, then just comment it out.

Cheers

Former Member
0 Kudos

Hi,

No the problem will not be solved....

You will have to check the events internal table which contains the events name and the subroutine to be called... just check if any of the routines name in the events internal table contains TOP_OF_PAGE.... this you will have to check in debugging mode..... if the entry exists and if you dont want to implement that event then through coding you can delete that entry...

other wise.... as of now for not getting any shortdump...

just write

FORM TOP_OF_PAGE.
"  Empty
ENDFORM.

Regards,

Siddarth

Former Member
0 Kudos

There is no need to process that event ...but my question is, once i comment the event top_of_page i won't get that short dump and data will properly downloaded into excel format ??

Former Member
0 Kudos

Hi,

did you try the solution I have given above....

Regards,

Siddarth

Former Member
0 Kudos

yes tried ...and i commented below subroutine....

FORM e03_eventtab_build USING e03_lt_events TYPE slis_t_event.

DATA: ls_event TYPE slis_alv_event.

CALL FUNCTION 'REUSE_ALV_EVENTS_GET'

EXPORTING

i_list_type = 0

IMPORTING

et_events = e03_lt_events.

READ TABLE e03_lt_events WITH KEY name = slis_ev_top_of_page

INTO ls_event.

IF sy-subrc = 0.

MOVE gc_formname_top_of_page TO ls_event-form.

APPEND ls_event TO e03_lt_events.

ENDIF.

READ TABLE e03_lt_events WITH KEY name = slis_ev_user_command

INTO ls_event.

IF sy-subrc = 0.

MOVE G_USER_COMMAND TO ls_event-form.

APPEND ls_event TO e03_lt_events.

ENDIF.

ENDFORM.

Former Member
0 Kudos

Hi,

Instead of commenting this subroutine....

Just comment this piece of code in this subroutine and check if you are getting the dump again...

READ TABLE e03_lt_events WITH KEY name = slis_ev_top_of_page
INTO ls_event.
IF sy-subrc = 0.
MOVE gc_formname_top_of_page TO ls_event-form.
APPEND ls_event TO e03_lt_events.
ENDIF.

Regards,

Siddarth

Former Member
0 Kudos

Hi,

Check the event TOP_OF_PAGE.

class lcl_event_receiver definition.
     methods:
    handle_top_of_page
        for event print_top_of_page of cl_gui_alv_grid,
endclass. 

" Check impletmentation exists for the Top-of-page event
class lcl_event_receiver implementation.
  method handle_top_of_page.
  " Top of page
  endmethod.   
endclass.

Or

If you are using the FM check the 
  I_CALLBACK_TOP_OF_PAGE            = 'TOP_OF_PAGE'

Then there should be Form implementation..
FORM TOP_OF_PAGE.

ENDFORM.