cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Update and Commit

charliee
Explorer
0 Likes
725

Hi All,

In my program I am using BAPI_BUPA_CENTRAL_CHANGE to set some changes to the BP's central data. Down the path in my code, I need to update the table BUT000 with some calculated values for a couple of custom fields that are not in the structures of above BAPI. For that I am using a direct UPDATE statement and set the required values.
At the end of the code I use BAPI_TRANSACTION_COMMIT and BAPI_TRANSACTION_ROLLBACK. Even though there are no errors for the UPDATE statement in question, the changes are not committed for the fields that are set using that UPDATE statement. I thought it was a locking matter, so I used the FM DEQUEUE and ENQUEUE, but still changes are not committed.
Any ideas what might be the problem?

Thanks

View Entire Topic
RobertVit
Active Contributor
0 Likes

HI,

try a ST05 trace - maybe there is standard functionality which does the update in update task.