Skip to Content
0
Apr 10, 2019 at 01:55 PM

IF_HRPA_MASTERDATA_BL - Infotype 2006

285 Views

Hi,

Can the infotype class framework (IF_HRPA_MASTERDATA_BL) be used to update time related infotypes (2001/2006)? I keep on getting shortdumps (Exception 'CX_HRPA_VIOLATED_POSTCONDITION' / "CL_HRPA_TIMECONSTRAINT========CP & COMPUTE_INITIAL_PSKEY / 'ZERO' object reference - 'ZERO' object reference )because of the time constraint 'Z' and I am getting the feeling there should be another set of classes for time related infotypes? What am I missing?

The code works perfectly for all other infotypes and has been tried and tested over years but its the first time I have tried it for time infotypes. When I look in the code for CL_HRPA_TIMECONSTRAINT->CHECK_CONSISTENCY I can see time constraint 'Z' is not handled properly in the code.

Thanks

Deon