on ‎2019 Apr 10 2:55 PM
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
Request clarification before answering.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 8 | |
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.