ABAP HR - Populating fields on Infotype screen
I have the foll. requirement.
In Infotype 8 when an employee enters the ANSAL field ie. the value for Annual Salary all the wage types should get populated on their own in the wage type table control in the screen based on the following calulations :
basic pay = 40% of ANSAL
HRA = 30% of basic. etc.
Please tell me where exactly I should write the code for this calculation and how.