I m facing a problem in cube 0PA_C01
in this cube i created a key figure of type number
now in update routienes i created a routine to fill this key figure
in which i calcultaed and retuurn
result = sy-datum - date of birth
wen activating giving an error
IC=0PA_C01 IS=0HR_PA_0 error when checking the update rules
Plz let me know y its happenning .