I have maintained values for PCK and useful lifes in one Ztable and written code in the user exit ZXAISU04 to change the useful llife based on the property classificaion key defined in the table. When i am creating assets, it was updating the useful life based on property classification key (VMGLI) given in As01 after executing the code written with reference to ztable values.
But when I am changing the property classfication key in As02, it was not changing the values, based on the changed Property classification key. The user exit is perfectly triggered and changed values inside. But not updating after saving in AS02.
can we change property classification key in AS02 and if it is possible, why is it not changing the value of useful life written in the user exit code.
Is there any configuration required for this requirement/
Please update if any one worked on this requirement.