Symptom
Symptom (1)
You are encountering the memory dump during data extraction from CDS view. And in the CDS view DETECT DELETED RECORDS = TRUE annotation is being used like this:
@Analytics.dataExtraction.delta.byElement.detectDeletedRecords: true
Dump is as below:
Category External Error
Runtime Errors DBSQL_SQL_INTERNAL_DB_ERROR
SQL error "SQL code: 2048" occurred while accessing table "****".
| Database error number: SQL code: 2048 |
| Database error text: "SQL message: column store error: search table error: |
| [9] Memory allocation failed;exception 1000002: Allocation failed ; |
| $size$=536870000; $name$=PopExec; $type$=TempAllocator; |
| $failure_type$=STATEMENT_MEMORY_LIMIT; $failure_flag$=
Symptom (2)
ODP DTP or InfoPackage extraction from CDS View failed in BW system. In Source system side, it is found below error in the extraction job ODQR_*
Extractor initialized
Exception occurred in line 48 of include CL_RSODP_ABAP_CDS_AIMD_CURSOR=CM001 (program CL_RSODP_ABAP_CDS_AIMD_CURSOR=CP)
Exception UNCAUGHT_EXCEPTION occurred in line 1 of include CL_RSODP_ABAP_CDS_AIMD_CURSOR=CM001 (program CL_RSODP_ABAP_CDS_AIMD_CURSOR=CP)
Also in the corresponding dev trace, there was a memory overflow:
C SQLCODE : 4
C SQLERRTEXT : cannot allocate enough memory: search table error: [9] Memory allocation failed;exception 1000002: \
C Allocation failed ; $size$=xxxxxx; $name$=Results; $type$=pool; $inuse_count$=xxxx; $allocated_si\
C ze$=xxxxxxxxxxx; $alignment$=16; $failure_type$=STATEMENT_MEMORY_LIMIT; $failure_flag$=
And the CDS view has the annotation
@Analytics.dataExtraction.delta.byElement.detectDeletedRecords: true
Read more...
Environment
- Source System of BW system
- SAP R/3
- SAP R/3 Enterprise
- SAP ERP Central Component
- SAP ERP
- SAP enhancement package for SAP ERP
- SAP enhancement package for SAP ERP, version for SAP HANA
- SAP S/4HANA
- SAP BW/4HANA
- SAP NetWeaver
Product
Keywords
KBA , BC-BW-ODP , Operational Data Provisioning (ODP) and Delta Queue (ODQ) , BW-WHM-DBA-ODA , Operational Data Provider for ABAP CDS, HANA & BW , 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.