Creating more than one subtype

rina spector rina.spector at ness.com
Thu Jan 31 07:22:35 EST 2008


Hello  Zsolt 
 
- You can  subtype draw  to you own object (for E.x., YDRAW)  and define the delegation from 
ZDRAW->  newly created YDRAW   
. it should work   
 we encounted same problem when upgrading to ecc6 we discovered that bus2012 was already delegated to AD2012 
 
and after some panic when we delegated our object after thelatter  all  worked fine.best regards 
Rina Spector 
Workflow developper 
NessIT 
 
 
מאת: sap-wug-bounces at mit.edu בשם M?rton Zsolt
נשלח: ה 31/01/2008 12:53
אל: SAP Workflow Users' Group 
________________________________


נושא: RE: Creating more than one subtype



Hi
Thanks for quick reply. I like your solution but I'm a litle bit confused about the "existencecheck" enhancement?
That means, that you modified the standard DRAW object?

Thanks

-----Original Message-----
From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf Of Catherall, Andy M
Sent: Thursday, January 31, 2008 11:21 AM
To: SAP Workflow Users' Group
Subject: RE: Creating more than one subtype

Hi Zsolt

We have severall workflows using ZDRAW, and that object was starting to get a bit complicated. When I started a new workflow development, I created a new DIR type (ZMC) and created a new subtype of draw (ZDRAWZMC). I enhanced the "existencecheck" method so that this object would only exist if the DIR type matched, and it would only have methods/attrributes pertinent to workflows that used this DIR type. I also created an attribute on ZDRAW that linked to  ZDRAWZMC, so that the workflow could get to my new object from the start event (DRAW-CREATED).

However, the important detail is that I did NOT delegate, as DRAW is already delegated to ZDRAW. The workflow I used employed methods on ZDRAWZMC when necessary (including those from DRAW, which of course are still inherited), but did not need the delegation to exist.

Hope this is of use.
Andy Catherall
Technical Analyst - SAP Workflow & DMS


-----Original Message-----
From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf Of M?rton Zsolt
Sent: 31 January 2008 10:05
To: SAP Workflow Users' Group
Subject: Creating more than one subtype

Hi all
I'm creating a workflow usnig DRAW as business object. At my customer there are several workflows using a ZDRAW subtype. I don't want to modify that custom object, so I'm planning to create my own.
My question is: is this possible to create another custom subtype and delagate to DRAW?

Thanks in advance
Zsolt

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

Please be environmentally friendly - please don't print this email unless you really need to


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

This email (including any attachment) is confidential and may contain privileged information. 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 e-mail to us at mailerror at csplc.com and destroy all copies.
Any views expressed by individuals within this e-mail do not necessarily reflect the views of Cadbury Schweppes Plc or any of its subsidiaries' or affiliates'. This email does not constitute a binding offer, acceptance, amendment, waiver or other agreement, unless such intention is clearly stated in the body of the email.  Whilst we have taken reasonable steps to ensure that this e-mail and attachments are free from viruses, recipients are advised to subject this mail to their own virus checking, in keeping with good computing practice.
Please note that e-mail received by Cadbury Schweppes Plc or its subsidiaries or affiliates may be monitored in accordance with applicable law.

Cadbury Schweppes plc registered in England, Company Number 00052457
whose Registered Office is at 25 Berkeley Square, London, W1J 6HB United Kingdom
Telephone:+44 (0) 20 7409 1313 Fax:+44 (0) 20 7830 5200
-----------------------------------------

_______________________________________________
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









The information contained in this communication is intended solely for
the use of the individual or entity to whom it is addressed and others 
authorized to receive it.   It may contain confidential or legally 
privileged information.   If you are not the intended recipient you are 
hereby notified that any disclosure, copying, distribution or taking any 
action in reliance on the contents of this information is strictly prohibited 
and may be unlawful. If you have received this communication in error, 
please notify us immediately by forwarding this email to 
MailAdmin at ness.com and then delete it from your system.

Ness technologies is neither liable for the proper and complete 
transmission of the information contained in this communication nor for 
any delay in its receipt.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 7215 bytes
Desc: not available
Url : http://mailman.mit.edu/pipermail/sap-wug/attachments/20080131/c0722dd4/attachment.bin


More information about the SAP-WUG mailing list