cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

IF_HRPA_MASTERDATA_BL - Infotype 2006

Deon_van_Zyl
Active Participant
0 Likes
1,365

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Deon_van_Zyl
Active Participant
0 Likes

Hi Antoine,

Thanks for still replying 🙂 I ended up using HR_INFOTYPE_OPERATION because I had a deadline. I cannot see CL_HRPAO_DELETE_MOVE_ACTION on our system? Does it come with a specific package or module? Which class did you use for your update, CL_PT_BLP_IT2001 / CL_PT_BLP_IT2006?

Kind Regards

Deon

antoine_foucault
Active Contributor
0 Likes

Hi Deon:

It might come a bit late for you but as I was searching for the same thing I found out time constraints Z infotypes are to be updated via the BLP framework.

There is a pretty good example in CL_HRPAO_DELETE_MOVE_ACTION.

Best,

Antoine