Skip to Content
0
Nov 09, 2011 at 11:55 AM

How to add TASKTEXT of a workitem

23 Views

Hello Experts,

I want to add the "TASKTEXT" attribute from "_WORKITEM" object.

I added the following to my XML:

<CustomAttributes>
<CustomAttributeSource id="ABAP_BOR" objectIdHolder="externalObjectID" objectType="_WORKITEM" cacheValidity="default">
<Attribute name="TASKTEXT" type="string" displayName="CreatedBy"/>
</CustomAttributeSource>
</CustomAttributes>

and then added the attribute as display attribute in the view but the column's value is not visible.

When I use the following object & attribute, it works.

<CustomAttributes>
<CustomAttributeSource id="ABAP_BOR" objectIdHolder="externalObjectID" objectType="BUS2009" cacheValidity="default">
<Attribute name="CreatedBy" type="string" displayName="CreatedBy"/>
</CustomAttributeSource>
</CustomAttributes>

How do display "TASKTEXT"?

Regards,

Omri