Skip to Content
0
Former Member
Apr 02, 2008 at 02:38 PM

A problem about ABAP Runtime Error

30 Views

Now i am responsible for writing a program, including an internal table, which will store 3 million Datens├Ątze.

But when ich ran this program, an error happened:

Runtime Error: TSV_TNEW_PAGE_ALLOC_FAILED

Short Text:

No more storage space available for extending an internal table.

What happened?

You attempted to extend an internal table, but the required space was not available.

CALL FUNCTION 'RRX_GRID_CMD_PROCESS' "Query ausf├╝hren

EXPORTING i_handle = g_handle

i_cmdid = 'STRT'

i_iobjnm = g_iobjnm

IMPORTING e_max_x = g_x

e_max_y = g_y

TABLES i_t_ranges = g_t_ranges

e_t_dim = g_t_dim

e_t_mem = g_t_mem

e_t_cel = g_t_cel

c_t_prptys = g_t_prptys

e_t_atr = g_t_atr

e_t_grid = g_t_grid

e_t_ranges = g_t_ranges

e_t_con = g_t_con

e_t_fac = g_t_fac

EXCEPTIONS inherited_error = 1

no_record_found = 2

terminated_by_user = 3

no_processing = 4

no_change = 5

dbcl_nosupport = 6

no_authorization = 7

x_message = 8

screen_canceled = 9

launch_url = 10

OTHERS = 11.

IF sy-subrc ne 0.

CALL FUNCTION 'DEQUEUE_E_BIW_IOBJ' EXPORTING IOBJNM = 'U_SSTMON'.

raise QUERY_RUN_ERROR.

endif.

if not p_sstmon is initial.

delete from /bic/pu_sstmon.

endif.

CALL FUNCTION 'DEQUEUE_E_BIW_IOBJ' EXPORTING IOBJNM = 'U_SSTMON'.

      • Output der Query in schlanke Tabelle mit erstem Feld 'y' umladen...

      loop at g_t_grid into wa_g_t_grid.

      i_grid-y = wa_g_t_grid-y.

      i_grid-x = wa_g_t_grid-x.

      i_grid-data = wa_g_t_grid-data.

      if i_grid-data(1) = m1. "Hochkomma entfernen

      shift i_grid-data.

      endif.

      append i_grid . Error happened hier

      endloop.

      refresh g_t_grid.

      sort i_grid by y x.

      Who could give me some suggestion to solve this problem?

      Thank you in advance.