cancel
Showing results for 
Search instead for 
Did you mean: 

How to use BAPI_CATIMESHEETMGR_CHANGE to change existing record

0 Kudos
581

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.

View Entire Topic
أشرف
Explorer
0 Kudos

I think that  you have to fill the agent exporting parameter