Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Custom Attributes in UWL - No data

Hello,

I am trying to add custom attributes Vendor and Currency to my UWL iview.

I have defined custom attributes in my Item Type as follows:

[code]<ItemType name="uwl.task.webflow.decision.TS92900044.SAP_EAQ" connector="WebFlowConnector" defaultView="InvoiceApprovalView" defaultAction="launchImage" executionMode="default"> 
      <ItemTypeCriteria systemId="SAP_EAQ" externalType="TS92900044" connector="WebFlowConnector"/>
      <CustomAttributes>     
  <CustomAttributeSource id="WEBFLOW_CONTAINER" objectIdHolder="externalId" objectType="WebFlowContainer" cacheValidity="default">  
          <Attribute name="Currency" type="string" displayName="Currency"/>
          <Attribute name="Vendor" type="string" displayName="Vendor"/>
        </CustomAttributeSource>    
 </ItemType>

I have also defined the display attributes in my View as follows:

<Views>
    <View name="InvoiceApprovalView" 
    	  selectionMode="SINGLESELECT" 
    	  width="98%" 
    	  supportedItemTypes="uwl.task" 
    	  columnOrder="subject, Vendor, Currency" 
    	  sortby="priority:desc, dueDate:asc, createdDate:desc" 
    	  tableDesign="ALTERNATING" 
    	  visibleRowCount="10" 
    	  headerVisible="yes" 
    	  queryRange="undefined" 
    	  tableNavigationFooterVisible="yes" 
    	  tableNavigationType="CUSTOMNAV" 
    	  actionRef="" refresh="300" 
    	  dueDateSevere="86400000" 
    	  dueDateWarning="259200000" 
    	  emphasizedItems="new" 
    	  displayOnlyDefinedAttributes="yes" 
    	  dynamicCreationAllowed="yes" 
    	  actionPosition="both">
      <Descriptions default="Invoice Summary"/> 
<DisplayAttribute name="Vendor" type="string" width="30" sortable="yes" format="default" hAlign="LEFT" vAlign="BASELINE" maxTextWidth="0" headerVisible="yes">
          <Descriptions default="Vendor"/>
        </DisplayAttribute> 
 <DisplayAttribute name="Currency" type="string" width="30" sortable="yes" format="default" hAlign="LEFT" vAlign="BASELINE" maxTextWidth="0" headerVisible="yes">
          <Descriptions default="Currency"/>
        </DisplayAttribute>

I have checked the task TS92900044 in the backend from Tcode PFTC and this task has the attributes Vendor, Currency in its container

<b>PROBLEM: The columns appear but without any data.</b>

Any pointers?

Thanks and Regards,

Reena

Former Member
Not what you were looking for? View more on this topic or Ask a question