CA
BAPI
RFC
Used the same way in S/4HANA
BAPI_TRANSACTION_ROLLBACK Roll Back BAPI Transaction
Discards all database changes of the current logical unit of work that were prepared by previous BAPI calls. Programs call it when a BAPI returns an error message in RETURN, so that no partial data is saved. It is also needed in RFC scenarios, because an external caller cannot issue ROLLBACK WORK directly.
- Function group
- BAPT
- Remote-enabled (RFC)
- Yes
- Type
- BAPI
Exporting parameters
| Parameter | Type | Description |
|---|---|---|
| RETURN | BAPIRET2 | Return messages |
Call template (ABAP)
A skeleton generated from the interface. It lists mandatory importing parameters, exporting parameters and tables; declare the variables with suitable types in your own program.
CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'
IMPORTING
return = lv_return.Can't find the report you need?
We also build anything that is not in the catalog. Describe it briefly and we will suggest the right solution.