Former Member

### Round off tax condition type at header level

Hi All,

My scenario is for eg. if there are six line items,all these items has different quantity calculated as per

amount given in vk11....now all these item has tax condition type e.i A/R VAT Payable as per percantage,now I want for all these items,percentage to be added and rounded off at header level & if The difference is there added to the largest item.

Line item-- Basic price ---Tax condition(A/R VAT Payable)

5----14,420.00 --- 4.00% ---1,802.50

10 14,420.00 -

4.00%--1,802.50

15-- 14,420.00 -

4.00% -

1,802.50

20-- 14,420.00---- 4.00%-----1,802.50

25 - 14,420.00 -----4.00% -

1,802.50

30 surcharge added(.75) 14,497.25---- -4.00% ---1,812.16

9,022.16

Now I want this to get round off at header level e.i----9022

With best regards

Umed

10|10000 characters needed characters exceeded

• Former Member
Jun 16, 2009 at 08:08 PM

Try this.

Create a new condition by copying condition type DIFF.

Then assign this condition to the pricing pricing procedure at correct level.

You should assign this before DIFF if youare using it in your procedure.

( Check Standard procedure RVAA01).

Go to VOFM routines and create a new condition base formulae by copying routine "4".

However the code should exclude komp-netwr(net value)..include only tax.

Then assign this to the condition type in your procedure and also assign standard calculation type routine "16' to this condition type.

Vikas

10|10000 characters needed characters exceeded
• Former Member
Jun 17, 2009 at 06:12 AM

Hi,

For this you have to develop a routine in VOFM T.Code which will fetch the net value of the header conditions and rounding off.

If it is for one condition type you can control this in V/06 T.Code.

Maintain the rounding rule as "B".

I think in your case group condition is in effect.So tick the field "Round DiffComp" in the same screen.

Save.

But you have shown your example as net value only right?So you have to develop a routine.

Regards,

Krishna.

10|10000 characters needed characters exceeded
• Former Member

Dear Krishna,