Hello!
I'm reading in a record from PA0014 and need to change it's ENDDA (MOD). That's the requirement, i.e., they don't want to delimit it and create a new one - they just want to change the ENDDA of the one that already exists.
So, I'm using HR_INFOTYPE_OPEATION but it fails with "Infotype does not exist". I've read the current record into a structure via HR_READ_INFOTYPE / READ TABLE. The ENDDA of this record will be 12/31/9999 since it's the active one.
Then I change the ENDDA of the structure to some other date and then call HR_INFOTYPE_OPERATION. I pass the BEGDA/ENDDA of the current record I've read as VALIDITYBEGIN/VALIDITYEND, respectively and the new ENDDA is in the structure I've passed to the RECORD parameter.
Can I not change the ENDDA of an infotype this way? If not, how can I do it?
Thanks!