Creating more than one subtype

Catherall, Andy M andy.m.catherall at csplc.com
Thu Jan 31 05:20:33 EST 2008


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 
-----------------------------------------




More information about the SAP-WUG mailing list