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: 

CATS change not working with FM BAPI_CATIMESHEETMGR_CHANGE

former_member196574
Participant
0 Kudos

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.

1 REPLY 1

iftah_peretz
Active Contributor
0 Kudos

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?