SAP Knowledge Base Article - Preview

3326049 - Overflow in numeric calculation caused by function ABAP_NUMC

Symptom

A database error related to "Overflow" occurred, and in HANA DB indexserver trace file, you can see the following error message:  

------------------------------------------------------------------------------------------------------------------------

[1556180]\{350225\}[-1/-1] 2023-04-10 15:51:20.865918 i TraceContext     TraceContext.cpp(01269) : UserName=SAPABAP1, ApplicationUserName=OSSSAP01, ApplicationName=***, ApplicationSource=CL_SQL_STATEMENT==============CP:698, Client=100, StatementHash=<SQL_statement_hash_value>, EppRootContextId=069C9C6B048C1EDDB5F92C6F90E4F8E5, EppTransactionId=EBA6CBE2430E0600E0064232B32BFE51, EppConnectionId=00000000000000000000000000000000, EppConnectionCounter=0, EppComponentName=******, EppAction=***_20230410181119000000_1, StatementExecutionID=844438266412894
[1556180]\{350225\}[-1/-1] 2023-04-10 15:51:20.865887 e SERVER_TRACE     TRexApiSearch.cpp(09387) : cannot execute plan, query: <some_calculation_view_name>
[1556180]\{350225\}[-1/-1] 2023-04-10 15:51:20.865936 e SERVER_TRACE     TRexApiSearch.cpp(09388) : IndexID: <SID>::SAPABAP1:#JE_L:34_4618441417875397208 (t -1), rc = 6944, AttributeEngine: overflow in numeric calculation;exception 70006944: AttributeEngine: overflow in numeric calculation;
...
[here]abap_numc(decfloat(fixed(round(decfloat("<table_column_name>"), 0), 9, 0)), 4) -> "__expr15"[string], ...

------------------------------------------------------------------------------------------------------------------------ 

Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.


Read more...

Environment

HANA Database  2.0 SPS 01 and higher releases

Product

SAP HANA, platform edition 2.0

Keywords

ABAP_NUMC, DECFLOAT, overflow in numeric calculation, TRexApiSearch.cpp,  cannot execute plan , KBA , HAN-DB , SAP HANA Database , 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.