Betr.: RE: Using custom attributes in the UWL
gm.duits@belastingdienst.nl
gm.duits at belastingdienst.nl
Wed Jul 23 06:02:16 EDT 2008
Hallo Mark,
Thanks for the reply.
Yes, it's correct i am using a user decision.
About your solution.
Could you tell me in more detail how to solve the problem. I am quite new
to workflow.
Thanks.
Kind regards,
Maarten
"Griffiths, Mark"
<mark.griffiths at s
ap.com> Aan
Verzonden door: "SAP Workflow Users' Group"
sap-wug-bounces at m <sap-wug at mit.edu>
it.edu Cc
Onderwerp
23-07-2008 11:37 RE: Using custom attributes in
the UWL
Antwoord a.u.b.
aan
"SAP Workflow
Users' Group"
<sap-wug at mit.edu>
It looks like you are using a user decision?
The problem is that externalOjectid holds the object key for the
DECISION business object rather than BUS2089.
I got round this by creating an container element on the task to hold
the BUS2089 object key. You read this first from the container, and then
you can use value to read the ABAP_BOR attributes as you have done
below.
Regards,
Mark
SAP UK
-----Original Message-----
From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
Of gm.duits at belastingdienst.nl
Sent: 23 July 2008 07:08
To: sap-wug at mit.edu
Subject: Using custom attributes in the UWL
Hello,
What i would like to do is to show some custom attributes as columns in
the UWL. In my workitem the BOR object BUS2089 (TRIP) is present, so i
thought to make use of the statement CustomAttributeSource
id="ABAP_BOR"
in my UWL xml file (see below). I would like to show the attributes
BEGINDATE and TOTALCOSTS. After uploading the xml the columns are
empty. I
also make use of the CustomAttributeSouce id="WEBFLOW_CONTAINER" and
that
column is displayed correctly.
I will post a part of the UWL xml configuration.
<ItemType name="uwl.task.webflow.decision.TS92200054" connector=
"WebFlowConnector" defaultView="travel" defaultAction="launchTravelUwl"
executionMode="default">
<ItemTypeCriteria systemId="UWL_R3" externalType="TS92200054"
connector="WebFlowConnector"/>
<CustomAttributes>
<CustomAttributeSource id="ABAP_BOR" objectIdHolder=
"externalObjectId" objectType="BUS2089" cacheValidity="final">
<Attribute name="BEGINDATE" type="date"
displayName="Begindatum
reis"/>
<Attribute name="TOTALCOSTS" type="double"
displayName="Gedecl.
bedrag"/>
</CustomAttributeSource>
<CustomAttributeSource id="WEBFLOW_CONTAINER" objectIdHolder=
"externalId" objectType="WebflowContainer" cacheValidity="final">
<Attribute name="ReisschemaText" type="string" displayName=
"Reisschema"/>
</CustomAttributeSource>
</CustomAttributes>
<Actions>
<Action name="afkeuren" groupAction="no" handler=
"UserDecisionHandler">
<Properties>
<Property name="UserDecisionNote" value="mandatory"/>
<Property name="decisionKey" value="2"/>
</Properties>
</Action>
<Action name="goedkeuren" groupAction="yes" handler=
"UserDecisionHandler">
<Properties>
<Property name="UserDecisionNote" value="true"/>
<Property name="decisionKey" value="1"/>
</Properties>
</Action>
</Actions>
</ItemType>
The View xml part looks like:
<View name="travel" selectionMode="SINGLESELECT" width="98%"
supportedItemTypes="uwl.task.webflow.decision.TS92200054"
columnOrder="subject, BEGINDATE, TOTALCOSTS, ReisschemaText,
approveCol"
sortby="createdDate:descend" tableDesign="ALTERNATING"
visibleRowCount="14" headerVisible="yes" queryRange="undefined"
tableNavigationFooterVisible="yes" tableNavigationType="STANDARD"
actionRef="" refresh="300" dueDateSevere="86400000"
dueDateWarning="259200000" emphasizedItems="none"
displayOnlyDefinedAttributes="no" dynamicCreationAllowed="no"
actionPosition="bottom" referenceBundle="tasks">
<DisplayAttributes>
<DisplayAttribute name="approveCol" type="checkbox" width="10"
sortable="no" format="default" actionRef="goedkeuren" hAlign="center"
vAlign="Baseline" maxTextWidth="0" headerVisible="yes">
<Descriptions default="Goedkeuren"/>
</DisplayAttribute>
<DisplayAttribute name="subject" type="string" width="10"
sortable="yes" format="default" referenceBundle="subject" hAlign="LEFT"
vAlign="BASELINE" maxTextWidth="20" headerVisible="yes"/>
<DisplayAttribute name="BEGINDATE" type="date" format="short"/>
<DisplayAttribute name="TOTALCOSTS" type="double"/>
<DisplayAttribute name="ReisschemaText" type="string" width=""
maxTextWidth="20">
<Descriptions default="Reisschema"/>
</DisplayAttribute>
</DisplayAttributes>
<Actions>
<Action reference="refresh"/>
<Action reference="submitUserDecisions"/>
<Action reference="launchMijnTaken"/>
<Action reference="UserDecisionNoteText"/>
</Actions>
</View>
I hope somebody can help me.
Kind regards,
Maarten.
------------------------------------------------------------------------
------
De Belastingdienst gebruikt e-mail niet voor de uitwisseling van
vertrouwelijke informatie met de burger of voor de bekendmaking van
beslissingen. De Belastingdienst hanteert conventies voor het gebruik
van e-mail. Deze zijn te vinden op www.belastingdienst.nl.
========================================================================
======
_______________________________________________
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
------------------------------------------------------------------------------
De Belastingdienst gebruikt e-mail niet voor de uitwisseling van vertrouwelijke informatie met de burger of voor de bekendmaking van beslissingen. De Belastingdienst hanteert conventies voor het gebruik van e-mail. Deze zijn te vinden op www.belastingdienst.nl.
==============================================================================
More information about the SAP-WUG
mailing list