SAP Knowledge Base Article - Preview

3765089 - Analytic Query Syntax Error in CL_RSR_OLAP_VAR CONSTRUCTOR

Symptom

Following error happens when running analytic query:
Query 2C<QUERY_NAME> could not be opened.
Position in code >> Row: 38 Inc: CONSTRUCTOR Prog: CL_RSR_OLAP_VAR 
Syntax error in <GP_NAME>, row <ROW_NUM> (-> long text)
Unable to generate query <QUERY_NAME> without errors

When running the query in RSRT, a debug screen appears and shows the syntax error in the corresponding GP program:
K____<NUM1>(<LENGTH>) TYPE "080
The type of this field is not assigned correctly.

In some cases, a dump is triggered:
Runtime Errors MESSAGE_TYPE_X 
ABAP: Program SAPLRRSV
Application Component BW-BEX-OT 

"MESSAGE_TYPE_X" 
"SAPLRRSV" or LRRSVU04 
"RRSV_IN_EX_CONVERT"

Source code:
262 ELSEIF i_inttp EQ rsr_c_inttp-utclong. 
263 e_chavl_ext = i_chavl_int. 
264 ELSE.
>>>>> MESSAGE x299(brain) WITH 'SAPLRRSV' 'RRSV_IN_EX_CONVERT'. 
266 ENDIF.


Read more...

Environment

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

Product

SAP BW/4HANA 2.0 ; SAP BW/4HANA 2021 ; SAP BW/4HANA 2023 ; SAP NetWeaver 7.5 ; SAP S/4HANA 2023 ; SAP S/4HANA 2025

Keywords

KBA , BW-BEX-OT-OLAP , Analyzing Data , 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.