Skip to Content
0
Jul 30, 2018 at 03:00 PM

How to use BAPI_CATIMESHEETMGR_CHANGE to change existing record

243 Views

Hi All , in SE37 when i use this BAPI ,and make Release Data = 'X' then it Delete the record from CATSDB Table ,but when i make Release data = 'X' as well as Testrun = 'X' ,then this Bapi return the record in Catsrecord_out , but not change(update) in Catsdb table.

CALL FUNCTION 'BAPI_CATIMESHEETMGR_CHANGE'
EXPORTING
PROFILE = 'ZPS00001'
TESTRUN = 'x'

RELEASE_DATA = 'X'
** AGENT =
** TEXT_FORMAT_IMP =
TABLES
catsrecords_in =
** EXTENSIONIN =
** CATSRECORDS_OUT =
EXTENSIONOUT =
** WORKFLOW_TEXT =
return =
** LONGTEXT =
** SA_EXTENSION_IN =
** SA_EXTENSION_OUT =

Data Entry profile is maintained in CAC1.

in table parameter Catsrecords_in - i pass
COUNTER ,WORKDATE ,EMPLOYEENUMBER(PERNR) ,SEND_CCTR(skostl) ,

ACTTPE (LSTAR) ,wbs_element(rproj), CO_AR(KOKRS).

it return same record in CATSRECORDS_OUT , but not updated.

what are the field data we can change through this bapi.