cancel
Showing results for 
Search instead for 
Did you mean: 

VOFM Condition Type Routine

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

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

Former Member
0 Kudos

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.

former_member184080
Active Contributor
0 Kudos

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.