on 01-19-2005 2:29 PM
I have configured a view for a travel expense approval task (using the "How to..." guide) and have configured some custom attributes (trip reason and destination )as as columns in the list view, and these are populated with data correctly. What I want to do is include the Total Cost of the trip as a custom attribute in the list view, and have created a Custom Attribute for it, but do not know what data type to define it as - I've tried double, int, string but in none of these cases does the amount get displayed - any ideas if this can be done, if so, how? Some of the xml config is below.
Many thanks
Ross
<CustomAttributeSource id="ABAP_BOR" objectIdHolder="externalObjectId" objectType="ZZBUS2089" cacheValidity="final">
<Attribute name="BEGINDATE" type="date" displayName="Begin Date"/>
<Attribute name="ENDDATE" type="date" displayName="End Date"/>
<Attribute name="REASON" type="string" displayName="Reason"/>
<Attribute name="LOCATION" type="string" displayName="Location"/>
<Attribute name="TOTALCOSTS" type="int" displayName="Total Costs"/>
</CustomAttributeSource>
Hi Dar,
You need to create a new view and name the custom attributes in the columnorder section (see below) - then you need to set the defaultview on the itemtype to be your new view name...
<View name="ZExpensesView" selectionMode="SINGLESELECT" width="98%" supportedItemTypes="uwl.task.webflow.decision.TS92000013.SAP_R3_HumanResources" columnOrder="subject, createdDate, BEGINDATE, ENDDATE, REASON, LOCATION, ZTOTALCOSTS, approveCol, rejectCol" sortby="createdDate:descend" emphasizedItems="new" displayOnlyDefinedAttributes="yes" dynamicCreationAllowed="yes" actionPosition="top" headerVisible="yes" tableNavigationFooterVisible="yes" tableNavigationType="CUSTOMNAV" actionRef="">
Still trying to figure out my problem though
Cheers
Ross
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ross,
thanks for the hint. it works now - but not all the way i expected
Have you ever entered a custom attribute into the "New Task" display - that is, where one can enter the priority, due date, etc... when creating a new item.
How could I put additional attributes in here and see them in the iview list after a new item is created?
I am checking the workflow content (temoplates, etc..) but can't see where I could modify or change the exisitng SAP "New Task" windows.
Any Idea?
regards,
Darijo
The UWL config guide lives here:
Still haven't resolved the issue - any takers out there?
Cheers
Ross
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ross,
I am impressed
How did you make it to see the custom attributes in the list view?
I set up some custom attributes from source UM, but they are displayed in the detailView. I cannot find the trick how to populate them into the list view as columns.
Unfortunately I can't help you with your problem - sorry!
regards,
Dar
Ross,
Sorry I am not going to be much help.. but can you list the URL to the document you mentioned?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.