2009 Dec 03 1:20 PM
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
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
2009 Dec 03 1:23 PM
2009 Dec 03 1:31 PM
Hello Thomas,
Is there any standard documentation on this particular FM that I can read.
I have been trying to search but could not find one.
Happy Coding,
Rahul
2009 Dec 03 1:39 PM
2009 Dec 07 8:45 PM
Rahul, for MOD you have to match the primary key of the target record which you want to update. I am sure that must not be matching thats why you are getting this error. Go into debugger and see if you have all the primary key values properly populated that you are passing to this FM