Webservice Dialog - restart after error

Srinivasan Ramanan r_m_n_n at hotmail.com
Mon Feb 12 16:19:30 EST 2007


Hi Sue,
Error in call back processing will occur in the situation you explained. It 
will happen even if you try to simulate the same condition of opening forms 
twice in two session of SAP from within workitem inbox.

If I understand correctly you are having this issue with custome developed 
workflows.
Your options are :
        1. If BO associated with the workitem is std SAP check if you can 
use 'ENQUEUE' .
        2. If it is custom developed BO itself , you should create an 
'ENQUEUE' object ( lock object in ABAP ), then lock it after it is opened 
for the first time. Hence the same form can not be opened second time. I 
think you also do not the forms to be opened twice or more in successions.

regrads
Srinivasan

>From: "Sue Doughty" <Sue.Doughty at odfl.com>
>Reply-To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
>To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
>Subject: RE: Webservice Dialog - restart after error
>Date: Mon, 12 Feb 2007 11:55:24 -0500
>
>I didn't get any replies on sending this out last week.  Can anyone
>help?
>
>Sue Doughty
>
>
>________________________________
>
>From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
>Of Sue Doughty
>Sent: Monday, February 05, 2007 8:38 AM
>To: SAP Workflow Users' Group
>Subject: Webservice Dialog - restart after error
>
>
>We are on 4.7, Basis 6.40.
>
>We have in-house developed workflows that execute Webservice Dialogs --
>they open web pages for the users to enter data and then the user hits
>the submit button, which completes the task and the workflow sends the
>request to the appropriate managers for approval, etc.
>
>Sometimes, the users execute the work items more than once -- which they
>then have more than one web page open at once.  When they complete the
>form that is other than the first form opened and click submit, it
>causes the workflow to go into error status with an "Error in callback
>processing" and "Invalid execution GUID. Work item could not be
>completed".
>
>When we get the email notifications of these errors, all we have to do
>is "Restart after error" and everything continues.
>
>My question:  Is there a way inside the workflow that I can do a
>'restart after error'?  I can see in the Workitem container where the
>Workitemstatus = 'ERROR'.  Is there a workflow step that can be done
>that will let the workflow continue without manually doing the
>"restarting after error" or is there a way that the workflow can tell if
>the work item has already been executed -- that there is already a web
>page open?
>
>Any help would be appreciated.
>
>Sue Doughty
>
>
>****************************
>CONFIDENTIALITY NOTICE: The information contained in this message may be
>confidential, privileged, proprietary, or otherwise legally exempt from
>disclosure. If the reader of this message is not the intended recipient,
>or an employee or agent responsible for delivering this message to the
>intended recipient, you are hereby notified that you are not authorized
>to read, print, retain, copy or disseminate this message, any part of
>it, or any attachments. If you have received this message in error,
>please delete this message and any attachments from your system without
>reading the content and notify the sender immediately of the inadvertent
>transmission. Thank you for your cooperation.
>
>
>
>****************************
>CONFIDENTIALITY NOTICE: The information contained in this message may be 
>confidential, privileged, proprietary, or otherwise legally exempt from 
>disclosure. If the reader of this message is not the intended recipient, or 
>an employee or agent responsible for delivering this message to the 
>intended recipient, you are hereby notified that you are not authorized to 
>read, print, retain, copy or disseminate this message, any part of it, or 
>any attachments. If you have received this message in error, please delete 
>this message and any attachments from your system without reading the 
>content and notify the sender immediately of the inadvertent transmission. 
>Thank you for your cooperation.


>_______________________________________________
>SAP-WUG mailing list
>SAP-WUG at mit.edu
>http://mailman.mit.edu/mailman/listinfo/sap-wug

_________________________________________________________________
Search for grocery stores. Find gratitude. Turn a simple search into 
something more. 
http://click4thecause.live.com/search/charity/default.aspx?source=hmemtagline_gratitude&FORM=WLMTAG




More information about the SAP-WUG mailing list