Skip to Content
avatar image
Former Member

VOFM Condition Type Routine

Hi All,

  I created a routine in VOFM -- > FORMULAS --> CONDITION VALUES --> 950 and activated this routine .

Then assigned this routine 950 to Condition Type ZTAX in Pricing Procedure . Routine is picked up in the Contract Item level and doing the Commerical rounding . But there is a issue at the Header Level where it is applying the ZTAX  % ( like 7 % ) on total base amount (at header level) instead of adding all taxes @ line item level.

Line Item No

PR00 - Base Price

Tax Rate

Tax USD

After 950 rounding routine @ line item level (USD)

                           10

      2,314.70

7%

           162.029

                                162.03

                           20

    28,430.80

7%

        1,990.156

                             1,990.16

                           30

      1,529.30

7%

           107.051

                                107.05

                           40

      3,071.40

7%

           214.998

                                215.00

    35,346.20

7%

          2,474.23

                             2,474.24

At Header Level

Total PR00 - Base Price

Tax Rate

Tax USD

Tax Total @ line item level is not matching with Header total tax

Difference

               35,346.20

7%

  2,474.23

2474.24

                                  (0.01)

Thanks,

Bintu

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Mar 11, 2013 at 01:06 PM

    Hi Bintu,

    Could you check "ZTAX"  if it is group condition or not?  If ZTAX is not group condition then, make it as a group condition. Then try again.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 08, 2013 at 02:17 PM

    Hi,

    Since you are using routine, why don't you ask ABAPer to write a logic to just add all line items taxes and show it as tax amount even at header level.

    Hope this is correct approach.

    Regards, Sai Krishna.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 12, 2013 at 11:34 AM

    Hi Bintu ,

    I am agree with Mehmet, That you should make the condition type  as group condition type.

    The benefit of that:-The difference value will add to the highest tax item so . So in header level you could not see the difference .

    Hope it will help you.

    Regards

    Pitabash

    Add comment
    10|10000 characters needed characters exceeded