Announcement:
wanna exchange links? contact me at sapchatroom@gmail.com.
Posted by
Admin at
Wnash, For future reference, you can resolve the problem by setting up a work field as type f to receive the results of the calculation. Then move the work field to your xkomv-kbetr. like this Data: w_kbetr type f. w_kbetr = ( your calc without all the adjustments of *1000 etc) xkomv-kbetr = w_kbetr. The type f is floating point. It keeps track of where the decimal is supposed to be. Then when you move it back to the fixed decimal point the answer is correct. Hope this helps Ellie
| | | ---------------Original Message--------------- From: Warren Nash Sent: Sunday, December 11, 2011 10:07 PM Subject: ABAP Quantity and Currency Division Sorry, I have seemed to solve it just now. XKOMV-KBETR = ( KONM-KBETR * 1000 / I_AEMENGE * 1000 ) / 10000. returns a value of .95 which is correct. Regards Waza | | __.____._ Copyright © 2011 Toolbox.com and message author. Toolbox.com 4343 N. Scottsdale Road Suite 280, Scottsdale, AZ 85251 | | epalmer SAP ABAP Helper
Posted helpful replies on 5 threads in a group to earn a Bronze Achievement Popular White Papers In the Spotlight SAP BusinessObjects: Dashboards and Analytics. Learn more about this Toobox.com Marketplace online course. _.____.__ |