cancel
Showing results for 
Search instead for 
Did you mean: 

UWL custom attributes are not retreived

Former Member
0 Kudos

Hi all,

We are trying to add some custom attributes to our UWL. We are able to see the new columns but they remain null. It seems that the values are not retrieved from the backend.

We have tried defining custom attributes from workflow container, from BOR object and even UM but without success.

We have followed this thread http://weblogs.sdn.sap.com/cs/blank/view/wlg/20379 and also other ones.

Here is my code for my custom attributes (under "TEST" comment):

<ItemType name="uwl.task.webflow.srm.TS00700018" connector="WebFlowConnector" defaultView="TS40008005_view" defaultAction="com.sap.pct.srm.core.action.launchWD.inv.detail" executionMode="default">

<ItemTypeCriteria externalType="TS00700018" connector="WebFlowConnector"/>

<CustomAttributes>

<CustomAttributeSource id="WEBFLOW_CONTAINER" objectIdHolder="externalId" objectType="WebflowContainer" cacheValidity="final">

<Attribute name="BOTYPE" displayName="Type of Business Object"/>

<Attribute name="BOID" displayName="Business Object ID"/>

<Attribute name="BOMODE" displayName="Business Object Mode"/>

</CustomAttributeSource>

<!-- TEST -->

<CustomAttributeSource id="ABAP_BOR" objectIdHolder="externalId" objectType="DECISION" cacheValidity="default">

<Attribute name="V_BE_REFOBJ" displayName="Description"/>

</CustomAttributeSource>

<CustomAttributeSource id="UM" objectIdHolder="creatorId" objectType="user" cacheValidity="final">

<Attribute name="department" type="string" displayName="Department"/>

</CustomAttributeSource>

<CustomAttributeSource id="WEBFLOW_CONTAINER" objectIdHolder="externalId" objectType="WebflowContainer" cacheValidity="final">

<Attribute name="W_HEADER_INV" displayName="Header"/>

</CustomAttributeSource>

<CustomAttributeSource id="WEBFLOW_CONTAINER" objectIdHolder="W_HEADER_INV" objectType="WebflowContainer" cacheValidity="final">

<Attribute name="GUID" displayName="MiGuid"/>

</CustomAttributeSource>

<!-- END TEST -->

</CustomAttributes>

<Actions>

<Action reference="com.sap.pct.srm.core.action.inv_approve"/>

<Action reference="com.sap.pct.srm.core.action.inv_reject"/>

<Action reference="com.sap.pct.srm.core.action.launchWD.inv.detail"/>

<Action reference="com.sap.pct.srm.core.action.launchWD.print"/>

</Actions>

</ItemType>

I've read in this thread [|] that UWL cache and the delta pull mechanism must be configured for the new attributes but I don't know how to check it.

Please, can anyone help me?

Thanks in advance,

Regards

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi all,

I'm going to close this thread as it is duplicated.

Regards

former_member185167
Active Contributor
0 Kudos

Duplicate post, please do not reply.