Skip to Content
0
Former Member
Feb 09, 2012 at 05:05 PM

Wage Type for Multiplying a Rate with Amount and display in IT0015

602 Views

Dear Friends,

We have to create Wage types for country grouping 04 and infotype group 0015.

The scenario is that User enters for each wage type number/unit in hours/days/kms and for each fixed wage type there is an rate fixed(in decimal places) and it calculates the Number * Rate and gives the final amount.. The Rate undergoes changes every year.

I had thought of

a) creating constants and using them in rule OR

b) using the indirect valuation "CONST" and giving a fixed value in table T510K.

In option "b", I am facing the problem that I can't give the wage amount in table T510K in decimals as it gives an error "Decimal places are not permitted". If i give a value without decimal place, it allows me to save in T510K

and when i enter a Number/Unit in IT 0015, it multiplies to the rate with the value in T510K and gives the amount in IT15.

My problem is I want to use the same kind of behaviour where User only enters the Number and Unit in IT 15 and it calculates based on the Rate stored in config and multiplies and saves the value in Amount field . The rate could be in decimals.

I don't know how to create such configuration.

Kindly suggest.

Thanks & Regards,

Sunny Singh