SAP DUMP CX_SY_CONVERSION_NO_NUMBER

这篇博客讨论了一个ABAP应用程序中遇到的问题,即'2,021.04'中的逗号无法被解析为数字导致程序终止。错误源于ABAP不接受逗号作为数字分隔符。解决方案是遵循ABAP对整数和浮点数的正确表示方式,如使用'E'表示科学计数法或移除逗号。如果你的程序或修改过的SAP程序中出现类似错误,可以尝试修正错误语法。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Short Text 短文本

“2,021.04” cannot be interpreted as a number
“2,021.04” 不能被解释为一个数字

What happened 发生了什么

Error in the ABAP application program
ABAP应用程序错误

The current ABAP program had to be terminated because it found a statement that could not be executed
当前ABAP程序因为发现一条无法被执行的语句而终止

其实就是因为"2,021.04"里的金额分隔符逗号无法被ABAP解析
In fact, it is for the comma of "2,021.04" cannot be analyzed by ABAP

How To Correct The Error 如何更正此错误

Integers are represented in ABAP by a sequence of digits which can be preceded by a sign
整数在ABAP中以一系列带有符号的数字表示

Floating point numbers can be displayed in one of the following ways in
ABAP:

  • [Sign][Mantissa]E[Sign][Exponent]
    • -12E+34, +12E-34, 12E34
  • [Sign][Integer part].[Fractional part]
    • 12.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值