KONV(ECC) / PRCD_ELEMENTS(HANA)

https://answers.sap.com/questions/1939171/get-vat-from-konv.html

表: KONV(ECC)  / PRCD_ELEMENTS(HANA)

字段 :KAWRT & KBETR & KSTBS & KWERT_K & KAWRT_K

 

问题描述:同条数据,在ECC vs Hana Add on 程序上显示数据不一致。  ECC 原本显示170 的数据,S4环境上显示17。

ECC 环境自定义程序上, 从KONV表读取KAWRT & KBETR & KSTBS & KWERT_K & KAWRT_K后,/10 。举例,VL_KBETR_CHAR = VL_KBETR / 10 .

 

截图:KAWRT  & KBETR 字段

 

KBETR 字段

    

 

问题原因:

If the condition is for percentage.

 

SAP stores the value with 2 decimals in the table KONV..

But in the online screen you can enter up to 3 decimals..

Example.

-


If you enter 10.001 in the enter...The table KONV will be stored as 100.01

So to get the percentage divide the value by 10.

Thanks,

 

If you enter 10.001 in the enter...The table KONV will be stored as 100.01

So to get the percentage divide the value by 10.

 

解决方案:

 

HANA 代码 去掉/10 .

 

posted on 2022-04-25 16:23  TorranceZhao  阅读(665)  评论(0)    收藏  举报

导航