Hello,
In WDA, I am trying to update an infotype i.e. 0021.
I have made a call to the FM HR_INFOTYPE_OPERATION.
Now I get an error in the function module that the record that I am trying to access does not exist, although it is there.
This particularly happens when I use the operation mode as 'MOD'.
When I use operation mode as 'INS', it goes and updates the record.
So if the operation mode is 'INS' then it should insert a record rather than updating.
Happy Coding,
Rahul