Business Object

Nobles, Diane nobles_dh at naptheon.com
Thu Aug 29 12:43:45 EDT 2002


Why would you not want to add your business object to the WF container and
pass it throughout your workflow.  This is a lot cleaner and easier.
 
Diane Nobles
 
-----Original Message-----
From: Griffiths, Mark [mailto:mark.griffiths at sap.com]
Sent: Thursday, August 29, 2002 10:10 AM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Re: Business Object
 
 
If you have the key fields for an object you can use the macro
 
SWC_CREATE_OBJECT <Obj Ref of type Swc_object> <Object type in ' '> <object
key>
 
e.g. for a material object:
 
data: lv_myobject type swc_object,
      lv_matnum like mara-matnr.
 
swc_create_object lv_myobject 'BUS1001006' lv_matnum.
 
You will obviously need to do this in something like a method on background
task.
 
If you want to find out more about this sort of macro I would recommend you
attend BC610 or read the help in the SAP Library - the contents of the
workflow reference documentation would answer a large chunk of the questions
posted on this user group!
 
Cheers,
 
Mark
 
SAP UK
 
-----Original Message-----
From: Czerwiec, Phil
To: SAP-WUG at MITVMA.MIT.EDU
Sent: 29/08/02 15:55
Subject: Business Object
 
I need to populate the role container with a business object.  I do not have
the business object in the container, but I do have the key fields for the
business object.  Is there a way to get the business object?
 


More information about the SAP-WUG mailing list