_adhoc_object stopping WI execution!

Catherall, Andy andy.m.catherall at cadbury.com
Tue Mar 9 10:05:51 EST 2010


Hi guys
 
I have a (4.6c) workflow that will not allow me to execute the work item
because it complains that an "object cannot be created".
 
This is correct. The object (BUS2094) has been deleted.
 
The annoying aspect is that I am not using BUS2094 anywhere on either
the method or work item that is throwing the error. There is absolutely
no reference to this (deleted) object on the node/task/method.
 
However...
 
Earlier in the workflow, there is a decision task. In order to give the
users the ability to make an informed decision, I have allocated the
BUS2094 as an adhoc object (_adhoc_object) to this step. From this point
on, the workflow contains the BUS2094 on the adhoc objects list, and so
this reference is being passed into my troublesome step.
 
There doesn't seem to be anything I can do at design-time within the
workflow design to remove this object from the Adhoc list, and yet at
run time, the work item execution code (specifically macro
SWC_CONTAINER_CONVERT within SWO_INVOKE within SWW_WW_EXECUTE_S_NEW...)
is showing the same concern over the adhoc object validity as it does
for objects that are actually required for the method execution.
 
Great.
 
I'm about to try a messy 'after' method using SAP_WAPI_WRITE_CONTAINER
to try to remove the BUS2094 as soon as possible, but this strikes me as
a poor solution.
 
OSS hunts have so far not struck gold. Any suggestions?
 
Thanks

Andy Catherall 
Technical Analyst - SAP Workflow, IXOS & DMS 

 

Int: 751 0556 
Ext: +44 (0)121 486 0556 
Mobile: +44 (0)7813 025481 

 

 
The Cadbury Cocoa Partnership is working to secure the future of cocoa farming around the world. Cadbury Dairy Milk bars are now Fairtrade certified in the UK and Ireland. Visit http://www.cadbury.com/ to learn more.
 
Be part of our "Purple Goes Green" commitments and don't print this email.
 

-----------------------------------------
 
This email (including any attachment) is confidential and may contain privileged information and is intended for the use of the individual(s) to whom it is addressed. If you are not the intended recipient or receive it in error, you may not use, distribute, disclose or copy any of the information contained within it and it may be unlawful to do so. If you are not the intended recipient please notify us immediately by returning this email to us at mailto:mailerror at cadbury.com and destroy all copies.
Any views expressed by individuals within this email do not necessarily reflect the views of Cadbury Holdings Ltd or any of its subsidiaries or affiliates. This email does not constitute a binding offer, acceptance, amendment, waiver or other agreement, or create any obligation whatsoever, unless such intention is clearly stated in the body of the email. Whilst we have taken reasonable steps to ensure that this email and any attachments are free from viruses, recipients are advised to subject this email to their own virus checking, in keeping with good computing practice. We accept no liability for any damage sustained as a result of any viruses. Please note that email received by Cadbury Holdings Ltd or its subsidiaries or affiliates may be monitored in accordance with applicable law.
This email originates from Cadbury Holdings Ltd ("Cadbury") or Cadbury UK ("Cadbury UK") as the case may be.
 
Cadbury Holdings Ltd: registered in England and Wales, registered no. 52457
Registered office address: Cadbury House, Sanderson Road, Uxbridge, Middlesex, UB8 1DH United Kingdom. Telephone: +44 (0)1895 615000  Fax:+44 (0)1895 615001  
 
Cadbury UK: a partnership of Cadbury UK Ltd, Trebor Bassett Ltd and The Old Leo Company Ltd. each of which is registered in England and Wales.
Principal trading address: Cadbury House, Sanderson Road, Uxbridge, Middlesex, UB8 1DH United Kingdom. Telephone: +44 (0)1895 615000  Fax:+44 (0)1895 615001  

-----------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20100309/1999c37a/attachment.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 772 bytes
Desc: cadburylogoEmail.gif
Url : http://mailman.mit.edu/pipermail/sap-wug/attachments/20100309/1999c37a/attachment.gif


More information about the SAP-WUG mailing list