on 11-09-2011 9:41 AM
Hello
We are configuring UWL in a SAP Nw 7.01 SP10 Portal.
We have created a custom XML file where we define a decision task with approve and reject actions; user decision notes are enabled in both actions:
<ItemTypes>
<ItemType name="uwl.task.webflow.decision.TS90100261.SAP_ECC_Financials" connector="WebFlowConnector" defaultView="POCAllView" defaultAction="viewDetail" executionMode="default">
<ItemTypeCriteria systemId="SAP_ECC_Financials" externalType="TS90100261" connector="WebFlowConnector"/>
<Actions>
<Action name="ApproveRequest" groupAction="yes" handler="UserDecisionHandler" returnToDetailViewAllowed="no" launchInNewWindow="no">
<Properties>
<Property name="decisionKey" value="0001"/>
<Property name="UserDecisionNote" value="true"/>
<Property name="display_order_priority" value="uwlExcludeFromPreviewDetail"/>
<Property name="UserDecisionTitle" value="Approve the request"/>
</Properties>
<Descriptions default="Approve"/>
</Action>
<Action name="RejectRequest" groupAction="yes" handler="UserDecisionHandler" returnToDetailViewAllowed="no" launchInNewWindow="no">
<Properties>
<Property name="decisionKey" value="0002"/>
<Property name="UserDecisionNote" value="mandatory"/>
<Property name="display_order_priority" value="uwlExcludeFromPreviewDetail"/>
</Properties>
<Descriptions default="Reject"/>
</Action>
</Actions>
</ItemType>
</ItemTypes>
Then we define a view that allows mass approval/rejection using checkboxes and a submit decisions button:
<View name="POCAllView" selectionMode="SINGLESELECT" width="98%" supportedItemTypes="uwl.task.webflow.decision.TS90100261.SAP_ECC_Financials" columnOrder="APPROVE, REJECT, subject, creatorId, createdDate, priority, attachmentCount, dueDate, status, MYATTRIBUTE01, MYATTRIBUTE02, MYATTRIBUTE03" 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="pocall_tasks">
<DisplayAttributes>
<DisplayAttribute name="APPROVE" type="checkbox" width="" actionRef="ApproveRequest" referenceBundle="PoC.Approve" hAlign="CENTER" vAlign="MIDDLE"/>
<DisplayAttribute name="REJECT" type="checkbox" width="" actionRef="RejectRequest" referenceBundle="PoC.Reject" hAlign="CENTER" vAlign="MIDDLE"/>
</DisplayAttributes>
<Actions>
<Action reference="submitUserDecisions"/>
<Action reference="refresh"/>
<Action reference="defaultGlobalWizard"/>
<Action reference="addToNavigation"/>
<Action reference="removeFromNavigation"/>
</Actions>
</View>
However, we don't know how to include the decision note if the checkboxes + submit decision button are used.
Does anyone have experience with this configuration and knows the solution? Points will be rewarded.
Thanks,
Jon
hi jon
i am assuming that you are talking about approving multiple work items from uwl by selecting the approver check box for each item but I am unable to visualize your requirement for note field during mass approval.
can you explain
thanks
barin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Jon,
Were you able to resolve this issue? I have a similar issue. I created a mass approval view for my item type. It has 2 columns - 'Approve' and 'Reject' with 'Submit Decisions' button. But in my item type configuraiton, i have the 'userdecisionnote' as mandatory for rejections. Now when i reject using the mass approval view, it does not attach the notes. Also the rejection is not working even if I add the notes in the view since it is not able to attach the note. It gives me a message saying that rejection notes are not attached and hence rejection is not carried out.
Can you please help me here? Appreciate your time.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
create a custom view/subview for the UWL item and configure it according to your needs.
Have a look at this blog:
and also check the documentation:
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/4e/72112bc9ea484196f2a5fdc68f5f5f/frameset.htm
Regards,
Kiruthika
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 | |
9 | |
9 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.