Configuring the SAP AutoCommit Feature

Configure an SAP operation, so commit is always called after the operation succeeds.

For an SAP operation, if the AutoCommit feature is enabled (requireCommit property is set to true), commit is always called following a successful operation; if the operation fails, changes are rolled back. By default, the AutoCommit feature is enabled; if disabled, you must explicitly call commit after the operation succeeds.

  1. In the Mobile Business Object Properties dialog, select Attributes or Operation, then click the Definition tab.
  2. Click Edit.
  3. To enable the AutoCommit feature, check Commit SAP Operation; to disable, uncheck Commit SAP Operation.
  4. Click OK.