<html><body>
<p>Have you defined it as data<br>
<br>
E.G. This is the Cost Centre Business object.<br>
<br>
DATA        :<br>
                BEGIN OF        bus0012_key,     <br>
                                  kokrs   LIKE csks-kokrs,<br>
                                  kostl   LIKE csks-kostl,<br>
                END   OF bus0012_key,     <br>
                o_bus0012 TYPE swc_object,<br>
<br>
<br>
<br>
<b><font size="4" color="#483D8B"><br>
Regards</font></b><font size="4"><br>
Nat Govender<br>
Toyota South Africa<br>
IT - SAP Workflow Specialist<br>
Internal Ext.   :  32645<br>
Direct Line    :  +27 031 910 2645<br>
Fax               :  086 607 0414<br>
E-mail           :  </font><a href="mailto:ngovender4@toyota.co.za"><u><font size="4" color="#0000FF">ngovender4@toyota.co.za</font></u></a><font size="4"><br>
</font><font size="4" color="#FF00FF"><br>
If you tell the truth, you don't have to remember anything. </font><br>
<img width="16" height="16" src="cid:1__=CDBBFF17DF8AF88E8f9e8a93df9@toyota.co.za" border="0" alt="Inactive hide details for priyank dev &lt;priyank.dev@gmail.com&gt;">priyank dev &lt;priyank.dev@gmail.com&gt;<br>
<br>
<br>

<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr valign="top"><td style="background-image:url(cid:2__=CDBBFF17DF8AF88E8f9e8a93df9@toyota.co.za); background-repeat: no-repeat; " width="40%">
<ul>
<ul>
<ul>
<ul><b><font size="2">priyank dev &lt;priyank.dev@gmail.com&gt;</font></b><font size="2"> </font><br>
<font size="2">Sent by: sap-wug-bounces@mit.edu</font>
<p><font size="2">24-03-2009 03:15 PM</font>
<table border="1">
<tr valign="top"><td width="168" bgcolor="#FFFFFF"><div align="center"><font size="2">Please respond to<br>
&quot;SAP Workflow Users' Group&quot; &lt;sap-wug@mit.edu&gt;</font></div></td></tr>
</table>
</ul>
</ul>
</ul>
</ul>
</td><td width="60%">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr valign="top"><td width="1%"><img width="58" height="1" src="cid:3__=CDBBFF17DF8AF88E8f9e8a93df9@toyota.co.za" border="0" alt=""><br>
<div align="right"><font size="2">To</font></div></td><td width="100%"><img width="1" height="1" src="cid:3__=CDBBFF17DF8AF88E8f9e8a93df9@toyota.co.za" border="0" alt=""><br>
<font size="2">&quot;SAP Workflow Users' Group&quot; &lt;sap-wug@mit.edu&gt;</font></td></tr>

<tr valign="top"><td width="1%"><img width="58" height="1" src="cid:3__=CDBBFF17DF8AF88E8f9e8a93df9@toyota.co.za" border="0" alt=""><br>
<div align="right"><font size="2">cc</font></div></td><td width="100%"><img width="1" height="1" src="cid:3__=CDBBFF17DF8AF88E8f9e8a93df9@toyota.co.za" border="0" alt=""><br>
</td></tr>

<tr valign="top"><td width="1%"><img width="58" height="1" src="cid:3__=CDBBFF17DF8AF88E8f9e8a93df9@toyota.co.za" border="0" alt=""><br>
<div align="right"><font size="2">Subject</font></div></td><td width="100%"><img width="1" height="1" src="cid:3__=CDBBFF17DF8AF88E8f9e8a93df9@toyota.co.za" border="0" alt=""><br>
<font size="2">Re: problem in event raising</font></td></tr>
</table>

<table border="0" cellspacing="0" cellpadding="0">
<tr valign="top"><td width="58"><img width="1" height="1" src="cid:3__=CDBBFF17DF8AF88E8f9e8a93df9@toyota.co.za" border="0" alt=""></td><td width="336"><img width="1" height="1" src="cid:3__=CDBBFF17DF8AF88E8f9e8a93df9@toyota.co.za" border="0" alt=""></td></tr>
</table>
</td></tr>
</table>
<br>
<font size="4">Even i have tried with swc_create_object tobj 'zdev'  programname-vendornumber.still same error.<br>
</font><br>
<font size="4">On Tue, Mar 24, 2009 at 6:43 PM, priyank dev &lt;</font><a href="mailto:priyank.dev@gmail.com"><u><font size="4" color="#0000FF">priyank.dev@gmail.com</font></u></a><font size="4">&gt; wrote:</font>
<ul><font size="4">THEN WHAT IS THE SOLUTION???? </font><br>
<font size="4"><br>
</font><br>
<font size="4">On Tue, Mar 24, 2009 at 6:36 PM, Nat 4 Govender &lt;</font><a href="mailto:ngovender4@toyota.co.za" target="_blank"><u><font size="4" color="#0000FF">ngovender4@toyota.co.za</font></u></a><font size="4">&gt; wrote:</font><br>
<font size="4">Hi ,<br>
<br>
I think that your </font><font size="5">'_evt_objkey cannot be the object that you have just created but another field that you are getting the data from.</font><font size="4"><br>
<br>
<br>
<br>
<br>
</font><b><font size="5" color="#483D8B"><br>
<br>
Regards</font></b><font size="5"><br>
Nat Govender<br>
Toyota South Africa<br>
IT - SAP Workflow Specialist<br>
Internal Ext. : 32645<br>
Direct Line : +27 031 910 2645<br>
Fax : 086 607 0414<br>
E-mail : </font><a href="mailto:ngovender4@toyota.co.za" target="_blank"><u><font size="5" color="#0000FF">ngovender4@toyota.co.za</font></u></a><font size="5" color="#FF00FF"><br>
<br>
If you tell the truth, you don't have to remember anything. </font><font size="4"><br>
</font><img src="cid:1__=CDBBFF17DF8AF88E8f9e8a93df9@toyota.co.za" width="16" height="16" alt="Inactive hide details for priyank dev &lt;priyank.dev@gmail.com&gt;"><font size="4">priyank dev &lt;</font><a href="mailto:priyank.dev@gmail.com" target="_blank"><u><font size="4" color="#0000FF">priyank.dev@gmail.com</font></u></a><font size="4">&gt;<br>
<br>
</font>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr valign="top"><td width="51%">
<ul>
<ul>
<ul>
<ul>
<ul>
<ul>
<ul>
<ul><b>priyank dev &lt;</b><a href="mailto:priyank.dev@gmail.com" target="_blank"><b><u><font color="#0000FF">priyank.dev@gmail.com</font></u></b></a><b>&gt;</b> <br>
Sent by: <a href="mailto:sap-wug-bounces@mit.edu" target="_blank"><u><font color="#0000FF">sap-wug-bounces@mit.edu</font></u></a><font size="4"> </font>
<p>24-03-2009 12:06 PM<font size="4"> </font></ul>
</ul>
</ul>
</ul>
</ul>
</ul>
</ul>
</ul>

<table width="100%" border="1">
<tr valign="top"><td width="100%" bgcolor="#FFFFFF"><div align="center">Please respond to<br>
&quot;SAP Workflow Users' Group&quot; &lt;<a href="mailto:sap-wug@mit.edu" target="_blank"><u><font color="#0000FF">sap-wug@mit.edu</font></u></a>&gt;</div></td></tr>
</table>
</td><td width="49%">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr valign="top"><td width="31%"><img src="cid:3__=CDBBFF17DF8AF88E8f9e8a93df9@toyota.co.za" width="58" height="1"><div align="right">To</div></td><td width="69%"><img src="cid:3__=CDBBFF17DF8AF88E8f9e8a93df9@toyota.co.za" width="1" height="1"><u><font color="#0000FF"><br>
</font></u><a href="mailto:sap-wug@mit.edu" target="_blank"><u><font color="#0000FF">sap-wug@mit.edu</font></u></a></td></tr>

<tr valign="top"><td width="31%"><img src="cid:3__=CDBBFF17DF8AF88E8f9e8a93df9@toyota.co.za" width="58" height="1"><div align="right">cc</div></td><td width="69%"><img src="cid:3__=CDBBFF17DF8AF88E8f9e8a93df9@toyota.co.za" width="1" height="1"></td></tr>

<tr valign="top"><td width="31%"><img src="cid:3__=CDBBFF17DF8AF88E8f9e8a93df9@toyota.co.za" width="58" height="1"><div align="right">Subject</div></td><td width="69%"><img src="cid:3__=CDBBFF17DF8AF88E8f9e8a93df9@toyota.co.za" width="1" height="1"><br>
problem in event raising</td></tr>
</table>

<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr valign="top"><td width="15%"><img src="cid:3__=CDBBFF17DF8AF88E8f9e8a93df9@toyota.co.za" width="1" height="1"></td><td width="85%"><img src="cid:3__=CDBBFF17DF8AF88E8f9e8a93df9@toyota.co.za" width="1" height="1"></td></tr>
</table>
</td></tr>
</table>
<font size="5"><br>
 include &lt;cntn01&gt;.<br>
data: tobj type swc_object.<br>
      SWC_CONTAINER  evt_cont.<br>
swc_create_object tobj 'zdev' Y_VENDOR-vendornumber.<br>
swc_set_element evt_cont '_evt_creator' sy-uname.<br>
swc_set_element evt_cont '_evt_objkey' Y_VENDOR-vendornumber.<br>
swc_raise_event tobj 'EVENT1' evt_cont. </font>
<p><font size="5">where y_vendor is the object name created in swo1 and vendornumber is the primary key field.<br>
here iam facing an error with- Field &quot;Y_VENDOR-VENDORNUMBER&quot; is unknown. It is neither in one of the  <br>
 specified tables nor defined by a &quot;DATA&quot; statement . . . . . . . . . .  <br>
</font><br>
<tt><font size="4">_______________________________________________<br>
SAP-WUG mailing list</font></tt><tt><u><font size="4" color="#0000FF"><br>
</font></u></tt><a href="mailto:SAP-WUG@mit.edu" target="_blank"><tt><u><font size="4" color="#0000FF">SAP-WUG@mit.edu</font></u></tt></a><tt><u><font size="4" color="#0000FF"><br>
</font></u></tt><a href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank"><tt><u><font size="4" color="#0000FF">http://mailman.mit.edu/mailman/listinfo/sap-wug</font></u></tt></a><br>
<font size="4"><br>
_______________________________________________<br>
SAP-WUG mailing list</font><u><font size="4" color="#0000FF"><br>
</font></u><a href="mailto:SAP-WUG@mit.edu" target="_blank"><u><font size="4" color="#0000FF">SAP-WUG@mit.edu</font></u></a><u><font size="4" color="#0000FF"><br>
</font></u><a href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank"><u><font size="4" color="#0000FF">http://mailman.mit.edu/mailman/listinfo/sap-wug</font></u></a><font size="4"><br>
</font><br>
<font size="4"><br>
<br>
<br>
</font></ul>
<font size="4"><br>
<br>
<br>
-- <br>
AdioS,<br>
PRIYANK DEV PATIL<br>
+91 9964 268 269<br>
| SAP-ABAP consultant|HealthcareGlobal Enterprises Ltd | Tel: 080 40206609|</font><tt>_______________________________________________<br>
SAP-WUG mailing list<br>
SAP-WUG@mit.edu<br>
</tt><tt><a href="http://mailman.mit.edu/mailman/listinfo/sap-wug">http://mailman.mit.edu/mailman/listinfo/sap-wug</a></tt><tt><br>
</tt><br>
</body></html>