Skip to Content

CATS change not working with FM BAPI_CATIMESHEETMGR_CHANGE

Hello,

I am developing and weg interface to maintain data on transaction CAT2.

I am using FM BAPI_CATIMESHEETMGR_INSERT to create an appointment in the timesheet and FM BAPI_CATIMESHEETMGR_CHANGE to make changes to an existing one. The problem I am facing is, when I try to change an appointment more than once I receive the message 'Data record number & cannot be processed' and no change is made to the CATS record. I am using the import parameter 'RELEASE_DATA' = 'X'on both FM's, if I remove this parameter or pass it as 'space' the same error occurs but already on the first time I try to change an record. Any hint on what I could do? How do I make it possible to change/delete a record as many times I want/need?

Thanks in advance.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Dec 02, 2017 at 07:28 AM

    Hey,

    • The record you are trying to change has already been approved?
    • What happens when you use BAPI_CATIMESHEETMGR_DELETE then BAPI_CATIMESHEETMGR_INSERT instead of BAPI_CATIMESHEETMGR_CHANGE?
    Add comment
    10|10000 characters needed characters exceeded