SAP Knowledge Base Article - Preview

3569517 - DBSQL_SQL_INTERNAL_DB_ERROR dump in QUERY_XREF_TARGET_VIEW_NO_REQ method from CL_RSPM_PERSISTENCY_STANDARD

Symptom

The following dump can happen while opening an ADSO in RSMNG transaction or during a process chain execution:

Category               External Error
Runtime Errors      DBSQL_SQL_INTERNAL_DB_ERROR
Except.                 CX_SY_OPEN_SQL_DB

Short Text
    SQL error "SQL code: 4" occurred while accessing table "RSPMXREF".

"DBSQL_SQL_INTERNAL_DB_ERROR" CX_SY_OPEN_SQL_DB                                               
"CL_RSPM_PERSISTENCY_STANDARD==CP" bzw. CL_RSPM_PERSISTENCY_STANDARD==CM01B                  
"IF_RSPM_QUERY_RETRIEVE~QUERY_XREF_TARGET_VIEW_NO_REQ" 

Also, by collecting a ST12 trace for the respective process, it shows the worst SQL similar to:

SELECT DISTINCT <AGGREGATE> <JOIN> WHERE "P" . "PROCESS_TYPE" = ? AND "P" . "PROCESS_ID" = ? AND "X" . "REQUEST_TSN" <> N'000000
Tables: RSPMXREF, RSPMREQUEST, RSPMPRO
Class: CL_RSPM_PERSISTENCY_STANDARD==CM018


Read more...

Environment

  • SAP NetWeaver BW;
  • SAP BW/4HANA.

Product

SAP BW/4HANA all versions ; SAP Business Warehouse all versions ; SAP NetWeaver all versions

Keywords

RSMNG, CL_RSPM_PERSISTENCY_STANDARD==CP, IF_RSPM_QUERY_RETRIEVE~QUERY_XREF_TARGET_VIEW_NO_REQ, RSPMXREF, RSPM_DELETE_UNNEEDED_XREF  , KBA , BW4-DM-RSPM , Request Status and Process Management , BW-WHM-DST-RSPM , BW Request Status and Process Management , 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.