‎2006 Aug 11 6:38 AM
I Have this BAPI Function module 'BAPI_CATIMESHEETMGR_INSERT' for inserting the data into CATSDB table. (Transaction CAT2).
I am passing 3 records of same employee into the function module. If I get 2 return messages. which has type "E'( I am sure this stats its a error) ,and also has a field called ROw, and the value of those 2 field values of ROW are '1 ' and '3', then does that mean that there are errors in 1st record and 3rd of the records that have been sent? and that 2nd record doesnt have any error.?
after sending 3 records , the return message is as follows
TYPE ID Number Message ROW
E |HRTIM00REC |009 |Attendance/absenceetc | 1
E |HRTIM00REC |009 |Attendance/absenceetc | 3
So does it mean 1st and 3rd records have error... or 2nd record is not even processed?
I want to know more about this function module and how the return message of this function module.. work.. any links would be appreciated...
Regards
Venu
‎2006 Aug 11 7:26 PM
It means 1st and 3rd rcords have error, and 2nd record doesn't have any error, but the bapi won't insert 2nd record into CATSDB.
The BAPI inserts records into CATSDB only when there are no errors in the return table.
Refer to the function module documentation in SE37.
Regards
Sridahr