SAP Knowledge Base Article - Preview

2913079 - ODP Extraction by Context ABAP_CDS - Exception occurs in CL_RSODP_ABAP_CDS_AIM_CURSOR

Symptom

1. During the data extraction by ODP context ABAP_CDS (E.g. ABAP_CDS/Z_FLIGHT_SQL$F), the following error occurs in the log of extraction ODQR* job:

Exception  occurred in line 43 of include CL_RSODP_ABAP_CDS_AIM_CURSOR==CM003 (program CL_RSODP_ABAP_CDS_AIM_CURSOR==CP)
Exception UNCAUGHT_EXCEPTION occurred in line 1 of include CL_RSODP_ABAP_CDS_AIM_CURSOR==CM003 (program CL_RSODP_ABAP_CDS_AIM_CURSOR==CP)

Meanwhile, the trace of the corresponding work process shows the log around the time when the exception occurs:

A  *** ERROR => User ALEREMOTE     reached avail. heapsize = 3728 MB: see ST22, increase abap/heap_area_total [abstor.c     2022]
A  heap memory held by WPnn: 648 MB
[dbsdbsql.cpp 2204]
C *** ERROR => FETCH C_0107 on connection 0, rc=591
C SQLERRTEXT : internal error
B  ***LOG BY4=> sql error 591    performing FET on table xxxxxx [dbdbslst     4609]
--> xxxxxx is the DDL name of the SQL view Z_FLIGHT_SQL. See view SODPABAPCDSVIEW, the column SQLVIEWNAME and DDLNAME.

OR

C  *** ERROR =>   execute() of C_0815, #rec=0, rc=1, rcSQL=4
 [dbsdbsql.cpp 2315]
C  {root-id=00224868EF3E1FE1969AB471EBD25257}_{conn-id=00000000000000000000000000000000}_0
C  *** ERROR => EXECUTE C_0815 on connection 0, rc=4
 [dbslsdb.cpp  10037]
C  SQLCODE    : 4
C  SQLERRTEXT : cannot allocate enough memory: search table error:  [9] Memory allocation failed;exception 1000002: \
C               Allocation failed ; $size$=5453284352; $name$=Results; $type$=pool; $inuse_count$=52; $allocated_siz\
C               e$=128088276960; $alignment$=8; $failure_type$=STATEMENT_MEMORY_LIMIT; $failure_flag$=

2. In the HANA indexserver trace file, there's message like this:

Composite limit violation (OUT OF MEMORY) occurred


Read more...

Environment

  • SAP NetWeaver
  • SAP BW/4HANA
  • SAP S/4HANA

Product

SAP BW/4HANA all versions ; SAP NetWeaver all versions ; SAP S/4HANA all versions

Keywords

SQLCODE 591, ABAP Core Data Services, error(591), rcSQL=4, rc=4,  SQLCODE    : 4,  , KBA , BC-BW-ODP , Operational Data Provisioning (ODP) and Delta Queue (ODQ) , HAN-DB-CDS , SAP HANA Activation of HDBDD-files (CDS Definitions) , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.