cancel
Showing results for 
Search instead for 
Did you mean: 

Unselect row selection after running planning function

Former Member
0 Kudos

Hi,

I am curious if there is a standard way, hot to automatically deselect rows, which end user selected in a web layout.

I am using row selection functinality in WAD, where the user selects a row and runs a planning function only on this row. The problem is that the row stays selected and the user has to unselect it manually.

I am looking for some way how to make the unselection automatically like for example in Planning modeler.

Any advice will be highly appreciated.

Jan

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi.

When you select row are you executing any command by selection ? For example you populate some variables by selecting row and press button to execute planning function...

If you populate variables and want to clear you can add after planning funcrion execution another command SET_VARIABLES_VALUES and clear your variables ...

But if you want simple unselect (visually) I dont think it is possible .

Regards.

[Uryukin Andrey|http://il.linkedin.com/in/andreyuryukin]

SAP-BI Consultant, [Advantech|http://advantech.co.il/en/index.asp]

[My Blog|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/u/252016769] [original link is broken] [original link is broken];

Former Member
0 Kudos

Hi Andrey,

in my button I am using the command SET_SELECTION_STATE_BY_BINDING which sets the filter for the planning function according to the selected rows. Then I can use for example the Remove All Filter Values parameter to reset the filter.

But the problem is, the rows on the analysis item remain selected and therefore another execution of the planning function takes again all the selected rows into account. This is very inconvenient for the users because they have to think about the unselection all the time.

Regrads

Jan

Former Member
0 Kudos

Hi.

I don't think we have a solution for this.

But if you will find one please share it ...

Regards.

[Uryukin Andrey|http://il.linkedin.com/in/andreyuryukin]

SAP-BI Consultant, [Advantech|http://advantech.co.il/en/index.asp]

[SCN Blog|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/u/252016769] [original link is broken] [original link is broken];

Former Member
0 Kudos

Hello,

I think BACK_TO_PREVIOUS_DP_STATE command can be helpful. You need to think smartly how you can configure it with

your planning function.

Regards,

Deepti

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello,

I had the exact same problem except that in my case the analysis item was enabled for multiple selection... it was very long for the users to unselect all the rows.

My workaround was to:

  1. Add the SET_ITEM_PARAMETERS command just after the planning function in the same button.
    • The command should be executed on the analysis item on which you want to unselect the rows
    • It should also set the SELECT_ROWS parameter of the analysis item to NONE
  2. Add anotther SET_ITEM_PARAMETERS command just after the one before
    • The command should be executed on the analysis item on which you want to unselect the rows
    • It should also set the SELECT_ROWS parameter of the analysis item to SINGLEorMULTIPLE depending on the case

That's it!

Note that I still got one selected row after the execution... so I am not sure that it works with SINGLE selection.. but when you have 20 selected rows and you just have to unselect one it's great!

Regards