Workflow getting triggered via 'Workflow started' and not

Prasad, Prashanthi pprasad at citgo.com
Tue Nov 25 09:54:12 EST 2008


 Hello,

  My event queue is turned off and yes everytime there is an entry in
SM58. How do I make it work? What is the solution for this?

For some users it works fine. For some users it get hung. Please advise

-----Original Message-----
From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
Of sap-wug-request at mit.edu
Sent: Tuesday, November 25, 2008 3:11 AM
To: sap-wug at mit.edu
Subject: SAP-WUG Digest, Vol 48, Issue 52

Send SAP-WUG mailing list submissions to
	sap-wug at mit.edu

To subscribe or unsubscribe via the World Wide Web, visit
	http://mailman.mit.edu/mailman/listinfo/sap-wug
or, via email, send a message with subject or body 'help' to
	sap-wug-request at mit.edu

You can reach the person managing the list at
	sap-wug-owner at mit.edu

When replying, please edit your Subject line so it is more specific than
"Re: Contents of SAP-WUG digest..."


Today's Topics:

   1. Workflow getting triggered via 'Workflow started' and not via
      (Prasad, Prashanthi)
   2. ESS Text Update  (Correia, Marc (IST))
   3. Re: Workflow getting triggered via 'Workflow started' and not
      via (Rick Bakker)
   4. Re: Executing UWL Workitem from SAP R/3 as WF-ADMIN (Ramki Maley)
   5. RE: Executing UWL Workitem from SAP R/3 as WF-ADMIN (Andy Curtis)


----------------------------------------------------------------------

Message: 1
Date: Mon, 24 Nov 2008 16:42:43 -0600
From: "Prasad, Prashanthi" <pprasad at citgo.com>
Subject: Workflow getting triggered via 'Workflow started' and not via
To: <sap-wug at mit.edu>
Message-ID: <1C4FBC75F56DE54B9668639995F466B14D0FF6 at houex01.citgo.com>
Content-Type: text/plain;	charset="us-ascii"

 We are on ECC 6.0.

The first step in my WF is a background step where it checks if the user
has authorization for to approve this mount. A variable is set to '0'(if
the user has auth) and set to '1'(if user does not have auth). After
this is a condition step to check this variable. If this variable is
'0', WF takes a path where it gets released via a BAPI. If the variable
value is '1', it has to take another path where it finds the user's
supervisor.
My WF gets hung in the first background step. In the log, no work item
gets created. I get a 'System overloaded, repeat batch immediately' in
the 'Display event trace' screen and in the last tab. I went and
executed in SM58 but still it stays there.

-----Original Message-----
From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
Of sap-wug-request at mit.edu
Sent: Monday, November 24, 2008 4:27 PM
To: sap-wug at mit.edu
Subject: SAP-WUG Digest, Vol 48, Issue 51

Send SAP-WUG mailing list submissions to
	sap-wug at mit.edu

To subscribe or unsubscribe via the World Wide Web, visit
	http://mailman.mit.edu/mailman/listinfo/sap-wug
or, via email, send a message with subject or body 'help' to
	sap-wug-request at mit.edu

You can reach the person managing the list at
	sap-wug-owner at mit.edu

When replying, please edit your Subject line so it is more specific than
"Re: Contents of SAP-WUG digest..."


Today's Topics:

   1. Executing UWL Workitem from SAP R/3 as WF-ADMIN (shaurya jain)
   2. SAP_WAPI_EXECUTE_WORKITEM (Dave J Dartnell)
   3. RE: Executing UWL Workitem from SAP R/3 as WF-ADMIN
      (Munday,Sherie J.)
   4. Re: Empty workflow folder (Rick Bakker)
   5. Workflow getting triggered via 'Workflow started' and not via
      events (Prasad, Prashanthi)
   6. Re: Workflow getting triggered via 'Workflow started' and not
      via	events (Rick Bakker)


----------------------------------------------------------------------

Message: 1
Date: Mon, 24 Nov 2008 23:21:09 +0530
From: "shaurya jain" <jain.shaurya at gmail.com>
Subject: Executing UWL Workitem from SAP R/3 as WF-ADMIN
To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
Message-ID:
	<4f6198f00811240951q22b67b73n4a8f232fc5aa8e30 at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Hi Experts,

I want to execute a workitem present in someone's UWL as a workflow
admin from SAP R/3. When I am trying to do so from SWI1 by going to
technical display of workitem & activating administration it is giving
me a message that "The request cannot be started from Business
Workplace".

Is there a way that being a WF-ADMIN I can execute this workitem from
SAP
R/3 or Business Workplace or it can be done only from UWL?

Please advice.

Regards,
Shaurya Jain
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://mailman.mit.edu/pipermail/sap-wug/attachments/20081124/99afc407/a
ttachment-0001.htm

------------------------------

Message: 2
Date: Mon, 24 Nov 2008 18:22:08 +0000
From: Dave J Dartnell <dave_dartnell at uk.ibm.com>
Subject: SAP_WAPI_EXECUTE_WORKITEM
To: sap-wug at mit.edu
Message-ID:
	
<OF28697829.1F7EA40A-ON8025750B.00643D6E-8025750B.0064E834 at uk.ibm.com>
Content-Type: text/plain; charset="us-ascii"

Hi all,

We're using SAP_WAPI_EXECUTE_WORKITEM to execute a multi-step workflow.
It has a dialog step which executes OK but the subsequent background
task hangs in status STARTED. I've made agent assignment at the workflow
level, even made the workflow a general task
without success.      Is anyone aware of any restrictions for using 
SAP_WAPI_EXECUTE_WORKITEM?

 All advice will be gratefully received:-). 

thanks,
Dave Dartnell






Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number
741598. 
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6
3AU





-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://mailman.mit.edu/pipermail/sap-wug/attachments/20081124/9a4c9201/a
ttachment-0001.htm

------------------------------

Message: 3
Date: Mon, 24 Nov 2008 13:58:06 -0500
From: "Munday,Sherie J." <MUNDAYSJ at airproducts.com>
Subject: RE: Executing UWL Workitem from SAP R/3 as WF-ADMIN
To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
Message-ID:
	
<378A0CA475247F408FC92DDE5143B454010D93EB at US1013EXMP.america.apci.com>
Content-Type: text/plain; charset="us-ascii"

Shaurya Jain,

 

You should be able to process it with SWI5.  Just bring up the agents
workitems to be processed, double click on the workitem and execute on
the activities tab.

 

Regards,

Sherie 

 

Sherie Munday

Workflow Developer/ Analyst    

Air Products & Chemicals, Inc.

 

From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
Of shaurya jain
Sent: Monday, November 24, 2008 12:51 PM
To: SAP Workflow Users' Group
Subject: Executing UWL Workitem from SAP R/3 as WF-ADMIN

 

Hi Experts,

 

I want to execute a workitem present in someone's UWL as a workflow
admin from SAP R/3. When I am trying to do so from SWI1 by going to
technical display of workitem & activating administration it is giving
me a message that "The request cannot be started from Business
Workplace".

 

Is there a way that being a WF-ADMIN I can execute this workitem from
SAP R/3 or Business Workplace or it can be done only from UWL?

 

Please advice.

 

Regards,

Shaurya Jain

-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://mailman.mit.edu/pipermail/sap-wug/attachments/20081124/6ddc4b97/a
ttachment-0001.htm

------------------------------

Message: 4
Date: Mon, 24 Nov 2008 11:53:27 -1000
From: "Rick Bakker" <rbakker at gmail.com>
Subject: Re: Empty workflow folder
To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
Message-ID:
	<7a3a922f0811241353m3d5f9a2cpbe4dea13b58e4ed8 at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

Hello Thad,

What sort of filter is used to get workitems into the 'Enter Invoice'
folder?
Could it be a language issue?

Also, what version are you on?

regards,
Rick Bakker
Hanabi Technology

On 11/24/08, workflow at optonline.net <workflow at optonline.net> wrote:
>
>
> Dear All -
>
>
>
> I have a bizarre issue:
>
>
>
> 1) In SBWP when our European users drill down to a specific workflow
folder,
> ' Enter Invoice', the folder is there, but no workitems listed.
>
> 2) When a user double clicks on "workflow" folder (the one provided by

> workflow engine), without drilling down to that specific folder, the 
> workitems are visible on that level.
>
>
>
> Our American users do not have this issue, just our small group of
users in
> Europe. The issue started for no apparent reason. Additional security 
> profile was added for those users that day, but even when that profile
was
> taken away the issue persisted. No other changes to the system were 
> determined.
>
>
>
> I have gone through OSS notes but have not found anything related
there.
>
>
>
> Any hints/tips would be much appreciated.
>
>
>
> Best Regards.Thad Gorbal
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
>
>


------------------------------

Message: 5
Date: Mon, 24 Nov 2008 16:00:33 -0600
From: "Prasad, Prashanthi" <pprasad at citgo.com>
Subject: Workflow getting triggered via 'Workflow started' and not via
	events
To: <sap-wug at mit.edu>
Message-ID: <1C4FBC75F56DE54B9668639995F466B14D0F94 at houex01.citgo.com>
Content-Type: text/plain; charset="us-ascii"

Dear SAP Gurus,

   I have a workflow for the debit/credit memo create and approve.
Whenever I create a debit/credit memo within my limits(I have
authorization upto 500,000), it gets automatically released from a BAPI.
When I create a D/C memo above 500K, it has to go to my supervisor. This
WF is been working fine since years. Recently a user said whenever she
creates a memo above her limits, it is getting hung.
The event gets created but no workitem is created. I can see the log via
SWI2_FREQ and only there I see the workflow was started but not via the
events. When I go to the WF log and hit the grapic display, the WF has
started from the 'Workflow started' and not from the events.
The event is being raised from SWE_CREATE_EVENT. Please advise.

Prashanthi Prasad
Off: 832-486-4899

-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://mailman.mit.edu/pipermail/sap-wug/attachments/20081124/606a5686/a
ttachment-0001.htm

------------------------------

Message: 6
Date: Mon, 24 Nov 2008 12:26:14 -1000
From: "Rick Bakker" <rbakker at gmail.com>
Subject: Re: Workflow getting triggered via 'Workflow started' and not
	via	events
To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
Message-ID:
	<7a3a922f0811241426h4d47563eo875126c49847de5 at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

Hello,

You say it is getting hung, what is the exact status of the workitem?
Has it been routed to the user's supervisor? Perhaps you could check if
the rule which is looking for her supervisor supplies a result, by
running it separately.

What release are you on?

regards
Rick Bakker
Hanabi Technology

On 11/24/08, Prasad, Prashanthi <pprasad at citgo.com> wrote:
>
>
> Dear SAP Gurus,
>
>    I have a workflow for the debit/credit memo create and approve.
Whenever
> I create a debit/credit memo within my limits(I have authorization
upto
> 500,000), it gets automatically released from a BAPI. When I create a
D/C
> memo above 500K, it has to go to my supervisor. This WF is been
working fine
> since years. Recently a user said whenever she creates a memo above
her
> limits, it is getting hung.
>
> The event gets created but no workitem is created. I can see the log
via
> SWI2_FREQ and only there I see the workflow was started but not via
the
> events. When I go to the WF log and hit the grapic display, the WF has

> started from the 'Workflow started' and not from the events.
>
> The event is being raised from SWE_CREATE_EVENT. Please advise.
>
> Prashanthi Prasad
> Off: 832-486-4899
> _______________________________________________
> 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


End of SAP-WUG Digest, Vol 48, Issue 51
***************************************



------------------------------

Message: 2
Date: Tue, 25 Nov 2008 08:46:05 +1000
From: "Correia, Marc (IST)" <Marc.Correia at riotinto.com>
Subject: ESS Text Update
To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
Message-ID:
	
<A8464ECAE29A324196769E03389BAE41012A386F at RTSSBREX01.cal.riotinto.org>
Content-Type: text/plain;	charset="us-ascii"

Hi Experts, does anyone have any idea how the below can be achieved?

There is a table that is updated with text in ESS leave and the table
name is PTREQ_NOTICE. I can't find a bapi or function that updates this
however. We are building a prototype to do leave approval and rejection
on Blackberry and this brings the problem that when you reject a leave
request we need to update the text. 

I found a class CB_PT_REQ_NOTICE that is called by another class
CL_PT_REQ_HEADER which is executed in program RPTARQPOST. 

It seems a bit convoluted to me, does anyone know an easy way to update
this text? Surely it can't be this hard am I am missing something
simple?

Any help would be appreciated. We are on ECC6 enhancement pack 2.

Regards
Marc.

This email is confidential and may also be privileged.  If you are not
the intended recipient, please notify us immediately and delete this
message from your system without first printing or copying it. Any
personal data in this email (including any attachments) must be handled
in accordance with the Rio Tinto Group Data Protection Policy and all
applicable data protection laws.



------------------------------

Message: 3
Date: Mon, 24 Nov 2008 15:19:57 -1000
From: "Rick Bakker" <rbakker at gmail.com>
Subject: Re: Workflow getting triggered via 'Workflow started' and not
	via
To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
Message-ID:
	<7a3a922f0811241719j7de2240bq23361341059c738b at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

Hello,

Are you seeing any errors in SM58? Are you using the event queue and if
so, is it being overwhelmed by too many events?

regards
Rick Bakker
Hanabi Technology

On Mon, Nov 24, 2008 at 12:42 PM, Prasad, Prashanthi <pprasad at citgo.com>
wrote:
>  We are on ECC 6.0.
>
> The first step in my WF is a background step where it checks if the 
> user has authorization for to approve this mount. A variable is set to

> '0'(if the user has auth) and set to '1'(if user does not have auth). 
> After this is a condition step to check this variable. If this 
> variable is '0', WF takes a path where it gets released via a BAPI. If

> the variable value is '1', it has to take another path where it finds 
> the user's supervisor.
> My WF gets hung in the first background step. In the log, no work item

> gets created. I get a 'System overloaded, repeat batch immediately' in

> the 'Display event trace' screen and in the last tab. I went and 
> executed in SM58 but still it stays there.
>

> Message: 5
> Date: Mon, 24 Nov 2008 16:00:33 -0600
> From: "Prasad, Prashanthi" <pprasad at citgo.com>
> Subject: Workflow getting triggered via 'Workflow started' and not via
>        events
> To: <sap-wug at mit.edu>
> Message-ID: <1C4FBC75F56DE54B9668639995F466B14D0F94 at houex01.citgo.com>
> Content-Type: text/plain; charset="us-ascii"
>
> Dear SAP Gurus,
>
>   I have a workflow for the debit/credit memo create and approve.
> Whenever I create a debit/credit memo within my limits(I have 
> authorization upto 500,000), it gets automatically released from a
BAPI.
> When I create a D/C memo above 500K, it has to go to my supervisor. 
> This WF is been working fine since years. Recently a user said 
> whenever she creates a memo above her limits, it is getting hung.
> The event gets created but no workitem is created. I can see the log 
> via SWI2_FREQ and only there I see the workflow was started but not 
> via the events. When I go to the WF log and hit the grapic display, 
> the WF has started from the 'Workflow started' and not from the
events.
> The event is being raised from SWE_CREATE_EVENT. Please advise.
>
> Prashanthi Prasad
> Off: 832-486-4899
>


------------------------------

Message: 4
Date: Mon, 24 Nov 2008 21:40:42 -0500
From: Ramki Maley <rmaley at erpworkflow.com>
Subject: Re: Executing UWL Workitem from SAP R/3 as WF-ADMIN
To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
Message-ID: <492B65AA.6050809 at erpworkflow.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Not if the activity executes a WebDynpro or BSP app. You can use the
'Complete Manually' option from SWIA and choose one of the possible
outcomes of the step.

Cheers,
Ramki Maley.

Munday,Sherie J. wrote:
> Shaurya Jain,
> 
>  
> 
> You should be able to process it with SWI5.  Just bring up the agents 
> workitems to be processed, double click on the workitem and execute on

> the activities tab.
> 
>  
> 
> Regards,
> 
> Sherie
> 
>  
> 
> Sherie Munday
> 
> Workflow Developer/ Analyst   
> 
> Air Products & Chemicals, Inc.
> 
>  
> 
> *From:* sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] *On 
> Behalf Of *shaurya jain
> *Sent:* Monday, November 24, 2008 12:51 PM
> *To:* SAP Workflow Users' Group
> *Subject:* Executing UWL Workitem from SAP R/3 as WF-ADMIN
> 
>  
> 
> Hi Experts,
> 
>  
> 
> I want to execute a workitem present in someone's UWL as a workflow 
> admin from SAP R/3. When I am trying to do so from SWI1 by going to 
> technical display of workitem & activating administration it is giving

> me a message that "The request cannot be started from Business
Workplace".
> 
>  
> 
> Is there a way that being a WF-ADMIN I can execute this workitem from 
> SAP R/3 or Business Workplace or it can be done only from UWL?
> 
>  
> 
> Please advice.
> 
>  
> 
> Regards,
> 
> Shaurya Jain
> 
> 
> ----------------------------------------------------------------------
> --
> 
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug


------------------------------

Message: 5
Date: Tue, 25 Nov 2008 09:10:29 +0000
From: "Andy Curtis" <abcurtis at gmail.com>
Subject: RE: Executing UWL Workitem from SAP R/3 as WF-ADMIN
To: sap-wug at mit.edu
Message-ID:
	<14f090f00811250110i5b9af494yd44320b9cf6eae40 at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

 Shaurya

At a guess I would say that the WI is executing a Web Dynpro and is not
designed to be run within the GUI.

Andy


> ---------- Forwarded message ----------
> From: "shaurya jain" <jain.shaurya at gmail.com>
> To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
> Date: Mon, 24 Nov 2008 23:21:09 +0530
> Subject: Executing UWL Workitem from SAP R/3 as WF-ADMIN Hi Experts,
>
> I want to execute a workitem present in someone's UWL as a workflow 
> admin from SAP R/3. When I am trying to do so from SWI1 by going to 
> technical display of workitem & activating administration it is giving

> me a message that "The request cannot be started from Business
Workplace".
>
> Is there a way that being a WF-ADMIN I can execute this workitem from 
> SAP
> R/3 or Business Workplace or it can be done only from UWL?
>
> Please advice.
>
> Regards,
> Shaurya Jain
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://mailman.mit.edu/pipermail/sap-wug/attachments/20081125/52e2df4e/a
ttachment.htm

------------------------------

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


End of SAP-WUG Digest, Vol 48, Issue 52
***************************************




More information about the SAP-WUG mailing list