Webservice Dialog - restart after error

Srinivasan Ramanan r_m_n_n at hotmail.com
Tue Feb 13 09:46:05 EST 2007


Let me know some more details :
BO is WEBSERVICE
Are u using a custom workflow? Then what is the method executed by BO? Is it 
an extended object method?

-----
anyway some info about how to use Enqueue and Dequeue

Look for the table structure used by BO webservice.
And in ABAP look for ( using SE80 - Dictionary tab , select 'Lock object' 
and search for )
Use FM 'ENQUEUE_E*' where * is the lock object name .

you have to use the FM ENQUEUE in the BO's method.
After completion of filling the form, then use FM ...DEQUEUE.

Thus once while some one is executing the object's method, the exclusive 
lock will not allow the execution of method by some other agents logon or by 
same users other session.

Since we do not have this BO in my current client system, I could not 
actually get you the lock objetc name.


regards
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: Tue, 13 Feb 2007 08:08:36 -0500
>
>Srinivasan,
>
>Thank you for the information.
>
>The BO is WEBSERVICE.  How would I set up an "Enqueue"?
>
>
>Sue Doughty
>
>
>
>-----Original Message-----
>From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
>Of Srinivasan Ramanan
>Sent: Monday, February 12, 2007 4:20 PM
>To: sap-wug at mit.edu
>Subject: RE: Webservice Dialog - restart after error
>
>
>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=hmemta
>gline_gratitude&FORM=WLMTAG
>
>_______________________________________________
>SAP-WUG mailing list
>SAP-WUG at mit.edu
>http://mailman.mit.edu/mailman/listinfo/sap-wug
>
>
>****************************
>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

_________________________________________________________________
Don’t miss your chance to WIN 10 hours of private jet travel from Microsoft 
Office Live http://clk.atdmt.com/MRT/go/mcrssaub0540002499mrt/direct/01/




More information about the SAP-WUG mailing list