Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

Scrolling large ALV gives communication error

$
0
0

Hello all,

 

In the output (screen 9000) of a report I've created a new screen serving as a 'popup' (screen 9010) triggered from a button, containing a simple ALV with a 4-column selection of a database table. The screen works fine initially and when scrolling with a small (less than ~400) number of lines. However, when a scrolling through a large dataset the SAPgui will try to load the extra lines but fails with a runtime error (see below).

 

Apparently when trying to load the extra data that is not in the initial buffer the SAPgui cannot get the extra data from the itab involved. FYI, the ALV in the normal output works fine when handling a large number of lines. Am I missing some kind of callback to the original form?

 

Cheers, Jasper

 

 

 

PBO:

 

PERFORM load_scr_alv USING lv_param.

 

FORM load_scr_alv USING pv_param.

 

<data def, selection of data, container, etc>

 

CALL METHOD go_load_scr_alv_grid->set_table_for_first_display

  EXPORTING

    i_buffer_active      = 'X'

    is_layout            = ls_layout

    it_toolbar_excluding = lt_fcode

  CHANGING

    it_fieldcatalog      = lt_fieldcat

    it_outtab            = lt_scr_alv.

ENDFORM.

 

Dump info:

 

Runtime errors         RMC_COMMUNICATION_FAILURE

Exception              CX_SY_RMC_COMM_FAILURE

 

A communication error occurred in a Remote Method Call (RMC).

 

A system exception occurred during a Remote Method Call in program

"CL_GUI_ALV_GRID===============CP ".

Since this was not intercepted and handled by the program, the ABAP

runtime environment terminated program processing.

 

The name of the system exception is RMC_COMMUNICATION_FAILURE. This

error indicates that there is a problem in the connection to the

partner system. This is typically caused by a network error or the

termination of a connection to the partner system.

 

The error occurred while processing "ON_BEFORE_SEND" ("(METHOD)").

Main program............. "MM_REPORT "             

Current program.......... "CL_GUI_ALV_GRID===============CP "    

Current include.......... "CL_GUI_ALV_GRID===============CM04Y " 

Current line............. 4                                                                               

Further details:                                                 

RFC error................ " "                                    

State of connection...... " "                                    

CPIC error............... " "


Viewing all articles
Browse latest Browse all 8332

Latest Images

Trending Articles



Latest Images

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