cancel
Showing results for 
Search instead for 
Did you mean: 

uwl mass Approval- Select all option

piyush_kumar6
Active Contributor
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

piyush_kumar6
Active Contributor
0 Kudos

Solved

Former Member
0 Kudos

Hi,

could you please describe, how did you solve the problem?

Thanks a lot!

Andrey.

piyush_kumar6
Active Contributor
0 Kudos

Hi Andrey,

Can you tell me that you want to implement mass approval

or select all option.

Regards,

Piyush

Answers (2)

Answers (2)

Former Member
0 Kudos

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

piyush_kumar6
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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.

0 Kudos

Hello Piyush,

I'm solving the same problem: I want to select all checkboxes/radio buttons in mass approval view by one click.

Could you be so kind and give me your solution ?

Thank you very much,

Roman

piyush_kumar6
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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

piyush_kumar6
Active Contributor
0 Kudos

Hi Experts,

any solution for above issue ??

Regards,

Piyush

Former Member
0 Kudos

Dear Piyush,

Could you please share the solution,how did you achieve this?

Thanks in advance,

Anil.

piyush_kumar6
Active Contributor
0 Kudos

Hi Anil,

Can you tell me that you want to implement mass approval

or select all option.

Regards,

Piyush