Virtual Attribute not working as expected.
Mark Huffman
mhuffman at universalwebflow.com
Thu Aug 12 12:56:41 EDT 2004
Rick,
If you can get a copy of SAP-Press 'Practical Workflow for SAP' on pg 473
they have
an example of ZDEADLINE, a custom object with only virtual attributes.
I have used this object / code on several projects and have never had a
problem with object
generation. I suspect your generation problem is specific to your object
implementation
and not an SAP issue.
best regards
Mark
----- Original Message -----
From: "Rick Sample" <Rick.Sample at gbe.com>
To: <SAP-WUG at MITVMA.MIT.EDU>
Sent: Thursday, August 12, 2004 10:20 AM
Subject: Virtual Attribute not working as expected.
I have a BO with DB attributes and Virtual attributes.
In SWO1 test, the below works. zCreator gets populated.
When I Create event in SWUE and start the WF,
all I get is 'US' and my DB attributes. Non of my Virtual attributes are
being populated via SWUE an set in the WF containers.
I have my bindings set in the WF.
Also,
If I do not have at least one DB Attribute I get errors and object won't
even generate.
?
4.6c
GET_PROPERTY ZCREATOR CHANGING CONTAINER.
DATA: l_Creator LIKE WFSYST-INITIATOR.
CONCATENATE 'US' ZNSRH-CREATOR INTO l_Creator.
SWC_SET_ELEMENT CONTAINER 'zCreator' l_Creator.
END_PROPERTY.
Rick Sample
WF Developer
Graybar, Inc.
More information about the SAP-WUG
mailing list