Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

Assigning packed variable with different number of decimals

$
0
0

Hi,

 

I have problem while assigning values with different number of decimals.

I am using it in enhancement. For test program its working fine. But in

enhancement, it gives following result.

 

data : lv_b type bapicurext.

data : lv_a type netwr.

 

lv_a = 10609.70.

 

lv_b = lv_a.

 

Now in debugger its showing lv_b = 0.001060970 !!!

Here bapicurext is type P  decimals 9.

 

Regards,

 

Ashish


Viewing all articles
Browse latest Browse all 8332

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>