<div>G'day Marina,</div>
<div>&nbsp;</div>
<div>I don't know SD particularly well, but it seems to me that you've got a bit confused in SWEC. The ChangeDocObject shouldn't be your business object but the Change Document Object (different kind of object concept). A quick look at the drop down and I guess you'd be looking for VERKBELEG. To be sure you can look at what entries are created in table CDHDR as the 
C.D.O is part of the key.</div>
<div>&nbsp;</div>
<div>Also unless there is a good reason you shouldn't be refering to your ZBILLINGDOC at all but rather using substitution and refering to VBRK. </div>
<div>&nbsp;</div>
<div>Actually you say your subtype is ZVBRK, so what is ZBILLINGDOC? Maybe I'm confused.</div>
<div>&nbsp;</div>
<div>Have fun,</div>
<div>Mark<br><br>&nbsp;</div>
<div><span class="gmail_quote">On 9/11/06, <b class="gmail_sendername">Krasnopolsky, Marina (US - Glen Mills)</b> &lt;<a href="mailto:mkrasnopolsky@deloitte.com">mkrasnopolsky@deloitte.com</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>
<div>
<div><font face="Verdana" size="2">
<p><font face="Verdana" size="2">Hi All,</font> </p>
<p><font face="Verdana" size="2">I've created a workflow that has to be triggered every time user executes the transaction VF01 - Create Billing Document.</font></p>
<p><font face="Verdana" size="2">The Business Object Type VBRK doesn't have an event 'Created'. So I've created a subtype ZVBRK with event 'BillingDocument.created'.</font></p>
<p><font face="Verdana" size="2">When this event is triggered, my workflow starts. I thought I can find a user-exit for VF01 and start this event using function module 'SWE_EVENT_CREATE', but I couldn't find a user-exit in VF01. I decided to create a Change Document.
</font></p>
<p><font face="Verdana" size="2">I went to Tools -&gt; Business WF -&gt; Development -&gt; Definition Tools -&gt; Events -&gt; Event Creation -&gt; Change Document -&gt; Define WF Properties and added ZBILLDOCUMENT as Change Document Object with VBRK table and action 'Create'.
</font></p>
<p><font face="Verdana" size="2">Then I executed SWEC and created an event for Change Document Object ZBILLDOCUMENT using my Business Object Type ZVBRK, event 'Created' and On Create.&nbsp; I've added Field Restrictions - </font>
</p>
<p><font face="Arial" color="#000000" size="2"><img alt="Picture (Metafile)" src="No%20AttachName"></font> </p>
<p><font face="Verdana" size="2">I'm not sure if this is right. But Workflow doesn't start when I execute VF01.</font> </p>
<p><font face="Verdana" size="2">What I'm doing wrong? Is there a better way to trigger my event?</font> </p>
<p><font face="Verdana" size="2">Thanks,</font> <br><font face="Verdana" size="2">Marina</font> </p><br><br></font></div>
<div><font face="Verdana" size="2">This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law.&nbsp; If you are not the intended recipient, you should delete this message.&nbsp;
<br><br></font></div>
<div><font face="Verdana" size="2">Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1]<br></font></div></div></div><br>_______________________________________________
<br>SAP-WUG mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank">
http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br><br><br></blockquote></div><br>