on 09-29-2009 3:34 AM
Hi all,
I am working on uwl mass approval.
i have generated the new xml file for this and now mass approval is working fine.
My problem is that i need to give select all option ie right now if there are 5 tasks
present in uwl then i need to click 5 times to select the task then finally i am submitting the decision.
Is there any way of giving some button/action so when user click on that button all the task get selected ??
Regards,
Piyush
Solved
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Piyush,
I want to implemeng mass approval UWL task in SAP Portal 7.0..can u please help in letting me how is this possible.
Regards,
Rohit Shukla
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rohit ,
You want to implement it for which type of task ?
If your work flow is of Decision type then its very easy,
Find the below mentioned code , change according to your requirement ... and
Finally upload the new xml file with high priority with required system.
Code for item type
<CustomAttributes>
<CustomAttributeSource id="WEBFLOW_CONTAINER" objectIdHolder="externalId"
objectType="WebflowContainer" cacheValidity="final">
<Attribute name="subject" type="link" displayName="Subject" />
</CustomAttributeSource>
</CustomAttributes>
<Actions>
<Action name="Approved" userDecision="yes" handler="UserDecisionHandler">
<Properties>
<Property name="decisionKey" value="1"/>
</Properties>
<Descriptions default="Approve"/>
</Action>
<Action name="Rejected" userDecision="yes" handler="UserDecisionHandler">
<Properties>
<Property name="decisionKey" value="2"/>
</Properties>
<Descriptions default="Reject"/>
</Action>
<Action name="submitUserDecisions" groupAction="yes" handler="UIActionHandler"
referenceBundle="submit_msg" returnToDetailViewAllowed="no"
launchInNewWindow="SHOW_HEADERLESS_PORTAL">
<ConfirmDescriptions referenceBundle="submit_prompt"/>
</Action>
</Actions>
code for your view
<Actions>
<Action name="submitUserDecisions" groupAction="yes" handler="UIActionHandler"
referenceBundle="submit_msg" returnToDetailViewAllowed="no"
launchInNewWindow="SHOW_HEADERLESS_PORTAL">
<ConfirmDescriptions referenceBundle="submit_prompt"/>
</Action>
</Actions>
Regards,
Piyush
Hi, Piyush
I have qustion about "select all" button. I have already implemented multi-approval myself. So finally I have column of type check-box for approve in my view:
<DisplayAttribute
name="approveCol"
type="checkbox"
width=""
sortable="no"
format="default"
actionRef="accept"
referenceBundle="approve"
hAlign="CENTER"
vAlign="BASELINE"
maxTextWidth="0"
headerVisible="yes
"/>
You mentioned that you were able to add button to "select/deselect all" check-boxes at once. Please can you post your solution also for this functionality? I would be grateful for that.
Hi Roman,
Sorry for the late reply. As this thread was closed so i did not get nay mail for your post.
Now coming to the issue:
After all R&D i came to know that , There is no function/Attributes available in UWL xml parser so we can not
do this from XML configuration.
For the solution what i did is - I place on button called "Select All" on my view and developed one WD ABAP
application which will show all uwl tasks (Look & Feel almost same as UWL) and from that button i am
calling the iview created based on WD ABAP application , where i show all tasks selected.
Below is the code to call the ivew from uwl :
<Action name="launchIView" handler="IViewLauncher"
groupAction="yes">
<Properties>
<Property name="iview"
value="ROLES://portal_content/pcd location/ZHRTV_MASS_A
PPR_TR"/>
</Properties>
<Descriptions default="Select and Approve All">
<ShortDescriptions>
<Description Language="en" Description="Select and
Approve Alll"/>
</ShortDescriptions>
</Descriptions>
</Action>
Regards,
Piyush
Hi Piyush,
I'm working on the "Select All" button in UWL. Like you, I couldn't find any standard function/Attributes available for usage.
I saw your post on your solution:
Can you share more on your solution regarding:
- Developed one WD ABAP application which will show all uwl tasks (Look & Feel almost same as UWL) and from that button i am calling the iview created based on WD ABAP application , where i show all tasks selected.
Thanks,
Eugene
Hi Experts,
any solution for above issue ??
Regards,
Piyush
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
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.