cancel
Showing results for 
Search instead for 
Did you mean: 

Custom Attributes in UWL - No data

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Prabhakar,

This is Raji. I also need to add the custom columns in the UWL.I ahve done the same procedure as you have done in the XML code.

I have done lot many changes in the SRM config file and the standard config file.but I feel the task can be achived with out that much of complex work.

It would be great if you can share , how this issue got resolved for you. hence would be useful for everybody.

Thanks in advance!!!

Raji

Former Member
0 Kudos

Any luck with a solution for this? I also cannot get my custom attributes to populate from the workflow container.