Business Object
Griffiths, Mark
mark.griffiths at sap.com
Thu Aug 29 10:10:06 EDT 2002
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