Skip to Content
0
Apr 11, 2014 at 04:40 AM

Commit work in RFC BAPI

3737 Views

Hi Experts,

I have created a RFC BAPI to delete an entry from Z table. Whenever I run the BAPI from any workstation (PC), BAPI is executes correctly and an entry is deleted from the database table.

But whenever call the bapi from a remote system, say mobile, then delete query is executed successfully (sy-subrc = 0 ) but same is not reflected in the database table.

For a workaround,

I tried explicit commit using COMMIT WORK immediately after delete query in the BAPI itself and

I also tried calling bapi using "BAPI_TRANSACTION_COMMIT" from the remote device for explicit commit.


Either way delete query was not reflected in the database. Please give some suggestion as I am not able to figure out the reason for this.

Regards,

Saurabh