on 07-24-2008 10:15 PM
I have created a workitem which launches an abap webdynpro, FITE_EXPENSES. The parameters to launch the webdynpro are not getting passed from the container. I created a separate customized config file to make them available. The workitem to launch the abap webdynpro will appear in the UWL if I do not run the xml configuration file to expose the customized fields. It I run the customized field config. file then the workitem is not visible from the UWL. The workitem is visible in the workplace in R3. I have also created an iview which includes both the xml to access the customized fields and launch the abapwebdynpro iview amd the workitem still does not display in the UWL. I have logged off, cleared cache etc. Does anyone know what the problem is.
Thank you
Tom
I also changed the default view parameter of the UWL iview to point to "uwl.taskTS90000097.SAP_ECC_HumanResources_view".
Below is the XML to run launch the webdynpro:
<ItemTypes>
<ItemType name="uwl.task.webflow.TS90000097.SAP_ECC_HumanResources" connector="WebFlowConnector" defaultView="DefaultView" defaultAction="launchWebDynPro" executionMode="default">
<ItemTypeCriteria systemId="SAP_ECC_HumanResources" externalType="TS90000097" connector="WebFlowConnector"/>
<Actions>
<Action name="launchWebDynPro" groupAction="" handler="SAPWebDynproABAPLauncher" returnToDetailViewAllowed="yes" launchInNewWindow="yes" launchNewWindowFeatures="resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no,directories=no">
<Properties>
<Property name="WebDynproApplication" value="FITE_EXPENSES"/>
<Property name="newWindowFeatures" value="resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no,directories=no"/>
<Property name="openInNewWindow" value="yes"/>
<Property name="SAP_FITV_TRIPNO" value="${item.TRIPNUMBER}"/>
<Property name="SAP_FITV_ACTION" value="CHG"/>
<Property name="WebDynproNamespace" value="sap"/>
<Property name="display_order_priority" value="5"/>
<Property name="SAP_FITV_PERSNO" value="${item.EMPLOYEENUMBER}"/>
</Properties>
<Descriptions default=""/>
</Action>
</Actions>
</ItemType>
</ItemTypes>
Below is the config. file to access the custom fields:
<ItemTypes>
<ItemType name="uwl.taskTS90000097.SAP_ECC_HumanResources" connector="WebFlowConnector" defaultView="uwl.taskTS90000097.SAP_ECC_HumanResources_view" defaultAction="defaultAction">
<ItemTypeCriteria systemId="SAP_ECC_HumanResources" externalType="TS90000097" connector="WebFlowConnector"/>
<CustomAttributes>
<CustomAttributeSource id="WEBFLOW_CONTAINER" objectIdHolder="externalId" objectType="WebFlowContainer" cacheValidity="default">
<Attribute name="TripNumber" type="string" displayName="Trip Number"/>
<Attribute name="EmployeeNumber" type="string" displayName="Emp Number"/>
</CustomAttributeSource>
<CustomAttributeSource id="ABAP_BOR" objectIdHolder="externalObjectId" objectType="BUS2089" cacheValidity="default"/>
</CustomAttributes>
</ItemType>
</ItemTypes>
<Views>
<View name="uwl.taskTS90000097.SAP_ECC_HumanResources_view" selectionMode="SINGLESELECT" width="98%" supportedItemTypes="uwl.task" columnOrder="subject, isEscalated, creatorId, createdDate, priority, attachmentCount, dueDate, status, EmployeeNumber, TripNumber" sortby="createdDate:desc, dueDate:asc, priority:desc" tableDesign="STANDARD" visibleRowCount="10" headerVisible="no" queryRange="undefined" tableNavigationFooterVisible="yes" tableNavigationType="CUSTOMNAV" actionRef="" refresh="300" dueDateSevere="86400000" dueDateWarning="259200000" emphasizedItems="new" displayOnlyDefinedAttributes="yes" dynamicCreationAllowed="yes" actionPosition="bottom" referenceBundle="tasks">
<DisplayAttributes>
<DisplayAttribute name="createdDate" type="date" width="" sortable="yes" format="medium" referenceBundle="sent_date" hAlign="LEFT" vAlign="BASELINE" maxTextWidth="0" headerVisible="yes"/>
<DisplayAttribute name="escalatedBy" type="people" width="" sortable="yes" format="default" referenceBundle="escalated_by" hAlign="LEFT" vAlign="BASELINE" maxTextWidth="0" headerVisible="yes"/>
<DisplayAttribute name="attachmentCount" type="int" width="1" sortable="yes" format="default" referenceBundle="attachments" hAlign="CENTER" vAlign="BASELINE" maxTextWidth="0" headerVisible="no"/>
<DisplayAttribute name="statusIcon" type="image" width="1" sortable="yes" format="default" referenceBundle="status_image" hAlign="LEFT" vAlign="BASELINE" maxTextWidth="0" headerVisible="no">
<ImageMapping default="enum">
<ImageMap value="EXECUTED" imageName="ico16_task_confirmed.gif" referenceBundle="confirmed_task_status"/>
<ImageMap value="COMPLETED" imageName="ico16_task_complete.gif" referenceBundle="complete_task_status"/>
<ImageMap value="INPROGRESS" imageName="ico16_task_start.gif" referenceBundle="start_task_status"/>
<ImageMap value="enum" imageName="ico16_task_new.gif" referenceBundle="new_task_status"/>
<ImageMap value="CANCELLED" imageName="ico16_task_reject.gif" referenceBundle="cancelled_task_status"/>
<ImageMap value="NEW" imageName="ico16_task_new.gif" referenceBundle="new_task_status"/>
</ImageMapping>
</DisplayAttribute>
<DisplayAttribute name="substitutedFor" type="people" width="" sortable="yes" format="default" referenceBundle="substituted_for" hAlign="LEFT" vAlign="BASELINE" maxTextWidth="0" headerVisible="yes"/>
<DisplayAttribute name="dueDate" type="date" width="" sortable="yes" format="medium" referenceBundle="due_date" hAlign="LEFT" vAlign="BASELINE" maxTextWidth="0" headerVisible="yes"/>
<DisplayAttribute name="status" type="string" width="" sortable="yes" format="default" referenceBundle="status" hAlign="LEFT" vAlign="BASELINE" maxTextWidth="0" headerVisible="yes"/>
<DisplayAttribute name="isEscalated" type="image" width="10" sortable="yes" format="default" referenceBundle="data_escalate" hAlign="LEFT" vAlign="BASELINE" maxTextWidth="0" headerVisible="no">
<ImageMapping default="0">
<ImageMap value="0" imageName="">
<Descriptions default=""/>
</ImageMap>
<ImageMap value="1" imageName="ico16_escalated.gif" referenceBundle="data_escalated"/>
</ImageMapping>
</DisplayAttribute>
<DisplayAttribute name="creatorId" type="people" width="" sortable="yes" format="default" referenceBundle="from" hAlign="LEFT" vAlign="BASELINE" maxTextWidth="0" headerVisible="yes"/>
<DisplayAttribute name="memoCount" type="int" width="1" sortable="yes" format="default" referenceBundle="memo" hAlign="CENTER" vAlign="BASELINE" maxTextWidth="0" headerVisible="no"/>
<DisplayAttribute name="itemTypeIcon" type="image" width="1" sortable="no" format="default" referenceBundle="item_type" hAlign="LEFT" vAlign="BASELINE" maxTextWidth="0" headerVisible="no">
<ImageMapping default="none">
<ImageMap value="uwl.task" imageName="task.gif" referenceBundle="tasks"/>
<ImageMap value="none" imageName="">
<Descriptions default=""/>
</ImageMap>
<ImageMap value="uwl.notification" imageName="notification.gif" referenceBundle="task_notifications"/>
<ImageMap value="uwl.alert" imageName="alert.gif" referenceBundle="task_alerts"/>
</ImageMapping>
</DisplayAttribute>
<DisplayAttribute name="systemId" type="string" width="10" sortable="yes" format="default" referenceBundle="system_id" hAlign="LEFT" vAlign="BASELINE" maxTextWidth="0" headerVisible="yes"/>
<DisplayAttribute name="TripNumber" type="string" sortable="no" maxTextWidth="0" headerVisible="yes">
<Descriptions default="Trip Number"/>
</DisplayAttribute>
<DisplayAttribute name="isLaunched" type="image" width="1" sortable="no" format="default" referenceBundle="launched" hAlign="LEFT" vAlign="BASELINE" maxTextWidth="0" headerVisible="no">
<ImageMapping default="0">
<ImageMap value="0" imageName="1x1.gif" referenceBundle="not_launched"/>
<ImageMap value="1" imageName="ico16_clock1.gif" referenceBundle="is_launched"/>
</ImageMapping>
</DisplayAttribute>
<DisplayAttribute name="subject" type="link" width="" sortable="yes" format="default" actionRef="viewDetail" referenceBundle="subject" hAlign="LEFT" vAlign="BASELINE" maxTextWidth="0" headerVisible="yes"/>
<DisplayAttribute name="EmployeeNumber" type="string" sortable="no" maxTextWidth="0" headerVisible="yes">
<Descriptions default="Emp Number"/>
</DisplayAttribute>
<DisplayAttribute name="priority" type="string" width="10" sortable="yes" format="default" referenceBundle="priority" hAlign="LEFT" vAlign="BASELINE" maxTextWidth="0" headerVisible="yes">
<Menu>
<MenuItem name="Low" actionRef="priorityLow" referenceBundle="menu_priority_low"/>
<MenuItem name="Normal" actionRef="priorityNormal" referenceBundle="menu_priority_normal"/>
<MenuItem name="High" actionRef="priorityHigh" referenceBundle="menu_priority_high"/>
<MenuItem name="VeryHigh" actionRef="priorityVeryHigh" referenceBundle="menu_priority_v_high"/>
</Menu>
</DisplayAttribute>
</DisplayAttributes>
<AllowedFilters>
<CompoundExpression logicalOperation="AND" defaultViewFilter="yes" referenceBundle="filter_display_all"/>
<CompoundExpression logicalOperation="AND" defaultViewFilter="no" referenceBundle="filter_new">
<Expression name="status" value="NEW" comparator="Equals"/>
</CompoundExpression>
<CompoundExpression logicalOperation="AND" defaultViewFilter="no" referenceBundle="filter_inprogress">
<Expression name="status" value="INPROGRESS" comparator="Equals"/>
</CompoundExpression>
<CompoundExpression logicalOperation="AND" defaultViewFilter="no" referenceBundle="filter_duetoday">
<Expression name="dueDate" value="Today" comparator="Equals"/>
</CompoundExpression>
<CompoundExpression logicalOperation="AND" defaultViewFilter="no" referenceBundle="filter_overdue">
<Expression name="dueDate" value="Today" comparator="LessThan"/>
</CompoundExpression>
</AllowedFilters>
<Actions>
<Action reference="defaultGlobalWizard"/>
<Action reference="addToNavigation"/>
<Action reference="removeFromNavigation"/>
</Actions>
</View>
</Views>
Below is the iview launch
<UWLConfiguration version="1.0">
<ItemTypes>
<ItemType name="uwl.taskTS90000097.SAP_ECC_HumanResources" connector="WebFlowConnector" defaultView="uwl.taskTS90000097.SAP_ECC_HumanResources_view" defaultAction="defaultAction">
<ItemTypeCriteria systemId="SAP_ECC_HumanResources" externalType="TS90000097" connector="WebFlowConnector"/>
<CustomAttributes>
<CustomAttributeSource id="WEBFLOW_CONTAINER" objectIdHolder="externalId" objectType="WebFlowContainer" cacheValidity="default">
<Attribute name="TripNumber" type="string" displayName="Trip Num"/>
<Attribute name="EmployeeNumber" type="string" displayName="Emp Num"/>
</CustomAttributeSource>
<CustomAttributeSource id="ABAP_BOR" objectIdHolder="externalObjectId" objectType="BUS2089" cacheValidity="default"/>
</CustomAttributes>
<Actions>
<Action name="defaultAction" groupAction="" handler="IViewLauncher" returnToDetailViewAllowed="yes" launchInNewWindow="no">
<Properties>
<Property name="iview" value="ROLES://portal_content/com.aoins.portal.aoins/com.aoiins.portal.hr_portal_prj/com.sap.pct.erp.ess.bp_folder/com.sap.pct.erp.ess.iviews/com.sap.pct.erp.ess.travel_expenses/com.sap.pct.erp.ess.12.expenses"/>
<Property name="SAP_FITV_TRIPNO" value="${item.TripNumber}"/>
<Property name="SAP_FITV_ACTION" value="CHG"/>
<Property name="SAP_FITV_PERSNO" value="${item.EmployeeNumber}"/>
</Properties>
<Descriptions default="defaultAction"/>
</Action>
</Actions>
</ItemType>
</ItemTypes>
<Views>
<View name="uwl.taskTS90000097.SAP_ECC_HumanResources_view" selectionMode="SINGLESELECT" width="98%" supportedItemTypes="uwl.task" columnOrder="subject, isEscalated, creatorId, createdDate, priority, attachmentCount, dueDate, status, EmployeeNumber, TripNumber" sortby="createdDate:desc, dueDate:asc, priority:desc" tableDesign="STANDARD" visibleRowCount="10" headerVisible="no" queryRange="undefined" tableNavigationFooterVisible="yes" tableNavigationType="CUSTOMNAV" actionRef="" refresh="60" dueDateSevere="86400000" dueDateWarning="259200000" emphasizedItems="new" displayOnlyDefinedAttributes="yes" dynamicCreationAllowed="yes" actionPosition="bottom" referenceBundle="tasks">
<DisplayAttributes>
<DisplayAttribute name="createdDate" type="date" width="" sortable="yes" format="medium" referenceBundle="sent_date" hAlign="LEFT" vAlign="BASELINE" maxTextWidth="0" headerVisible="yes"/>
<DisplayAttribute name="escalatedBy" type="people" width="" sortable="yes" format="default" referenceBundle="escalated_by" hAlign="LEFT" vAlign="BASELINE" maxTextWidth="0" headerVisible="yes"/>
<DisplayAttribute name="attachmentCount" type="int" width="1" sortable="yes" format="default" referenceBundle="attachments" hAlign="CENTER" vAlign="BASELINE" maxTextWidth="0" headerVisible="no"/>
<DisplayAttribute name="statusIcon" type="image" width="1" sortable="yes" format="default" referenceBundle="status_image" hAlign="LEFT" vAlign="BASELINE" maxTextWidth="0" headerVisible="no">
<ImageMapping default="enum">
<ImageMap value="EXECUTED" imageName="ico16_task_confirmed.gif" referenceBundle="confirmed_task_status"/>
<ImageMap value="COMPLETED" imageName="ico16_task_complete.gif" referenceBundle="complete_task_status"/>
<ImageMap value="INPROGRESS" imageName="ico16_task_start.gif" referenceBundle="start_task_status"/>
<ImageMap value="enum" imageName="ico16_task_new.gif" referenceBundle="new_task_status"/>
<ImageMap value="CANCELLED" imageName="ico16_task_reject.gif" referenceBundle="cancelled_task_status"/>
<ImageMap value="NEW" imageName="ico16_task_new.gif" referenceBundle="new_task_status"/>
</ImageMapping>
</DisplayAttribute>
<DisplayAttribute name="substitutedFor" type="people" width="" sortable="yes" format="default" referenceBundle="substituted_for" hAlign="LEFT" vAlign="BASELINE" maxTextWidth="0" headerVisible="yes"/>
<DisplayAttribute name="dueDate" type="date" width="" sortable="yes" format="medium" referenceBundle="due_date" hAlign="LEFT" vAlign="BASELINE" maxTextWidth="0" headerVisible="yes"/>
<DisplayAttribute name="status" type="string" width="" sortable="yes" format="default" referenceBundle="status" hAlign="LEFT" vAlign="BASELINE" maxTextWidth="0" headerVisible="yes"/>
<DisplayAttribute name="isEscalated" type="image" width="10" sortable="yes" format="default" referenceBundle="data_escalate" hAlign="LEFT" vAlign="BASELINE" maxTextWidth="0" headerVisible="no">
<ImageMapping default="0">
<ImageMap value="0" imageName="">
<Descriptions default=""/>
</ImageMap>
<ImageMap value="1" imageName="ico16_escalated.gif" referenceBundle="data_escalated"/>
</ImageMapping>
</DisplayAttribute>
<DisplayAttribute name="creatorId" type="people" width="" sortable="yes" format="default" referenceBundle="from" hAlign="LEFT" vAlign="BASELINE" maxTextWidth="0" headerVisible="yes"/>
<DisplayAttribute name="memoCount" type="int" width="1" sortable="yes" format="default" referenceBundle="memo" hAlign="CENTER" vAlign="BASELINE" maxTextWidth="0" headerVisible="no"/>
<DisplayAttribute name="itemTypeIcon" type="image" width="1" sortable="no" format="default" referenceBundle="item_type" hAlign="LEFT" vAlign="BASELINE" maxTextWidth="0" headerVisible="no">
<ImageMapping default="none">
<ImageMap value="uwl.task" imageName="task.gif" referenceBundle="tasks"/>
<ImageMap value="none" imageName="">
<Descriptions default=""/>
</ImageMap>
<ImageMap value="uwl.notification" imageName="notification.gif" referenceBundle="task_notifications"/>
<ImageMap value="uwl.alert" imageName="alert.gif" referenceBundle="task_alerts"/>
</ImageMapping>
</DisplayAttribute>
<DisplayAttribute name="systemId" type="string" width="10" sortable="yes" format="default" referenceBundle="system_id" hAlign="LEFT" vAlign="BASELINE" maxTextWidth="0" headerVisible="yes"/>
<DisplayAttribute name="TripNumber" type="string" sortable="no" maxTextWidth="0" headerVisible="yes">
<Descriptions default="Trip Num"/>
</DisplayAttribute>
<DisplayAttribute name="isLaunched" type="image" width="1" sortable="no" format="default" referenceBundle="launched" hAlign="LEFT" vAlign="BASELINE" maxTextWidth="0" headerVisible="no">
<ImageMapping default="0">
<ImageMap value="0" imageName="1x1.gif" referenceBundle="not_launched"/>
<ImageMap value="1" imageName="ico16_clock1.gif" referenceBundle="is_launched"/>
</ImageMapping>
</DisplayAttribute>
<DisplayAttribute name="subject" type="link" width="" sortable="yes" format="default" actionRef="viewDetail" referenceBundle="subject" hAlign="LEFT" vAlign="BASELINE" maxTextWidth="0" headerVisible="yes"/>
<DisplayAttribute name="EmployeeNumber" type="string" sortable="no" maxTextWidth="0" headerVisible="yes">
<Descriptions default="Emp Num"/>
</DisplayAttribute>
<DisplayAttribute name="priority" type="string" width="10" sortable="yes" format="default" referenceBundle="priority" hAlign="LEFT" vAlign="BASELINE" maxTextWidth="0" headerVisible="yes">
<Menu>
<MenuItem name="Low" actionRef="priorityLow" referenceBundle="menu_priority_low"/>
<MenuItem name="Normal" actionRef="priorityNormal" referenceBundle="menu_priority_normal"/>
<MenuItem name="High" actionRef="priorityHigh" referenceBundle="menu_priority_high"/>
<MenuItem name="VeryHigh" actionRef="priorityVeryHigh" referenceBundle="menu_priority_v_high"/>
</Menu>
</DisplayAttribute>
</DisplayAttributes>
<AllowedFilters>
<CompoundExpression logicalOperation="AND" defaultViewFilter="yes" referenceBundle="filter_display_all"/>
<CompoundExpression logicalOperation="AND" defaultViewFilter="no" referenceBundle="filter_new">
<Expression name="status" value="NEW" comparator="Equals"/>
</CompoundExpression>
<CompoundExpression logicalOperation="AND" defaultViewFilter="no" referenceBundle="filter_inprogress">
<Expression name="status" value="INPROGRESS" comparator="Equals"/>
</CompoundExpression>
<CompoundExpression logicalOperation="AND" defaultViewFilter="no" referenceBundle="filter_duetoday">
<Expression name="dueDate" value="Today" comparator="Equals"/>
</CompoundExpression>
<CompoundExpression logicalOperation="AND" defaultViewFilter="no" referenceBundle="filter_overdue">
<Expression name="dueDate" value="Today" comparator="LessThan"/>
</CompoundExpression>
</AllowedFilters>
<Actions>
<Action reference="defaultGlobalWizard"/>
<Action reference="addToNavigation"/>
<Action reference="removeFromNavigation"/>
</Actions>
</View>
</Views>
</UWLConfiguration>
Hi
[Using Web Dynpro Java and Web Dynpro ABAP Applications in Universal Work List|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/user-interface-technology/wd%20java/wdjava%20archive/using%20web%20dynpro%20java%20and%20web%20dynpro%20abap%20applications%20in%20universal%20work%20list.pdf]
will be helpful
Abhi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Syntax was not correct plus the custom attributes from container are case sensitive.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This isn't really the correct forum for your question. Although you are working with a WDA application - this sounds much more related to UWL configuration than anything to do with WDA itself. I would suggest you post this question in the portal forum.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.