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

Update and Commit

charliee
Explorer
0 Likes
724

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

Accepted Solutions (0)

Answers (2)

Answers (2)

kaus19d
Active Contributor
0 Likes

Hi,

I would understand that you each time you would be triggering a job once you execute, is there something in Job-log or dump. Probably, you can verify the following details,

https://wiki.scn.sap.com/wiki/display/ERPFI/Debug+program+used+in+background?original_fqdn=wiki.sdn....

RobertVit
Active Contributor
0 Likes

HI,

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