Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI for Transaction CAT2

Former Member
0 Kudos

Hi all,

Can any one let me know is there nay bapi for transaction CAT2.

- Thanks

Senthil Bala

10 REPLIES 10

Former Member
0 Kudos

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.

0 Kudos

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.

former_member181962
Active Contributor
0 Kudos

See if this helps you.

BAPI_CATIMESHEETMGR_INSERT.

Regards,

Ravi

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi,

BAPI_CATIMESHEETMGR_CHANGE CATS: Change Data Records

BAPI_CATIMESHEETMGR_DELETE CATS: Delete Data Records

BAPI_CATIMESHEETMGR_INSERT CATS: Insert Data Records

Thanks

Eswar

Former Member
0 Kudos

Hi,

Check in function group 'BAPICATS' also the following function modules may help,

BAPI_CATIMESHEETRECORD_GETLIST

BAPI_EECATIMESHEET_GETWORKLIST

Rgds,

Former Member
0 Kudos

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

0 Kudos

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

0 Kudos

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

0 Kudos

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.