SAP Knowledge Base Article - Preview

3844937 - ASSERTION_FAILED dump when running CDS query in RSRT after upgrading to SAP S/4HANA Cloud Private Edition 2025

Symptom

  • After upgrading to S/4HANA Cloud Private Edition 2025, running a CDS query in transaction code RSRT ends with following dump:
    Category               ABAP programming error
    Runtime Errors         ASSERTION_FAILED
    ABAP: Program          CL_RSRTS_CDS_QUERY_TRANSFORM==CP
    Application Component  BW-BEX-OT 

    |   40 METHOD       CL_RSRTS_CDS_QUERY_TRANSFORM==CP    CL_RSRTS_CDS_QUERY_TRANSFORM==CM004   155  |
    |      CL_RSRTS_CDS_QUERY_TRANSFORM=>TRANSFORM                                                     |
    |   39 METHOD       CL_RSRTS_CDS_QUERY_GENERATOR==CP    CL_RSRTS_CDS_QUERY_GENERATOR==CM003    35  |
    |      CL_RSRTS_CDS_QUERY_GENERATOR=>GENERATE                                                      |
    |   38 METHOD       CL_RSRTS_CDS_QUERY_GENERATOR==CP    CL_RSRTS_CDS_QUERY_GENERATOR==CM00I     8  |
    |      CL_RSRTS_CDS_QUERY_GENERATOR=>GET_QUERY_TEXTS_AND_EXIT_VARS                                 |
    |   37 METHOD       CL_RSRTS_CDS_VAR_EXIT_CONTEXT=CP    CL_RSRTS_CDS_VAR_EXIT_CONTEXT=CM002   101  |
    |      CL_RSRTS_CDS_VAR_EXIT_CONTEXT=>GET_CONTEXT_FOR_QUERY                                        |

  • The issue occurs when the CDS query uses following annotations:
    -----------------------------------------------------
    @AnalyticsDetails.query.displayHierarchy:#OFF 
    @AnalyticsDetails.query.hierarchyBinding : [
    {type :#ELEMENT,value :'ElementName'},
    {type :#CONSTANT,value :'#'}
    ] 
    -----------------------------------------------------


Read more...

Environment

SAP S/4HANA Cloud Private Edition 2025

Product

SAP S/4HANA Cloud Private Edition all versions

Keywords

ASSERTION_FAILED, CL_RSRTS_CDS_QUERY_TRANSFORM, BICS, CDS analytical query, hierarchy binding, S/4HANA upgrade, CDS hierarchy , KBA , BW-BEX-OT-ODP , Query Runtime for Operational Data Provisioning , 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.