12-12-2005 9:05 AM
Hi all,
Can any one let me know is there nay bapi for transaction CAT2.
- Thanks
Senthil Bala
12-12-2005 9:09 AM
Hi,
The functionalities of the transaction CAT2, for display, delete, change and insert
BAPI_CATIMESHEETMGR_INSERT
BAPI_CATIMESHEETMGR_DELETE
BAPI_CATIMESHEETMGR_CHANGE
BAPI_CATIMESHEETRECORD_GETLIST
Regards,
Sakthi.
06-28-2007 12:50 PM
Hi ,
Can i use below bapi's to change the status to from FREE(20) to Approved(30).
BAPI_CATIMESHEETMGR_INSERT
BAPI_CATIMESHEETMGR_DELETE
BAPI_CATIMESHEETMGR_CHANGE
Pls. suggest me.
Naveen.
12-12-2005 9:10 AM
12-12-2005 9:13 AM
hi
You can use the function module BAPI_CATIMESHEETMGR_INSERT for inserting the data into CATSDB table. (Transaction CAT2).
The function module BAPI_CATIMESHEETRECORD_GETLIST is used to read the data from CATSDB.
The function module BAPI_CATIMESHEETMGR_CHANGE is used to change the existing records.
regards
Arun
12-12-2005 9:17 AM
Hi,
BAPI_CATIMESHEETMGR_CHANGE CATS: Change Data Records
BAPI_CATIMESHEETMGR_DELETE CATS: Delete Data Records
BAPI_CATIMESHEETMGR_INSERT CATS: Insert Data Records
Thanks
Eswar
12-12-2005 9:24 AM
Hi,
Check in function group 'BAPICATS' also the following function modules may help,
BAPI_CATIMESHEETRECORD_GETLIST
BAPI_EECATIMESHEET_GETWORKLIST
Rgds,
12-12-2005 9:27 AM
Hi Senthil,
to search for related BAPI's you can use transaction BAPI
This gives you a hierarchical or alphabetical list of BAPI's.
Select node... Cross-Application Components->Time Sheet
Here you will see all Time sheet related BAPI's
Kind Regards
Glenn
12-12-2005 10:01 AM
to search for related BAPI's you can use transaction BAPI
This gives you a hierarchical or alphabetical list of BAPI's.
try these
BAPI_CATIMESHEETMGR_CHANGE CATS: Change
BAPI_CATIMESHEETMGR_DELETE CATS: Delete
BAPI_CATIMESHEETMGR_INSERT CATS: insert
or try using these
BAPI_CATIMESHEETMGR_INSERT
BAPI_CATIMESHEETMGR_DELETE
BAPI_CATIMESHEETMGR_CHANGE
BAPI_CATIMESHEETRECORD_GETLIST
plz reward points by clickin on the star if it solves the query!!
Regards
Gunjan
02-27-2007 2:13 PM
Hi All,
If anybody can share with me what all import/export/table parameters values(if possible with sample code) we should pass to BAPI_CATIMESHEETMGR_CHANGE it will be great help for me..
Thanks in advance,
Ganga
06-28-2007 12:52 PM
LOOP AT ri_final INTO w_l_final.
REFRESH : i_catsrecords_in,i_bapiret2,i_catsrecords_out.
w_catsrecords_in-workdate = w_l_final-work_date.
w_catsrecords_in-employeenumber = w_l_final-emp_id.
w_catsrecords_in-abs_att_type = w_l_final-abs_att_type.
w_catsrecords_in-catshours = w_l_final-catshours.
w_catsrecords_in-all_day_flag = c_x.
APPEND w_catsrecords_in TO i_catsrecords_in.
CLEAR w_catsrecords_in.
*---> CATS: Insert Data Records
CALL FUNCTION 'BAPI_CATIMESHEETMGR_INSERT'
EXPORTING
profile = 'HR-ONLY'
text_format_imp = c_itf
TESTRUN = P_TRUN
RELEASE_DATA = C_X
TABLES
catsrecords_in = i_catsrecords_in
catsrecords_out = i_catsrecords_out
return = i_bapiret2.
Endloop.