Terminating Events Generate Feedback After Error

Florin Wach florin.wach at gmx.net
Tue Jun 10 08:36:25 EDT 2008


Hi Sandy,

to keep you busy:
Go into the test-client, call SWO1 and press the generate-button there. You could also think of using transaction SWU_OBUF in the test-client, but only as a last resort, as it /may/ corrupt your workflow definition.

-------- Original-Nachricht --------
> Datum: Tue, 10 Jun 2008 19:41:03 +0800
> Von: Sandy <maorriyan.santoso at gmail.com>
> An: "SAP Workflow Users\' Group" <sap-wug at mit.edu>
> Betreff: Re: Terminating Events Generate Feedback After Error

> Hi Florin.
> I tried to simply my issue by involving single workflow task.
> 
> Instead of delete, I created new event "DECLINED" and still part of my
> custom object type. I created new asynchronous method and attached to my
> new
> single dialog asynchronous task.
> My asynchronous single task has business object type and event in
> terminating events tab with binding &_EVT_OBJECT& --> &_WI_OBJECT_ID&
> And this time I didn't touch SWEINST.
> 
> For your information, creation of objects (DEV140) and test is in
> different
> client (DEV150)
> 
> SWUE executed with object key and new event "DECLINED" and event trace
> says
> "No receiver entered"
> 
> I read correspondence between Paul Baker & Jocelyn D which was similar
> issue
> with me but the solution doesn't work for my case
> 
> 
> On Tue, Jun 10, 2008 at 4:37 PM, Florin Wach <florin.wach at gmx.net> wrote:
> 
> > I would first delete the entry (with all dependend entries) of the
> instance
> > linkage BUS.ACCEPTED using transaction SWEINST.
> > Then create a new workflow instance. The instance linkage should come
> all
> > by itself with activated linkage. By the way: The receiver function is
> > SWW_WI_COMP_EVENT_RECEIVE and not SWW_WI_CREATE_VIA_EVENT.
> > To analyze the error, please check transaction SM58 tRFC queue, as well.
> > Also check for short dumps, transaction ST22
> >
> >
> > -------- Original-Nachricht --------
> > > Datum: Tue, 10 Jun 2008 16:30:12 +0800
> > > Von: Sandy <maorriyan.santoso at gmail.com>
> > > An: "SAP Workflow Users\' Group" <sap-wug at mit.edu>
> > > Betreff: Re: Terminating Events Generate Feedback After Error
> >
> > > Well..it seems the simplest one become bottle neck.
> > >
> > > I believe if the event hasn't been released it won't appear in the
> event
> > > trace.
> > >
> > > I try to re-design my workflow.
> > > I removed any thing from "Terminating events" tab.
> > > I use Fork step with 2 branches (necessary branches = 2) where one of
> > them
> > > is wait step.
> > > Inside my wait step contains my business object type as my container
> > > element
> > > and "ACCEPTED" in Event section.
> > >
> > > I test this from SWUE by populating appropriate object key for event
> > > "ACCEPTED".
> > > Instance linkage has my business object type and event "ACCEPTED" with
> > > receiver type WORKITEM and active linkage.
> > > I believe nothing wrong in this section...
> > >
> > > After execution of SWUE still column Handler/Action in event trace
> > > contains
> > > SWW_WI_CREATE_VIA_EVENT_IBF,  Event put in queue and  error  "Feedback
> > > after
> > > error"
> > >
> > > Any clue?
> > >
> > >
> > >
> > > On Tue, Jun 10, 2008 at 3:28 PM, Florin Wach <florin.wach at gmx.net>
> > wrote:
> > >
> > > > No clue.
> > > >
> > > > I would suggest to re-create the task. Also check in the business
> > > object,
> > > > if your event is marked as "implemented or released"
> > > >
> > > >
> > > >
> > > >
> > > > -------- Original-Nachricht --------
> > > > > Datum: Tue, 10 Jun 2008 10:53:50 +0800
> > > > > Von: Sandy <maorriyan.santoso at gmail.com>
> > > > > An: "SAP Workflow Users\' Group" <sap-wug at mit.edu>
> > > > > Betreff: Re: Terminating Events Generate Feedback After Error
> > > >
> > > > > Hi Florin & Rick.
> > > > >
> > > > > Yes the binding on the task level (terminating tab) is there.
> > > > > Element _WI_OBJECT_ID and event "ACCEPTED"
> > > > >
> > > > > Binding details as per standards, &_EVT_CREATOR& --> &INITIATOR
> and
> > > > > &_EVT_OBJECT& --> &_WI_OBJECT_ID&
> > > > >
> > > > > Linkage will not change on error feedback. So the event linkage
> > always
> > > > > active.
> > > > >
> > > > > Any other clues?
> > > > >
> > > > > Thanks
> > > > >
> > > > > On Mon, Jun 9, 2008 at 9:59 PM, Sample, Rick <
> > Rick.Sample at graybar.com>
> > > > > wrote:
> > > > >
> > > > > > Check the binding details. What are the settings? Linkage still
> > show
> > > > > > activated? "Behavior upon feedback..."?
> > > > > >
> > > > > >
> > > > > > Rick Sample
> > > > > > SAP Business Workflow Developer
> > > > > > Graybar, Inc.
> > > > > > 11885 Lackland Dr.
> > > > > >
> > > > > >
> > > > > > -----Original Message-----
> > > > > > From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu]
> On
> > > > Behalf
> > > > > > Of Florin Wach
> > > > > > Sent: Monday, June 09, 2008 6:45 AM
> > > > > > To: SAP Workflow Users' Group
> > > > > > Subject: Re: Terminating Events Generate Feedback After Error
> > > > > >
> > > > > > Hello Sandy,
> > > > > >
> > > > > > in the task-definition (the one with the TS) there's a tab
> > > "Terminating
> > > > > > events". Please check that there's an entry there for
> _WI_OBJECT_ID
> > > and
> > > > > > event ACCEPTED. Any missing instance-linkages will be generated
> by
> > > the
> > > > > > system upon task instantiation.
> > > > > >
> > > > > > Best wishes,
> > > > > >   Florin
> > > > > >
> > > > > > -------- Original-Nachricht --------
> > > > > > > Datum: Mon, 9 Jun 2008 17:58:01 +0800
> > > > > > > Von: Sandy <maorriyan.santoso at gmail.com>
> > > > > > > An: "SAP Workflow - MIT" <sap-wug at mit.edu>
> > > > > > > Betreff: Terminating Events Generate Feedback After Error
> > > > > >
> > > > > > > Hi All.
> > > > > > > My custom workflow has asynchronous task where the terminating
> > > events
> > > > > > > trigger from ABAP program and passed some data.
> > > > > > > This task will completed upon custom event "ACCEPTED" raised
> in
> > > the
> > > > > > system
> > > > > > > based on certain keyfield and continue next steps.
> > > > > > > Terminating events tab contains element _WI_OBJECT_ID and my
> > > custom
> > > > > > event
> > > > > > > "ACCEPTED".
> > > > > > >
> > > > > > > I though this is the only step that I need to do and of course
> > > wait
> > > > > > step.
> > > > > > >
> > > > > > > However when I test this terminating event via SWUE with
> proper
> > > > object
> > > > > > > key,
> > > > > > > event trace transaction reported event *"ACCEPTED" for task
> > > > TS95000052
> > > > > > not
> > > > > > > defined as start/end event*.
> > > > > > >
> > > > > > > I check in instance linkage transaction, linkage is activated
> for
> > > my
> > > > > > > object
> > > > > > > type, "ACCEPTED" and receiver type "WORK ITEM".
> > > > > > > Event type linkages between event and my asynchronous task
> also
> > > > > > active.
> > > > > > >
> > > > > > > Will someone give me a clue, what should I do to resolve this
> > > issue?
> > > > > > >
> > > > > > > Many Thanks
> > > > > > _______________________________________________
> > > > > > SAP-WUG mailing list
> > > > > > SAP-WUG at mit.edu
> > > > > > http://mailman.mit.edu/mailman/listinfo/sap-wug
> > > > > >
> > > > > > _______________________________________________
> > > > > > SAP-WUG mailing list
> > > > > > SAP-WUG at mit.edu
> > > > > > http://mailman.mit.edu/mailman/listinfo/sap-wug
> > > > > >
> > > > _______________________________________________
> > > > SAP-WUG mailing list
> > > > SAP-WUG at mit.edu
> > > > http://mailman.mit.edu/mailman/listinfo/sap-wug
> > > >
> > _______________________________________________
> > SAP-WUG mailing list
> > SAP-WUG at mit.edu
> > http://mailman.mit.edu/mailman/listinfo/sap-wug
> >



More information about the SAP-WUG mailing list