We have added search box. Key in SAP issue keyword to search
TopBottom

Announcement: wanna exchange links? contact me at sapchatroom@gmail.com.

[sap-abap] ABAP Quantity and Currency Division

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

Posted by wnash7658 (SAP Specialist and Project Leader)
on Dec 10 at 10:11 PM
Hello,

I have a situation which seems to be familiar. I have a VOFM routine that determines the total quantity in a sales order and looks through the scale table and finds the scale that equals the scale found. I then have a VOFM routine that will apply the division of (quantity and value)to each order line item.

The problem I get is that I cannot control the fixed point arithmetic in the attributes, as it is a VOFM routine, trying to do my own arithmetic seems to always return ".01", as if SAP wants to round up a the lowest decimal point. See below:-

Qty 5
Value 4.75

Should return .95 per PC, but SAP returns .01. I have tried the old method of / 100 and even * 10000 but it still returns back to the same ".01".

Anybody know what to do?

Regards


Waza
__.____._
Copyright © 2011 Toolbox.com and message author.

Toolbox.com 4343 N. Scottsdale Road Suite 280, Scottsdale, AZ 85251
View this online
  
Popular White Papers

In the Spotlight
SAP BusinessObjects: Dashboards and Analytics. Learn more about this Toobox.com Marketplace online course.

_.____.__

0 comments:

Post a Comment

T r a n s l a t e to your language