cancel
Showing results for 
Search instead for 
Did you mean: 

decision buttons lost in SAP NW 7.30.05

Former Member
0 Kudos

Hello,

I configured the uwl on sap nw 7.01.06 portal and everything was working fine using the WebFlowConnector. (connected to SAP SRM, SRM_SERVER 7.01.07)

After upgrading the portal to 7.30.05 however, the decision buttons for approving/rejecting the shopping carts disappeared. In the task overview when selecting a work item the text is still there 'You can use decision buttons to approve or reject the shopping cart' but no more buttons.

I tried adding RFC destination (SAP Note 1133821 - UWL Destination Service configuration)

using nwa, but the problem remains.

When i use 'display support information', the 'approve' and 'reject' actions are listed under 'supported actions for this item'

Please advise what needs to be done to correct this?

Joris

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello Joris,

You should be able to still see the actions in the context menu.  The context menu is the dropdown beside the task name.  Select the task first, then select the dropdown.  Do you see the actions there?  Also to see the buttons at the bottom of the description area they must be defined in the view....see below for an example.  When userdecisions are used, they are always visible on the UI when they are defined in the view.  actionPosition tag decides where these should go.  In this example the buttons will be displayed at the bottom of the description area.

The xml file should look something like this for the view: (This is a sample).

<Views>

    <View name="<YOURVIEW>" selectionMode="SINGLESELECT" width="98%" supportedItemTypes="uwl.task.webflow.decision.TS00008267" columnOrder="statusIcon, subject, priority, creatorId, createdDate, dueDate, processor, forwardedDate, attachmentCount, detailIcon, APPROVE, REJECT" sortby="priority:descend, dueDate:ascend, createdDate:descend" tableDesign="STANDARD" visibleRowCount="10" headerVisible="yes" queryRange="undefined" tableNavigationFooterVisible="yes" tableNavigationType="CUSTOMNAV" refresh="300" dueDateSevere="0" dueDateWarning="0" emphasizedItems="none" displayOnlyDefinedAttributes="yes" dynamicCreationAllowed="yes" actionPosition="bottom" referenceBundle="YOURBUNDLE">

               <Actions>

                              <Action reference= "display form">

                              <Action reference= "attachments">

                               <Action reference= "forward"/>

               </Actions>

               </View>

  </Views>

Best Regards,

Beth Maben

EP - Senior Support Consultant II

SAP Active Global Support

Global Support Centre Ireland

beth.maben@sap.com

** Universal Worklist Wiki:

http://wiki.sdn.sap.com/wiki/x/ehU

swapnil_shelke
Explorer
0 Kudos

Hi Maben,

I am facing same problem with uwl.bpem configuration file which is standard one provided by SAP.

Requirement is, the task Actions for Delegate/Put Back needed on view using buttons. I am not sure but "sap.com/tc~bpem~wdui~taskinstance" component is used to execute the BPM task from UWL and there is only uwl.bpem configuration is available.

I found that I can hide the Actions, view etc links from available view with NWA ->configuration->Infrastructure->Application Module...changing the ui.* boolean values for "sap.com/tc~bpem~wdui~taskinstance".

Please suggest me what can be a solution to add buttons as replacement for Actions(Put Back, Delegate) menu link?

Waiting for reply.

Regards,

Swapnil S.

Answers (2)

Answers (2)

0 Kudos

In NW 7.3 display preview Area action button are not visible. you will get this actions on context menu.

If you want to display the button in the preview area, yo have to add actions in the view level.

Regards

Sushi

Former Member
0 Kudos

Hi Mathew,

can you tell me how to add buttons in the view level?

Regards

Moin

0 Kudos

Hi Moin,

search term with " <View name"  in the xml file, then find the Actions area .

add the buttons with reference.

make sure you are editing on the right xml, clear the cache

hope this will solve your issue

regards

Sushi mathew chacko

armandozaro
Advisor
Advisor
0 Kudos

Hi Joris

Perhaps this can be occuring due to cached wrong cached content within the UWL cache for the connector from where the items are coming.

So please try clearing the UWL cache as per the following steps, and check if the issue persists:

Please go to "System Administration" -> "System Configuration" -> Universal Worklist & Workflow     -> Universal Worklist - Administration  -> Click on cache administration page -> Click "Clear Cache" button.

If this is the case and the issue doesn't get resolved, it can also be the case where after the upgrade the itemtypes definition for the issued connector is not updated. This is the XML file which is being used for the issued items. In order to retrieve a brand new XML from the connector, please proceed with the following:

Go through the following steps in the portal:

System Administration --> System Configuration --> Universal Worklist & workflow --> Universal Worklist Administration.

Click in the Re-register button for the relevant connector.

Let me know if you managed to resolve this!

Kind regards,

Armando Zaro

Former Member
0 Kudos

Armando,

Thanx for your feedback.

I cleared the uwl cache and deleted the SAP_SRM webflowconnector completely. As i tried to add the webflowconnector to SAP_SRM again, the system did give me a warning 'The backend of system SAP_SRM is not configured for optimized delta pull'

After i ignored this and checked the workitems again in the uwl the buttons are still missing and i also verified that the items are using XML configuration 'com.sap.pct.srm.core' and not the newly by the webflowconnector generated XML 'uwl.webflow.SAP_SRM'.

I guess the warning is the cause of the buttons problem? But how can i fix that?

Joris

armandozaro
Advisor
Advisor
0 Kudos

Hi Joris

I don't think the warning which you've received is related to the problem of the actions not showing up in the UWL iview.

Maybe it can be the case and the buttons are not appearing due a configuration problem in the iView from which you are accessing the UWL. Within the UWL iviews there is a property which informs an specific UWL View to be used when accessing the UWL through this portal iview.

The property is documented here:

http://help.sap.com/saphelp_nw70/helpdata/de/0a/ad68c125ae496f8c04a25090bd2e3c/content.htm

And its name is:

sap_uwl_viewname

Apparently it seems to me that the correct XML which should be used for the items is the  'com.sap.pct.srm.core', but don't know whether XML 'uwl.webflow.SAP_SRM' could be more appropriated. Maybe SRM area could help on this matter.

You have also mentioned the following:

"When i use 'display support information', the 'approve' and 'reject' actions are listed under 'supported actions for this item' "

So it seems that really we're dealing with something within the iview, which can be preventing the actions from being shown in the iview. Try to check if the following parameter is filled in the iview:

List of UWL actions to exclude

It is also described in the same documentation that I've mentioned above, and by using this property it can be specified some UWL actions to be hidden in the iview.

Let me know if you manage to resolve the problem!

Kind regards,

Armando

Former Member
0 Kudos

Armando,

i checked the iview properties; everything is standard:

--------------

List of preview sections to hide
(SUBJECT, ATTRIBUTES, DESCRIPTION, ATTACHMENTS, NOTES, USERDECISION, and/or
ACTIONS)
is empty

List of UWL Actions to
exclude
is empty

sap_uwl_viewname = DefaultView

----------------

in the uwl item is see this info:

Current View Information:

Current View Name: DefaultView

Current Item Information

Item Type Configuration Name: com.sap.pct.srm.core

Supported Actions for
this Item

com.sap.pct.srm.core.action.reject Reject  FunctionModuleActionHandler

---------------------

when i use the context menu for the item in the  uwl overview table, the actions Approve and Reject are available, but not in the detail view.

--------------------

i also tried another workflow; (WS70000704 demo workflow for notification of absence) i started the workflow from the srm system using transaction SWUS, rejected the absence-request in the backend so that the workflow stopped at the general decision task TS70008267.

Then i checked in the portal-uwl the item and in this item i can see 2 decision buttons in the detail-view (revise leave request and withdraw leave request). These actions are not in the context-menu. This uwl-item is using 'uwl.webflow.SAP_SRM'  (as it is not a SRM-workflow..)

--------------------

So it seems the iview is not blocking the buttons (actions)..

How can i force the item type to use another configuration XML? Or can i put a breakpoint somewhere to see why the decision buttons are not displayed?

Former Member
0 Kudos

this is what is in the configuration xml for the itemtype:

<ItemType name="uwl.task.webflow.srm.TS40007952" connector="WebFlowConnector" defaultView="com.sap.pct.srm.core.view.tasks" defaultAction="com.sap.pct.srm.core.action.launchWD.WDCLFPOIF" executionMode="default">

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

<CustomAttributes>

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

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

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

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

<Attribute name="WD_CONFIGID" type="string" displayName="Web Dynpro Application Configuration"/>

</CustomAttributeSource>

</CustomAttributes>

<Actions>

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

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

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

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

</Actions>

</ItemType>