Skip to Content
avatar image
Former Member

Function module to calculate net value (quantity * net price)

Hi Gurus,

Here I need a help to avoid short dump I get when I try to calculate net value.


We have a requirement to set a scale price with referring to the total quantity in the document where the customer material is same.

We've been successful to set an appropriate condition amount to XKOMV-KBETR.

However, the net value (KOMP-NETWR) and condition value (XKOMV-KWERT) is still to be calculated with referring to the item quantity scale price.

Here we need to calculate net value and condition value as well appropriately.


Scale price for item quantity (1,000EA) is 6,000.

But the amount has been overwritten by 5,000 which is the scale price for header quantity (3,000EA).

However, as you can see, the condition value is calculated as (6,000 * 0.9) * 1,000.


We are trying to calculate the appropriate net value under LV61AA55.

But when we do net price * quantity, the program goes short dump.

Note that the net price has been calculated by CONVERT_TO_LOCAL_CURRENCY.

Is there any function module for net value calculation to avoid the short dump?

Or does anyone know any other way to cator our requirement?

Your help would be much appreciated.

Best Regards,


item condition.PNG (11.7 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Dec 19, 2014 at 08:18 AM


    The problem has been solved.

    Best Regards,


    Add comment
    10|10000 characters needed characters exceeded