2008 Oct 02 11:57 AM
hello everyone,
i'm trying to delete time sheet recors using the bapi 'BAPI_CATIMESHEETMGR_DELETE', but the probleme it's doesn't work verry well, i don't why and all the parameters are OK, is there another way to delete time sheet that was recorded in the CAT2.
thanks a lot.
2008 Oct 02 12:51 PM
Time sheet records are loogically deleted from Database not physically. There should be flag in the table which indicated that the record is logically deleted.
Check if the BAPI needs a COMMIT WORK.
-Aman
Time sheet records are loogically deleted from Database not physically. There should be flag in the table which indicated that the record is logically deleted.
Check if the BAPI needs a COMMIT WORK.
-Aman
2008 Oct 02 12:51 PM
Time sheet records are loogically deleted from Database not physically. There should be flag in the table which indicated that the record is logically deleted.
Check if the BAPI needs a COMMIT WORK.
-Aman
2008 Oct 02 1:44 PM
i used the function 'BAPI_TRANSACTION_COMMIT' for the commit WORK but steel the time sheet recorded is not deleted so is there another way,
thnk you
2008 Oct 02 1:50 PM
Check the STATUS field in the CATSDB if it changes after BAPI CALL.
-Aman
2008 Oct 02 1:52 PM
that's exactly why i say that's it doesn't work , the STATUS steel has the value '30' no change
2008 Oct 02 1:56 PM
Try using this BAPI . In my system i am using this BAPI to change the status.
BAPI_CATIMESHEETMGR_CHANGE
This will change the status in the time sheet.
This BAPI needs BAPI_TRANSACTION_COMMIT too.
-A
2008 Oct 02 2:00 PM
and this 'BAPI_CATIMESHEETMGR_CHANGE' will delete the time sheet already recorded????
2008 Oct 02 2:05 PM
It will change the status. For more details read online help of the Function modules. Its described in detail.
A
2008 Nov 05 4:25 PM
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |