Finding Workitems for a Document

Griffiths, Mark mark.griffiths at sap.com
Thu Dec 16 06:56:54 EST 2004


You could also try transaction SWi6 - standard report for workitems for
an object.

	-----Original Message-----
	From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu]
On Behalf Of koenraad.janssens at sidmar.arcelor.com
	Sent: 16 December 2004 10:38
	To: sap-wug at mit.edu
	Subject: Re: Finding Workitems for a Document
	
	

	Maybe you could use: 
	SAP_WAPI_WORKITEMS_TO_OBJECT with the various selection status
variants: 
	
	'0000' : all instances 
	'0001' : active instances 
	'0002': finished instances 
	'0003': active instances (all) 
	
	You have an indicator to specify if you only want top level (WS)
items or everything.  (incl. TS) 
	
	Kind regards 
	
	Koenraad 
	
	
	
	
	Lyal.Schumann at rmc.co.uk 
Sent by: sap-wug-bounces at mit.edu 

16/12/2004 11:14 
Please respond to sap-wug 


        
        To:        sap-wug at mit.edu 
        cc:         
        Subject:        Finding Workitems for a Document



	Howzit WF'ers 
	  
	I need to get the workitems attached to a specific document. In
the past, I have have merrily used function module
SWI_WORKITEMS_OF_OBJECT_GET to get these. However, on testing this, it
seems that it doesn't return the workitems of any sub-workflows that
happen to be raised in the process. I know I could then use something
like SWI_GET_DEPENDENT_WORKITEMS to get workitems for the sub-workflows
after running the first function module. 
	  
	But, this just feels like duplication of work, and I can't help
feeling that there must be a far more elegant solution lurking out
there! 
	  
	Anyone know what this solution is? 
	  
	Cheers 
	  
	Lyal 

	IMPORTANT: This email is intended for the use of the individual
addressee(s) named above and may contain information that is
confidential, privileged or unsuitable for overly sensitive persons with
low self-esteem, no sense of humour or irrational religious beliefs. If
you are not the intended recipient, any dissemination, distribution or
copying of this email is not authorised (either explicitly or
implicitly) and constitutes an irritating social faux pas.
Environmentalists will be pleased to know that no animals were harmed in
the transmission of this email, and the message is composed of 100%
recycled electrons. 

	Those of you with an overwhelming fear of the unknown will be
gratified to learn that there is no hidden message revealed by reading
this warning backwards or upside-down, so please ignore any conspiracy
theories to the contrary. If you have received this email in error,
please add some nutmeg and egg whites, whisk and place in a warm oven
for 40 minutes. 

	
	
	
	
**********************************************************************
	This email and any files transmitted with it are confidential
and intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
	
	This email is sent by a member of the RMC Group p.l.c. group of
Companies.
	RMC Group p.l.c. is registered in England under company no.
249776. The registered office address of RMC Group and its UK
subsidiaries is RMC House, Coldharbour Lane, Thorpe, Egham, Surrey TW20
8TD.
	
	This footnote also confirms that this email has been swept by
MIMEsweeper for the presence of computer viruses.
	
	www.mimesweeper.com
	
**********************************************************************__
_____________________________________________
	SAP-WUG mailing list
	SAP-WUG at mit.edu
	http://mailman.mit.edu/mailman/listinfo/sap-wug
	
	
	
	
	
************************************************************************
***********
	This message should only be read by those persons to whom it is 
	addressed, and may contain confidential information, the
disclosure 
	of which is prohibited. This message is not intended to create
rights 
	or obligations without subsequent written confirmation of its
contents. 
	If you have received this message in error, please notify us
immediately 
	
************************************************************************
***********
	

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20041216/d90e80f0/attachment.htm


More information about the SAP-WUG mailing list