Work item to call an enhancement

Read, Tony Tony.Read at woodside.com.au
Wed Sep 17 18:57:33 EDT 2008


Yes correct. We use OO classes as BOR and by attaching the class it
appears as an attachment and by clicking it it will run the default
class (your enhancement). If you need an example let me know.
 

Regards 
Anthony Read 

SAP ABAP Consultant 
Woodside SAP Services 
Tel     +61 (08) 9348 4428 
Fax    +61 (08) 9348 5387 
Anthony.read at woodside.com.au 

 

________________________________

From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
Of Gavin Mooney
Sent: Wednesday, 17 September 2008 3:19 PM
To: SAP Workflow Users' Group
Subject: Re: Work item to call an enhancement


Hi Tony, 
 
Let me check if I've understood you correctly. I create a new BOR object
which has a default method which executes the enhancement. I bind in
this object so it appears as a link in the work item. Then the user can
click on it to execute the enhancement if needed? 
 
Could I do that with an OO class - can you just bind an OO instance in
to a work item so it appears as a link?
 
I think this approach would work, although it seems a shame to create a
new object/class just for the purpose. 
 
Thanks, 
Gavin

 
On 17/09/2008, Read, Tony <Tony.Read at woodside.com.au> wrote: 

	Can you not call the enhancement via a method and instantiate
the class and pass that to the work item like a BOR attachment.
	 

	Regards 
	Anthony Read 

	SAP ABAP Consultant 
	Woodside SAP Services 
	Tel     +61 (08) 9348 4428 
	Fax    +61 (08) 9348 5387 
	Anthony.read at woodside.com.au 

	 

________________________________

	From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu]
On Behalf Of Gavin Mooney
	Sent: Wednesday, 17 September 2008 1:00 PM
	To: SAP Workflow Users' Group
	Subject: Work item to call an enhancement
	
	 
	
	Hi everyone, 
	 
	I have a requirement for a work item. It needs to have a link to
a couple of BOR objects (that's fine - we can just bind them in) and
also a link to a custom enhancement. The users may not need to use all
of these links, but they have to have the option should they need to. To
call the enhancement we could use the method on the work item task but
the problem is that if we did it this way then the enhancement would be
called any time the user executes the work item, and many users seem to
execute work items without realising it by double clicking to display
them (rather than selecting the work item from the list and clicking
display). 
	 
	Is there an easy way around this? We could make the work item a
decision task where if the user wants to call the enhancement they
select that option and the workflow calls the enhancement in the
subsequent step. The problem with that is if the user clicks to execute
the enhancement and then wants to go back to view the objects that we're
binding in. It just all seems to get a bit messy. 
	 
	Hope I'm missing something obvious!
	Thanks, 
	Gavin
	NOTICE: This email and any attachments are confidential. 
	They may contain legally privileged information or 
	copyright material. You must not read, copy, use or 
	disclose them without authorisation. If you are not an 
	intended recipient, please contact us at once by return 
	email and then delete both messages and all attachments.

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



NOTICE: This email and any attachments are confidential. 
They may contain legally privileged information or 
copyright material. You must not read, copy, use or 
disclose them without authorisation. If you are not an 
intended recipient, please contact us at once by return 
email and then delete both messages and all attachments.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20080918/c810d31f/attachment.htm


More information about the SAP-WUG mailing list