Skip to Content
0
Aug 08, 2016 at 09:08 AM

Asset master data validation

1011 Views

Hi all,

I have a question about fixed asset master data validation.

Our client wants a unique depreciation key for a specified asset class.

The depreciation key is defaulted, anyway user can change it.

I found some validations already created by other peolple in the past that checks the combination between asset class and depreciation keys.

Unfortunately they don't work.

Using trace facility I discovered that the validation checks only the last valuation area in the valuation tab of master data.

So if you change the depreciation key of the other valuation areas, keeping the last unchanged, no error occurs and changes are saved.

I tried using an exit routine in the validation, but only the last record of anlb is passed.

Is there a way to pass to the validation all the anla and anlb entries for the fixed asset we are processing, in order to loop on valuation areas and check all the depreciation keys?

I mean something like the bkpf/bseg structures that are passed to FI validations exits when using the parameter: exits-param = c_exit_param_class.

In type-pool GB002 no types exist for anla/anlb.


Thank you for your suggestions

Domenico