Reading worflow container element

Adao-Cruz, Miguel miguel.adao-cruz at capgemini.com
Wed Feb 16 14:28:37 EST 2005


Hi,

Did a mistake in last mail, the correct is:
Attribute 2, 3, 4 are based on attribute 1

Cheers


___________________________________________________________________________

-----Original Message-----
From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf Of
Mark Pyc
Sent: 16 February 2005 17:08
To: sap-wug at mit.edu
Subject: RE: Reading worflow container element

If you want to access an attribute you want SWC_GET_PROPERTY.

If it's within the same object you use the object reference 'Self'.
SWC_GET_PROPERTY self 'AttributeName' lv_somewheretokeepit.

If it's within some other code it's more like SWC_GET_PROPERTY lo_objref
'AttributeName' lv_somewheretokeepit.

Or are you trying to read the Workflow container into an object attribute??
If this is the case it probably doesn't make sense. Virtual attributes have
to be calculatable from database accesses and you must be able to derive the
data from the object key (remember there is no data passing into attribute
logic) or other attributes. Certainly you can't set an object attribute
externally (not that you ever should try to in OO design) - it must set it's
own value.

Don't know if that makes any sense. Maybe try explaining further what it is
you're trying to do, possibly even why.

Have fun,
Mark

From: "Adao-Cruz, Miguel" <miguel.adao-cruz at capgemini.com>
Reply-To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
To: <SAP-WUG at mitvma.mit.edu>
Subject: Reading worflow container element
Date: Wed, 16 Feb 2005 16:35:07 -0000


Hello,

Did someone already tried to read a workflow container from a virtual
attribute?
I tried the standard way:
SWC_GET_ELEMENT CONTAINER 'element' object-attribute.
but in this case the container is empty.

Any idea?

Cheers


This message contains information that may be privileged or confidential and
is the property of the Capgemini Group. It is intended only for the person
to whom it is addressed. If you are not the intended recipient,  you are not
authorized to read, print, retain, copy, disseminate,  distribute, or use
this message or any part thereof. If you receive this  message in error,
please notify the sender immediately and delete all  copies of this message.
_______________________________________________
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

This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient,  you are not authorized to read, print, retain, copy, disseminate,  distribute, or use this message or any part thereof. If you receive this  message in error, please notify the sender immediately and delete all  copies of this message.




More information about the SAP-WUG mailing list