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

MARM-UMREZ issue

$
0
0

Hi

 

Using MARM -UMREZ  (numerator for base Unit of measure ) in the following formulae

 

  lv_value = qty1 MOD MARM-UMREZ  . Internally umrez is a dec field so its being displayed as comma separated value. Eg : in table MARM value displayed as 30. But when used in above formulae , its being used as decimals only i.e 0.030.

 

Please let me know if this value can be converted to Packed Data type. As the requirement is to consider UMREZ as whole number.

 

Eg : consider quantity as 245.00

                     umrez  as : 30

                     remainder = 4

 

In the above explained situation its resulting teh remainder as : 10 (as umrez is a decimal value  , therefore calculation internally as : 245.00 MOD 0.030).

Alreday researched but couldnot find a conversion ffunction for the purpose og multiplying UMREZ into packed value.

 

Any suggestions will be beneficial..

 

thanks

pradosh


Viewing all articles
Browse latest Browse all 8332

Trending Articles



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