Вы находитесь на странице: 1из 7

Reverse Calculation in Pricing Procedure Hi All, My client requirement is to calculate the PR00 from the TOTAL and TAX

i.e. If we enter the TOTAL some amount and TAX 12.5% VAT in the Pricing Condition then it should calculate the d Basic Price PR00 . Tanks and regards, Bala Correct Answer by ramanathan raja on Apr 8, 2009 6:07 PM Yes Bala The system response is very correct Normally for a material if the price is Rs 100 and tax is 4 % then the tax amt will be 100 x 4/100 that is Rs 4 so the total would be Rs 104 and tax amt would be Rs 4 If you take the calculation type as H that is % included that means your price Rs 100 is inclusive of 4 % tax and this calculation is reperesented in a calculator by 100/1.04 = 96.15 and the actual tax here is 3.85 not Rs 4 This is what is happening to you 100/ 1.125 =88.88 and the rest is tax that is 11.12 This is what is reverse calculation Normal tax 4% on Rs 100 is Rs 4 Reverse calculation tax 4% on Rs 100 is not Rs 4 it is 3.85 Your pricing procedure should have PR00 at step 10 and MWSI at step 20 and there should be step 30 which will not have any condition type but description as total and in that from and to to be mentiones as 10 and 10 This will reflect PR00 as Rs 100 Tax will be 12.5 % included that is Rs 11.12 So total also Rs 100 This is the correct way of representing it If you dont mention from and to as 10 and 10 there your total will be 100 +11.12 =111.12 This is what is happening to you as you havent mentioned step nos there Regards Raja May be if you bring down your PR00 to the last step and assign "From-To" accordingly, you may achieve which I am not sure. In fact, in V/06, for PR00, what would you maintain for the field "Manual entries" and also in pricing procedure ?? thanks G. Lakshmipathi Thanks for immediate reply, Client will Tell the Selling Price, system should calculate the PR00 and VAT 12.5 from it in the Pricing Thnks and Regards, Bala If you can list out what are all the condition types (like discount etc.,) the client would be having in pricing procedure, may be I will try to propose a suggestion. thanks G. Lakshmipathi I am using PR00,MWST,TOTAL i maintained this in a simple procedure thats it it should calculate from total, pr00 and mwst 12.5% Hi This is possiible in standard If the PR00 of a material is Rs 100 and the VAT 12.5 % is to be included in this Rs 100 That means Rs 100 includes VAT then the actual PR00 will be Rs 88.88 This calculation if you have to bring into SAP then your MWST condition type which repersent VAT should have calculation type as H that is % included After making the changes in your condition type MWST create fresh condition record and create sales order and see Note If you put your hand in any of the controls of the condition type like changing the calculation type you need to create fresh records then only the changes will be effective If new condition records are not created then the system will behave in the earlier way only As all others said if you have many condition types in your pricing procedure then FROM and TO also plays a major role But the basic setting is calculation type as H that is % included SAP standards has given MWSI for this purpose only If you use MWSI instead of MWST you can achieve this as MWSI's calculation type in standard is H Regards Raja Hi, as you told iam using MWSI its calculating a amount i dont know from were its picking up ex, pr00 100 mwsi 11.11 (12.5%)maintained in condition record so it shiuld be 12.5 but it is calculating 11.11 ) tot 111.11

how it is calculating this amount pls Yes Bala The system response is very correct Normally for a material if the price is Rs 100 and tax is 4 % then the tax amt will be 100 x 4/100 that is Rs 4 so the total would be Rs 104 and tax amt would be Rs 4 If you take the calculation type as H that is % included that means your price Rs 100 is inclusive of 4 % tax and this calculation is reperesented in a calculator by 100/1.04 = 96.15 and the actual tax here is 3.85 not Rs 4 This is what is happening to you 100/ 1.125 =88.88 and the rest is tax that is 11.12 This is what is reverse calculation Normal tax 4% on Rs 100 is Rs 4 Reverse calculation tax 4% on Rs 100 is not Rs 4 it is 3.85 Your pricing procedure should have PR00 at step 10 and MWSI at step 20 and there should be step 30 which will not have any condition type but description as total and in that from and to to be mentiones as 10 and 10 This will reflect PR00 as Rs 100 Tax will be 12.5 % included that is Rs 11.12 So total also Rs 100 This is the correct way of representing it If you dont mention from and to as 10 and 10 there your total will be 100 +11.12 =111.12 This is what is happening to you as you havent mentioned step nos there Regards Raja Thanks a Ton Raja, As what you suggest its working fine but in Billing Accounting Document its calculating the Net Value +Tax is Debited to customer A/C Domestic Customer Reconciliation ..... Pr00 100 MWSI 3.85 TOTAL 100 Now The Total (100) Should be in the Reconciliation Acc in Billing Accounting Document but the value is 103.85 was debited to the customer pls correct how to bring only 100 to the Billing Accounting Document and also My requirement is the TOTAL amt should be 100, PR00 should be 96.15 and MWSI should be 3.85 PR00 96.15 MWSI 3.85 TOTAL 100.00 How to Configure this in the PRICING Hi Thanks for understanding the explanation given earlier and this an interesting qn I am giving herewith a document on MRP pricing procedure (you need to understand this and make the settings) This is same as your requirement but additionally it has an discount which you can ignore for yours Go through the following: I will brief your requirement in short MRP = 1012.5/VAT = (1012.5/1.125) = 900/so price before discount will be = 900/discount given at the rate of 10% = 100/Initial Price = 1000/-. 1. Create condition types as below: ZR00 for price Condition class = B Calculation type = C Plus/minus = A ZSET for settlement (to knock off the effect of ZR00) Condition class = A Calculation type = C Plus/minus = X ZWST for tax Condition class = A Calculation type = H Condition category = D Plus/minus = X Z007 for discount Condition class = A Calculation type = H Plus/minus = A ZDUM for net price Condition class = A

Calculation type = A Plus/minus = A YWST for tax (to knock of the previous effect - to be used for posting to G/L) Condition class = A Calculation type = A Plus/minus = X YOO7 for discount (to knock of the previous effect - to be used for posting to G/L) Condition class = A Calculation type = A Plus/minus = X 2. The following will be the pricing procedure configuration: Step......No........Cond Type........... From.........to..........Man.........Req........Sta................Acc Key 10........0..............ZR00..................--..........--..........-...........-........---.................ZDU 20........0..............ZWST..................10............19...........----.............X............X................... 30........0.............text.......................10...........29...........---...........----.........X 40........0.............Z007.....................30...........39...........-----.............X............X 50........0..............text.....................30............49...........---...........-----.........X 60........0............ZSET.....................10...........19...........----............X............--.................ZDU 70........0............ZDUM....................50...........59...........----............X............---...............ERL 80........0............Y007.....................40...........49...........----.............X...........---...............ERS 90.......0..............YWST..................20...........29...........-----............X...........---................ZWS ZDU - dummy account key for posting extra not required items. ERL - account key for price ERS - account key for discount ZWS - account key for tax. 3. Condition records in VK11 Condition type---Condition record....... ZR00........................................1012.5.....................INR will be positive ZSET.......................................100%...............................will be negative ZWST.......................................10%................................will be negative Z007.........................................12.5%.............................will be positive ZDUM.......................................100%..............................will be positive Y007.........................................100%.............................will be negative YWST.......................................100%.............................will be negative Condition records for Z007 & ZWST will be decided as per the conversion required. You will first have to manually calculate the amount for the condition type. 4. I create a sales order for single quantity for an item & the pricing will be as under: ZR00 = 1012.5 (dummy account) - positive ZSET = 1012.5- (dummy account) - negative will knock off effect of ZR00 ZWST = 112.5- (negative & no posting) Z007 = 100 (positive & no posting) ZDUM = 1012.5 (positive & posting) Y007 = 100-(negative & posting) YWST = 112.5 (positive & posting) If still your scenario is not getting mapped then you can go to your ABAPer and he will develop a alternate base value formula to correct the calculations Regards Raja Thanks Raja for your Given Effort it was very use full, How i configure is 10 0 ZPAS........MRP 20 0 ZZSI..........Reversal output.....10.....................MWS 30 0.................Copy of MRP......... 10 40 0 ZDEM.......Tax for revers.........20 50 0.................Price......................30 40 60 0 ZR00.........Reversal................50......................ERL Note: ZDEM is 100% copy of ZZSI ZR00 is 100% of Price to Update in the Accounting Document ZZSI is copy of MWSI ZPAS is Price Thanks Again To All For the Great Support Hi Bala

In your pricing procedure , maintain PR00 ctype after TOTAL and TAX . And when you assign PR00 ctype after TOTAL and TAX then maintain From and To steps for PR00 ctype. Second option is to maintain PR00 ctype at the top level asususal only and assign a new requirement telling that PR00 ctype has to be calculated after TOTAL and TAX Regards Srinath Backward Price calculation in SAP SD Pricing Procedure Dear All, My client is having two pricing scenarios. One forward and another backward. Forward pricing is what we normally use in SAP SD. I have designed the forward procedure and it is working just fine. Am stuck at exactly replicating it in the reverse calculation procedure. Forward Procedure: Condition Types: ZPR1 u2013 Base Price (CondClass=B,Calculat.type=C, CondCat = blank) u2013 Manual user entry in pricing ZDS1 u2013 Discount (CondClass=A,Calculat.type=A, CondCat = blank) u2013 Manual User entry in pricing ZBV1 u2013 VAT Base Price (CondClass=A,Calculat.type=A, CondCat = blank) u2013 Condition Record ZBS1 u2013 Ser Tax Base Price (CondClass=A,Calculat.type=A, CondCat = blank) u2013 Condition Record ZVT1 u2013 VAT (CondClass=D,Calculat.type=A, CondCat = D) u2013 Condition Record ZST1 u2013 Ser Tax (CondClass=D,Calculat.type=A, CondCat = D) u2013 Condition Record Pricing Sequence: Step CndTyp From To Statistical Req CalTyp BaseTyp 10 ZPR1 2 20 ZDS1 10 2 30 Base1 10 20 40 ZBV1 30 X 50 ZBS1 30 X 60 Base2 3 70 ZVT1 40 10 80 ZST1 50 10 90 Total 60 80 Example Calculation: ZPR1 = Rs 100 ZDS1 = 0 Base1 = Rs100 ZBV1 = Rs70 (@70%) ZST1 = Rs33 (@33%) Base2 = Rs100 ZVT1 = Rs 2.80 (@4%) ZST1 = Rs 3.40 (@10.3%) Total = Rs106.20 Now I want to built a reverse procedure in which the end user will enter only Rs 106.20 as the final price and system to reverse calculate like above. The sequencing doesnu2019t matter. Only the values determined for Base Price, ZVT1 and ZST1 matter. I have referred to one of the standard pricing procedures in SAP IDES u201CVKP001u201D. This is based on the reverse pricing concept. But it is a very elementary procedure as compared to what I need. Please suggest accordingly. For this, you will have to develop a routine and assign it to the calculation type against the VAT calculation. The routine will fetch the data from the entered value and determine the correct values. Regards, Aroop I want to keep the routine developments as the last option, if i don't get any solution using the standard. Anyways, thanks for the prompt response. Hi, Use JASS, copy this condition type and create ZASS (Accesable value, this is percentage based calculation.) now create access sequence ZASS and assign a table to this access sequence. Create a table with the combination of say, plant + Price list. In price list create two options A - tax exclusive and B-Tax Inclusive. Taking example suppose i am selling materail X at the rate of 100 Rs including say Tax (tht is VAT / CST 4 % included). So using the formula, 100/104 % will give me the base price that is Rs 96.15 is my base price and 3.85 is my Tax value so Rs 96.15 + 3.85 = 100 Rs this is what i am quoting. Now create a condition record for plant + price list. here maintian the values as, in VK11, plant code 1000

When the price list is A maintain the condition record as 100 % When the price list is B maintian the condition record as 96.15 % Now create your pricing procedure, Step From To 10 ZPR1 - Base price , Make it Statistical 20 ZASS - make it madatory (copy the value) 10 ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,ERL 30 VAT / CST 20 MWS Now if the ZPRI 100 excluding taxes, as per the record the same 100 % will get copy into ZASS when your Price list is A is maintained in customer master or sales order line item sales B tab PRICE LIST the system will call the 100 percent record, refresh the pricing . so in ZASS 100 will get copy and then you have 4 % will get calculated and it will be 100 + 4 = 104 Rs. Now when your price list is B tax inclusive , then ZPR1 is Rs 100 and 96.15 % will get copy in the ZASS condition type as per the condition record, (at item level in sales B tab price list give value as B and then come back and referesh the pricing. so here, ZASS is 96.15 Rs, Now your VAT / CST 4 % will be calculated over 96.15, which will come as 3.85 Rs, Then following down you will get further calculation. Try doing it i hope it will work. Cheers Rishi Thank You Rishi, I admire the patience and diligence with which you have replied. The scenario your solution tries to address is, in case the final price = base price + tax on base price, which is a 3 condition type scenario. For such cases, instead of using a price list, there is a simpler solution. Just refer to pricing procedure "VKP001" in the standard IDES system. Just check it out, in case you have not. That would ease the solution given by you to a great extent. Please don't misunderstand me, to be criticising your solution. I am only telling this as you tried to help me. VKP001 would make your life a lot simpler even from end user perspective. But that works only on one tax and non proportional base price. The trick point where i am getting stuck is in my scenario the calculation is like: Final Price = Price + [VAT on Base price for VAT] + [Service Tax on base price for service tax], which is a 6 condition type scenario. I have two taxes applying on varying proportions of the actual base price to arrive at the final price. Thanks, Kamesh Hi kamesh, thanx , wht you told is right, there is a standard pricing procedure and can be used. Coming back to your point , can you just again brief it. I don't thing it is something to do with 3 or 6 condition type. As i told, ZASS is your accessable value. if suppose you say tax exclusive then 100 % percent of your base price say condition ZPRI will will get copy into the ZASS as per the condition record. BUT if this tax inclusive, then only thing you have to do is maintian a condition record as per the calculation. Now in your scenario, PLZ do correct me if i am wrong. Final price = base price + VAT / CST + service tax over your base price. so Now suppose i am selling the goods at 100 Rs (All inclusive as per the above formula). Taxes are VAT / CST is 5 % and service tax is 10.24 %. Now can you please explain what is you base price in this case. (100 Rs all inclusive, so i want the seggeration of each value) So if can tell that, you have to maintain the condition record with that much of percentage value. plz let me know the base price as of above calculation. Cheers Rishi Hi kamesh, Coming back to your point, is it some kind of TURNKEY job, Where you are charging, say out of 100 Rs price, 75 % is material cost + 25 % labour charages. Now on 75 percent are you charging VAT / CST and on 25 % you are charging Service TAX. Plz let me know if this is the scenario. Cheers Rishi 9953534174. What you said, is also a scenario in their business. For which, we have asked them to maintain separate material codes and assign prices on appropriate proportions. There are also, some jobs, which are indistinguishable. E.g, I would charge Rs. 1,00,000/- for foundation of say 1000 cubic metres. This would ideally involve labour portion and some material portion like sand, bricks, concrete etc. But the sub components are not separated in the order. Hence, state tax legislations have given yet another tax structuring that VAT is applicable on a certain proportion of the job and central tax legislations say that service tax is applicable on yet another portion of the same job. Detailed e.g:, If the price of my job is Rs. 1,00,000. For Tamil Nadu state the rule says, apply 4% VAT on 70% of Rs. 1,00,000 and central tax says, apply 10.3% service tax on 33% of Rs. 1,00,000/-.

This scenario is working fine, when done through forward working, but the problem is when the customer says that Rs. 1,00,000/- is inclusive of all taxes. Here the system is supposed to come up with a base price, calculate VAT and Service Tax as per state and central tax rates on appropriate proportions and finally when added up should result in Rs. 1,00,000/I have stumbled upon a solution for this, but that too requires 1 development as a calctyp. Was wondering if i can avoid it. Thanks, Kamesh Dear All, I have figured out a calculation method to do most of the job. Just that i require one add on to be developed to perform a division on two steps. Any way for achieving a division of steps without a development? Regards, Kamesh I Guess, there is no better way of doing this except for a development. I am marking the question answered. Reverse Calculation base on MRP Price in Pricing Procedure This question has been Answered. Hi All, I want the reverse calculation base on MRP price in pricing Procedure Scenario is like this MRP Price including Tax - 900/- (statistically) Fright (-ve) - 40/Margin (-ve) - 30/Sub Total (MRP-Freight u2013 Margin) - 830/Reverse Tax Calculations (-ve) 12.5%- 92.22 (830*12.5%/112.50) statistically Base Price - 737.78 Sale Tax 12.5% - 92.22 Net Price 830.00 How can to assign the Reverse Tax Calculations (-ve) 12.5% in pricing procedure? Pl. help Regards, Devendra Hi The % can be calculated in two ways :1) when the base price is not inclusive of %, for example in your case the base price is 830.00 and tax rate is 12.5%, then the calculation will be as follows : 830*12.5 / 100 = 103.75 2) When the % is included in the base price (as your case is), the same calculation will be like as follws :830/112.5 *12.5 = 92.22 Both the situation can be handled in SAP from Calculation type of a Condition type in V/06. If you want to calculate the value of a % as in case 1 then select "A" in calculation type and if you want to calculate the value of % as in case 2 then select "H" in calculation type of the Condition Type. You may check it by youself and revert if there is any issue. Regards Amitesh Anand Hi Kindly maintain the routine in the alt calculation type with the help of abaper code example as below: 1.xkwert = ( ( Xkomv-kawrt * 100 ) / ( 100 * 100 + lv_kbetr ) ) * ( lv_kbetr / 100 ) . 2. lv_kbetr = lv_kbetr + ( 100 * 100 ). lv_kawrt = xkomv-kawrt * 100. lv_prcal = ( lv_kawrt * 100 ) / lv_kbetr . Regards Damu Hi The % can be calculated in two ways :1) when the base price is not inclusive of %, for example in your case the base price is 830.00 and tax rate is 12.5%, then the calculation will be as follows : 830*12.5 / 100 = 103.75 2) When the % is included in the base price (as your case is), the same calculation will be like as follws :830/112.5 *12.5 = 92.22

Both the situation can be handled in SAP from Calculation type of a Condition type in V/06. If you want to calculate the value of a % as in case 1 then select "A" in calculation type and if you want to calculate the value of % as in case 2 then select "H" in calculation type of the Condition Type. You may check it by youself and revert if there is any issue. Regards Amitesh Anand Dear Amitesh, Thanks for reply, I have selected the second option and created the condition type and selected in Condition class u201CDu201D, Calculation type u201CHu201D, Condition category u201CDu201D. But It has selected the Positive in Plus/minus, system taken the tax value correctly -92.22 (830/112.5 *12.5 = 92.22) and selected the Negative in plus/minus then system taken the tax value u2013 95.50 too calculated in base value price-830/I want the tax value negative, Hence Please suggest how to solve the above issues?? Regards Devendra Hi You better leave the positive/negative field Blank. Regards Amitesh Anand Dear Amitesh, First I have created the condition type u201CZWSTu201D and selected in Condition class u201CDu201D, Calculation type u201CHu201D, Condition category u201CDu201D & Positive in Plus/minus. Created a step; this is copy of u2018Totalu2019 value. Created a step; the condition type is u2018ZWSOu2019. This is a copy of Total Value but in negative form. Maintain condition record as 100%. Problem solved. Thanks & Regards, Devendra

Вам также может понравиться