Skip to Content
avatar image
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 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 -


15-- 14,420.00 -

4.00% -


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

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


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

Header level----


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

With best regards


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    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.


    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 17, 2009 at 06:12 AM


    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.


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



    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Dear Krishna,

      Sorry for delay......Your reply is very helpful,Thanks

      Header value of tax e.i 9022.16,which I want to to be rounded off to 9022 but my client wants the difference e.i .16 to be added in highest value of the item,is it possible???

      If new routine to be created than what logic to be written??

      Thank you so much