problem in event raising

Nat 4 Govender ngovender4 at toyota.co.za
Wed Mar 25 00:40:21 EDT 2009


Have you defined it as data

E.G. This is the Cost Centre Business object.

DATA  :
            BEGIN OF    bus0012_key,
                        kokrs   LIKE csks-kokrs,
                        kostl   LIKE csks-kostl,
            END   OF bus0012_key,
            o_bus0012 TYPE swc_object,




Regards
Nat Govender
Toyota South Africa
IT - SAP Workflow Specialist
Internal Ext.   :  32645
Direct Line    :  +27 031 910 2645
Fax               :  086 607 0414
E-mail           :  ngovender4 at toyota.co.za

If you tell the truth, you don't have to remember anything.


                                                                           
             priyank dev                                                   
             <priyank.dev at gmai                                             
             l.com>                                                     To 
             Sent by:                  "SAP Workflow Users' Group"         
             sap-wug-bounces at m         <sap-wug at mit.edu>                   
             it.edu                                                     cc 
                                                                           
                                                                   Subject 
             24-03-2009 03:15          Re: problem in event raising        
             PM                                                            
                                                                           
                                                                           
             Please respond to                                             
               "SAP Workflow                                               
               Users' Group"                                               
             <sap-wug at mit.edu>                                             
                                                                           
                                                                           




Even i have tried with swc_create_object tobj 'zdev'
programname-vendornumber.still same error.

On Tue, Mar 24, 2009 at 6:43 PM, priyank dev <priyank.dev at gmail.com> wrote:
  THEN WHAT IS THE SOLUTION????


  On Tue, Mar 24, 2009 at 6:36 PM, Nat 4 Govender <ngovender4 at toyota.co.za>
  wrote:
   Hi ,

   I think that your '_evt_objkey cannot be the object that you have just
   created but another field that you are getting the data from.






   Regards
   Nat Govender
   Toyota South Africa
   IT - SAP Workflow Specialist
   Internal Ext. : 32645
   Direct Line : +27 031 910 2645
   Fax : 086 607 0414
   E-mail : ngovender4 at toyota.co.za

   If you tell the truth, you don't have to remember anything.
   Inactive hide details for priyank dev <priyank.dev at gmail.com>priyank dev
   <priyank.dev at gmail.com>

                                                                           
                         priyank dev <                                     
                         priyank.dev at g                                     
                         mail.com>                                         
                         Sent by:                                          
                         sap-wug-bounc                                  To 
                         es at mit.edu                                        
                                                         sap-wug at mit.edu   
                                                                           
                         24-03-2009                                     cc 
                         12:06 PM                                          
                                                                           
                                                                   Subject 
           Please respond to                                               
     "SAP Workflow Users' Group" <                       problem in event  
            sap-wug at mit.edu>                             raising           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           



    include <cntn01>.
   data: tobj type swc_object.       SWC_CONTAINER  evt_cont.
   swc_create_object tobj 'zdev' Y_VENDOR-vendornumber.
   swc_set_element evt_cont '_evt_creator' sy-uname.
   swc_set_element evt_cont '_evt_objkey' Y_VENDOR-vendornumber.
   swc_raise_event tobj 'EVENT1' evt_cont.


   where y_vendor is the object name created in swo1 and vendornumber is
   the primary key field.
   here iam facing an error with- Field "Y_VENDOR-VENDORNUMBER" is unknown.
   It is neither in one of the    specified tables nor defined by a "DATA"
   statement . . . . . . . . . .

   _______________________________________________
   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








--
AdioS,
PRIYANK DEV PATIL
+91 9964 268 269
| SAP-ABAP consultant|HealthcareGlobal Enterprises Ltd | Tel: 080 40206609|
_______________________________________________
SAP-WUG mailing list
SAP-WUG at mit.edu
http://mailman.mit.edu/mailman/listinfo/sap-wug
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20090325/d56d321d/attachment.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available
Url : http://mailman.mit.edu/pipermail/sap-wug/attachments/20090325/d56d321d/attachment.gif
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pic14270.gif
Type: image/gif
Size: 1255 bytes
Desc: not available
Url : http://mailman.mit.edu/pipermail/sap-wug/attachments/20090325/d56d321d/attachment-0001.gif
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ecblank.gif
Type: image/gif
Size: 45 bytes
Desc: not available
Url : http://mailman.mit.edu/pipermail/sap-wug/attachments/20090325/d56d321d/attachment-0002.gif


More information about the SAP-WUG mailing list