Skip to Content
avatar image
Former Member

Condition Base Value Routine

Hello all,

I am currently facing an issue where we have created a Custom Condition Base value routine for a Tax Condition type.

In our scenario, we have Sales Tax condition type ZZTX which has the following parameters:

Cond. class D Taxes

Calculat.type A Percentage

Cond.category D Tax

Rounding rule Commercial

Also since its a tax condition type, it is set to D - cannot be modified manually.

Also in the pricing procedure, the condition type is pointing row 301 to pickup the condition value basis. This is for the normal scenarios. However when a particular condition is satisfied (which is coded in routine 902 for ZZTX) the code in 902 is supposed to change the condition base value for ZZTX.

800 0 ZZTX Tax for Sales 301 10 902 MWS

This functionality is not working at this point. When I debug, I can see the code appending the calculated value to the condition base value for ZZTX.

However on the screen, I still see the condition base value being picked up from row 301.

I need some input from you guys so as to find it the condition type zztx should have some parameters set to allow the change or is there a problem in the 902 routine ?

Kindly advise

Thanks

Vin

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Mar 10, 2010 at 06:26 AM

    Hi,

    this is the problem with 902 routine. Please update xkwert for your base value in routine.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 10, 2010 at 06:17 AM

    Hi Vin,

    Please check with your ABAP expert if he has done below to fetch calculated value to hold it correctly,

    l_val_190 TYPE kwert, l_val_210 TYPE kbetr,

    I guess it is to do with Data type only in your 902 routine

    Hope this will solve your probelm,

    Regards,

    Siva

    Add comment
    10|10000 characters needed characters exceeded