Application Development and Automation 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: 
Read only

Updating CATSDB Fields

Former Member
0 Likes
722

Hi All,

I need to update the Zfields in catsdb.

I tried obtaining this by using the fololowing FM

BAPI_CATIMESHEETMGR_CHANGE

BAPI_CATIMESHEETMGR_INSERT

But in both cases a new record is getting created.

My requirememnt is to only update the existing record with few fields.

How can i obtain.

Please respond.

Thanks,

Sandeep.

Hi All,

I need to update the Zfields in catsdb.

I tried obtaining this by using the fololowing FM

BAPI_CATIMESHEETMGR_CHANGE

BAPI_CATIMESHEETMGR_INSERT

But in both cases a new record is getting created.

My requirememnt is to only update the existing record with few fields.

How can i obtain.

Please respond.

Thanks,

Sandeep.

2 REPLIES 2
Read only

mvoros
Active Contributor
0 Likes
500

Hi,

what was the status of your records which you modified? This BAPI creates new records if the original records have been already approved. It's written in BAPI documentation. The records stored in table CATSDB are transferred to other modules such as CO. Hence if time sheet record is already approved then SAP cancels the previous one and it creates new one.

Cheers

Read only

Former Member
0 Likes
500

Hi,

I think BAPI_CATIMESHEETMGR_CHANGE is the right BAPI for updating CATSDB Fields, but the problem I suppose is that if you change records that have already been approved, the system cancels the original record and creates a new record. If the records to be changed have not yet been approved, they are simply overwritten.

Regards