cancel
Showing results for 
Search instead for 
Did you mean: 

How to handle a failed transaction in Syclo Agentry SAP Work Manager 5.3

Former Member
0 Kudos

Hello Experts,

I have a transaction created on work order time entry.

For some reason, when the transactions fails (when clicked on transmit button), the transmit stops as soon as the error is thrown from ECC.

However, this transaction remains on the client and is not deleted.

when a new transaction is created on another object and transmitted, it still retains the previously failed transaction and tried to transmit it again.

Because of this, the transmit stops again and it fails.

Is there anyway to remove a transaction which has failed already? What is the best way to handle such scenario.

Thanks for the help!

Best,

Arihant Kothari

Message was edited by: Michael Appleby

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello experts,

Request your input on the above issue.

jason_latko
Advisor
Advisor
0 Kudos

Arihant,

Failed transactions will remain on the client until they are cleared.  Transactions are cleared when they successfully post to the backend, or when the object tied to the transaction is removed (deleted) from the client.  If you have a time entry that you added to the work order, you should be able to delete it.  That should remove the failed transaction.  Make sure the "discard pending" check box is checked on the delete transaction itself.  This allows you to control whether other pending transactions tied to an object will be removed or not when the object is deleted.  If you find that you cannot delete a parent object because the application wont allow it and this is causing failed transactions to hang around, then you may need to add that functionality yourself in the editor.

Jason Latko - Senior Product Developer at SAP

Former Member
0 Kudos

Thank you Jason for looking into this.

You mentioned that we need to add this functionality by ourselves in the editor.

I tried to implement the same using error handling functionality available under the transaction, but couldn't understand how to remove the failed transaction using such configuration.

Can you point me to any document/link which illustrates on how to implement such requirement?

jason_latko
Advisor
Advisor
0 Kudos

Arihant,

We don't use the built in transaction error handling in any of the products, so I have never implemented it personally.  Maybe Bill F in consulting or someone in services can explain or point to a document?

Jason Latko - Senior Product Developer at SAP

bill_froelich
Product and Topic Expert
Product and Topic Expert
0 Kudos

Arihant,

The Error handling within the application / editor does not have a one click type solution to just remove a pending transaction.   As Jason mentioned the behavior is to stop when an error occurred so the user can correct and continue.  In some cases this may mean removing the transaction through the removal of the associated object from the mobile device (clear option frequently) that when the object is cleared the associated transaction is also deleted allowing the pending transactions behind the current one to proceed.

The editor allows for error handling steps to be defined to execute upon error so that potentially you could log the transaction data off to the side for handling later and then continue processing.  This of course requires there to be manual back office involvement monitoring the logged data for resolution and next steps.

--Bill

Answers (0)