Hi Experts ,
In Analytical View we are facing the issue when we are trying to convert Unit from
EA to KG or
KG to EA or
any where when EA is involved in Unit Conversion.
Case 1 : From KG to LB ---- > Working Fine
select CONVERT_UNIT("QUANTITY"=> billqty
, "SOURCE_UNIT_COLUMN" => 'KG'
, "SCHEMA" => ‘XXXXX'
, "TARGET_UNIT_COLUMN" => 'LB'
, "ERROR_HANDLING"=>'fail on error'
, "CLIENT" => '800') as converted
from"_SYS_BIC"."******/XX_AN_PRIM_SALE";
Result : Successfully converted
Note : billqty is a column in the analytical view XX_AN_PRIM_SALE
Case 2 : From EA to KG ------> Getting Error
select CONVERT_UNIT("QUANTITY"=> billqty
, "SOURCE_UNIT_COLUMN" => 'EA'
, "SCHEMA" => ‘XXXXX’
, "TARGET_UNIT_COLUMN" => 'KG'
, "ERROR_HANDLING"=>'fail on error'
, "CLIENT" => '800') as converted
from"_SYS_BIC"."****** /XX_AN_PRIM_SALE";
Result : We are getting the following error
Could not execute 'select CONVERT_UNIT("QUANTITY"=> billqty , "SOURCE_UNIT_COLUMN" => 'EA' , "SCHEMA" => ...' in 41 ms 877 µs .
SAP DBTech JDBC: [2048]: column store error: search table error: [2620] executor: plan operation failed;currency/unit conversion error,Conversion( "col$0$" ), row 0: could not determine valid conversion rate for value(s) 410999472.44203948974609375 from unit 'EA' to unit 'KG'
Note : We are getting the same error (Case 2 Error) even when we try to convert from KG to EA. So whenever EA is involved in the conversion we are facing the above problem.
------------------------------------------------------
Contents in T006 table for KG and EA are as given below
Contents in T006D table for KG and EA are as given below
------------------------------------------------------
HANA Server details – SPS 9
- 1.00.097.00.1434028111 (fa/newdb100_maint_rel)
------------------------------------------------------
NOTE :
- We have filled all the tables related to Currency and Unit Conversion.
- Have all the required authorization on Schema and Tables
------------------------------------------------------
Please help to resolve the issue.
Regards
Jairaj