on 2006 Aug 02 2:52 AM
Hi,
As you all know, we can control the 'round rule' for each condition type to Commercial, Round up,or Round down by the customizing.
But to the "subitem" in the condition Tab of sales order, how to control its round rule?
For examples:
I can get the following kinds of contents
in the Condition Tab of a sales order as follows:
PR00 Price: 7.22
-
Gross Value: 7.22
Discount Amount:0.00
Rebate Basis:7.22
Net Value for Item:7.22
Net Value 2:7.22
Net Value 3:7.22
I can control the 'round rule' for the condition type PR00 in the customizing of condition type, but how to control the round rule for the Gross value, discount amount, Rebate basis, Net value for Item, Net value 2, & Net value 3....
Thanks.
HI Ren,
Apart from the price and discount all other values are just the sum of above two so why would you want to have a seperate rounding rule for those.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ren,
you can always write your own routine through VOFM for alternate condition value and assign it to the subtotals. I would still not recommend doing that.
Post an example of the data you are looking at, as for me following example is how I see it and based on that you should not need rounding for subtotals (subtotals are calculated after the rounding rules have been applied to the conditions before them).
condition amt_calc amt_w_rounding
pr00 27.655 27.66
k032 1.133 1.13
subtotal 27.79
Hope this helps, talk to the business and explain with an example. Let us know if I got this wrong with an example.
Thanks
Deep
Dear deep agnihotri,
Thank you very much for your expertise.
What I want is exactly as what you mentioned above. I want to control and assign different decimal places definition for the conditon value and subtotals respectively, could you please guide me how to make customizing step by step?
Please kindly advise.
Best Regards.
Hi Tan,
Go to T.code V/08 and select your Pricing Procedure.
For rounding at Gross Value go to Column SUB and use 9 there. now in Reqt. column may be u can copy a similar routine 13(Rounding as perT001R)
Rounding rule according to T001R
form kobed_013.
sy-subrc = 4.
check: t001r-reinh ne 0.
sy-subrc = 0.
endform.
Prestep
form kobev_013.
sy-subrc = 4.
check: t001r-reinh ne 0.
sy-subrc = 0.
endform.
I gave you an example but for this u need to develop a logic for rounding values and seek ABAP help to write a code for Pricing routine if necessary!
Try to explore here you will surely be able to solve this. Trust me...its simple!
Have fun!
Hari'
Singapore
Dear Ren,
Regarding the rounding off the value for the sub totals and Gorss value, you need to customize a routine according to the Requirement and insert it in the Pricing procedure.
Thanks and regards.
Augustine Ponraj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ren,
First of all you will have have to understand the idea that PR00 is the only condition type and the rest are not. YOu should not mix subtotals and condition types. All the conditions can have its own rounding rule. That's all the lines that have a condition type in your sales order condition tab can have one on its own.
Now, for subtotals (there will be no condition types in these lines but only description) like Gross value, net value...you may have your own requirement, formula in the pricing to round the value.
Hope it helps
Raj
Reward points if helpful
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Raj,
Thank you very much for your advice.
Yes, I can understand that "condition type" and "subtotals" are different ones, and I can control the 'round rule' for the condition type in the customizing.
My question is, how to control the "round rule" for the subtotals such as gross value, net value..., could you please tell me more detailed steps?
Thanks.
User | Count |
---|---|
115 | |
9 | |
8 | |
6 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.