Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

'Copy' Planning Function with row selection

Dear experts

I'm using a 'copy' Planning Function in combination with the 'select row' functionality in an integrated planning web template. Users should be able to select one or several rows and overwrite the forecast with calculated forecast figures by hitting a button. Example:

Customer x / product y calculated forecast for January 2016:      100

Customer x / product y current forecast for January 2016:           150

Result after hitting the button:

Customer x / product y current forecast for January 2016:           100

So far, this is working perfectly by using the selection binding / web item selection functionality. The problem is, however, that ALL data will be overwritten if no row is selected. To prevent that from happening I created a script and added a pop-up menu where you have to hit the ok button in order to proceed. Unfortunately, it is not checking if a row has been selected.

My question is:

How can I add a check to the script item that works the following way:

a) If one or several rows are selected proceed without pop-up menu

b) If no row is selected do nothing or show a pop-up menu that tells you to select a row

If possible, I'd rather go with the already implemented solution if there is a way to perform a check.

Thank you in advance,



Hi Christian,

there is probabl just something missing in your data binding.

you need to do a binding for each of the variables.

post a scrennshot of your binding so that we can see what is missing.



0 View this answer in context

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question