Error Handling

Sometimes, after a transmit, you’re alerted by the application that errors in object transactions are preventing the sync of those objects. You can dismiss the errors or attempt to fix the objects before transmitting again.

Error Alerts

At times, when working with objects in SAP Service and Asset Manager, you can introduce errors to an object or a transaction. If errors occur during the sync, an alert banner appears at the top of the app screen. To fix or discard these errors, open the hamburger menu and select Errors. To view details of an individual error, tap the error. A screen displays showing you the full error description.

Fixing Errors

Often, when you read an error message, the issue with the erroneous object is apparent. You can fix these errors by editing the object. Tap Fix to fix the error.

The mobile device navigates to the object to which the error message is referring. Here, you can edit the object so that it doesn’t return an error during transmit. Perform a sync. If the error message doesn’t appear on the Errors screen, the error is resolved. If other errors exist, you can either fix or discard them.

If an error can't be fixed from the device, a pop-up message appears to let you know the error cannot be fixed through editing. Tap OK to discard the error and return the object to its original state.

Discarding Individual Errors

Deleting a selected error deletes all changes made to that object that includes the error and returns the object state to the state it was in at the last transmit. To discard an individual error, tap on Errors. Tap on an individual error to view the error details. Tap Discard to discard that individual error.

You can also swipe a selected error to access the contextual menu with the discard option.

If you don’t discard all errors on the device, an error alert banner will still appear during your next sync. If you tap on an error message where you've already discarded the transaction, a pop-up displays to alert you the transaction has been disarded and is no longer available.

Discarding All Errors

Once you tap on Errors, tap on Discard All to discard all errors on the client.

Discarding all errors deletes all changes to the edited objects with errors. An example of a scenario where you would delete all errors on the client is meter installation. To discard the install, delete all errors. Deleting all errors deletes the local entities created as well as the update transaction, and returns the objects to the state they were in at the last transmit. You can then attempt to install the meter again.

When you delete all errors, an error banner will not display on the app during the next sync. If you tap on an error message where you've already discarded the transaction, a pop-up displays to alert you the transaction has been disarded and is no longer available.