We have a custom BAPI to update a database table on R/3. This BAPI works fine when run in R/3 and also runs fine when we put the statement"COMMIT WORK" statement within the BAPI.
However, when we remove the "COMMIT WORK" statement from the BAPI and call BAPI_TRANSACTION_COMMIT FROM SAP Web Dynpro, commit to database table does not occur.
There are no error messages returned also.
Note: We are not running the BAPI in Test run mode.
Please advise possible solutions.