Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Debugging price calculation

Former Member
0 Likes
3,613

Dear all,

I have the following problem. For a particulat item in a SD document I have a wrong price calculation(rounding). I want to debug and see where exactly the program calculates the condition value times the quantity. Do you know the standard SAP function name where this calculation takes place?

BR,

1 REPLY 1
Read only

Former Member
0 Likes
1,463

You can check in FM - PRICING_DIALOG_PAI.

After this it goes thru a few customer exits - in MV45AFZZ.

1. USEREXIT_PRICING_PREPARE_TKOMK

2. USEREXIT_PRICING_PREPARE_TKOMP.

rounding problems normally occurs when you have currency typeUSDN ( it has 5 decimal places instead of two), during addition and moving the total price some percentage of error occurs. If thats what ur problem is then u ll have to adjust it programatically in the above mentioned user exits.

Hope it helps.

SKC