UWL Attributes

Cooper, John M John.Cooper at kcc.com
Fri Jul 23 10:29:11 EDT 2004


Hi Serge,
 
Like all the UWL questions, there is not a simple answer.  Attributes in
the UWL can come from a number of different sources (e.g. Ad Hoc
Workflow, Webflow, BOR, User Management), and depending on the source
the available attributes can differ.  You've probably seen the
definition of the GlobalDisplayAttributes in the uwl.standard.xml file
-- these are the standard attributes -- and noticed that there is no
<processor> defined.  It is because the <processor> attribute is from Ad
Hoc Workflow, not from the Webflow provider.  In the standard Views that
SAP provides, the Processor column will be empty unless the item is from
Ad Hoc Workflow.
 
You can add attributes that exist in the task container from Webflow in
the form of CustomAttributes.  You would define CustomAttributes in the
appropriate ItemType in the uwl.webflow.sidccc.xml file after
registering the sid/client in the UWL Administration iView.  Here is an
example of defining CustomAttributes from the ABAP BOR:
 
<ItemType
  name=3D"uwl.task.webflow.ABC_TS45308730"=20
  connector=3D"WebFlowConnector"=20
  defaultView=3D"DefaultView" defaultAction=3D"viewDetail"
executionMode=3D"pessimistic">
  <ItemTypeCriteria connector=3D"WebFlowConnector"
                    externalType=3D"TS45308730"
                    systemId=3D"ABC"/>
    <CustomAttributes>
      <CustomAttributeSource id=3D"ABAP_BOR"=20
                 objectIdHolder=3D"externalObjectId"=20
                 objectType=3D"FORMABSENC"
                 cacheValidity=3D"final">
        <Attribute name=3D"COSTCENTER" type=3D"string" displayName=3D"Cost
Center" />
        <Attribute name=3D"APPROVER" type=3D"string" displayName=3D"Approver"
/>      =09
        <Attribute name=3D"HOURSABSENT" type=3D"int" displayName=3D"Number of
Hours Absent" />
        <Attribute name=3D"FIRSTDAYOFABSENCE" type=3D"date"
displayName=3D"First day of absence" />
        <Attribute name=3D"LASTDAYOFABSENCE" type=3D"date" displayName=3D"Last
day of absence" />
      </CustomAttributeSource>
    </CustomAttributes>
</ItemType>
 
Here is a similar example, but from the Webflow connector:
 
<ItemType=20
  name=3D"uwl.task.webflow.ABC_TS45308730"=20
  connector=3D"WebFlowConnector"=20
  defaultView=3D"DefaultView" defaultAction=3D"viewDetail"
executionMode=3D"pessimistic">
  <ItemTypeCriteria connector=3D"WebFlowConnector"
    externalType=3D"TS45308730"
    systemId=3D"ABC"/>
    <CustomAttributes>
      <CustomAttributeSource id=3D"WEBFLOW_CONTAINER"=20
              objectIdHolder=3D"externalId "=20
              objectType=3D"WebflowContainer "
 
              cacheValidity=3D"final">
        <Attribute name=3D"FIRSTDAYABS" type=3D"date" displayName=3D"WF First
day of absence" />=09
        <Attribute name=3D"LASTDAYABS" type=3D"date" displayName=3D"WF Last
day of absence" />
      </CustomAttributeSource>
    </CustomAttributes>
</ItemType>   =20
 
In the example from the Webflow connector, the attribute name must match
the task container element name.
 
John
 
-----Original Message-----
=46rom: SAP Workflow [mailto:Owner-SAP-WUG at MITVMA.MIT.EDU] On Behalf Of
Serge Boulay
Sent: Thursday, July 22, 2004 11:29 AM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: UWL Attributes
 
 
Hi All,
 
 
 
Does any one knows where to look for the UWL Attributes assignment =3F
 
 
 
Let me be clearer:
 
 
 
In the uwl.standard.xml file, there is an attribute under the
WorkItemsCompletedForwardedView that is called <processor>. I want to
know
what it is corresponding to in R/3 (WI tables)=3F=3F=3F=3F=3F=3F=3F
 
 
 
I would like to know all of the available attributes that I can
use=3F!=3F!=3F!=3F!
 
 
 
Thanks
 
 
 
Serge Boulay
 
HR/Payroll & Workflow Consultant
 
 
 
 
 
http://www.n-spro.com <http://www.n-spro.com/>
 
 
------------------------------------------------------------------------------
This e-mail is intended for the use of the addressee(s) only and may contain =
privileged, confidential, or proprietary information that is exempt from =
disclosure under law.  If you have received this message in error, please =
inform us promptly by reply e-mail, then delete the e-mail and destroy any =
printed copy.   Thank you.
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
 


More information about the SAP-WUG mailing list