<HTML >
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">


<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7233.69">
<TITLE>Trigger an event when execute VF01 - Create Billing Document</TITLE>
</HEAD>
<BODY >
<DIV>
<FONT FACE="Verdana" SIZE="2">
<!-- Converted from text/rtf format -->

<P><FONT SIZE=2 FACE="Verdana">Hi All,</FONT>
</P>

<P><FONT SIZE=2 FACE="Verdana">I've created a workflow that has to be triggered every time user executes the transaction VF01 - Create Billing Document.</FONT></P>

<P><FONT SIZE=2 FACE="Verdana">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 SIZE=2 FACE="Verdana">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 SIZE=2 FACE="Verdana">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 SIZE=2 FACE="Verdana">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" SIZE=2 COLOR="#000000">
<IMG SRC="No%20AttachName" alt="Picture (Metafile)"></FONT>
</P>

<P><FONT SIZE=2 FACE="Verdana">I'm not sure if this is right. But Workflow doesn't start when I execute VF01.</FONT>
</P>

<P><FONT SIZE=2 FACE="Verdana">What I'm doing wrong? Is there a better way to trigger my event?</FONT>
</P>

<P><FONT SIZE=2 FACE="Verdana">Thanks,</FONT>

<BR><FONT SIZE=2 FACE="Verdana">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></BODY></HTML>