Skip to Content

pass a parameter from view to controller

Hi All,

I have an issue.

In my table, I have a toolbar. In my toolbar, I have an "execute button". Now when user selects a row of the table, and clicks the execute button, a " dialog box" opens up.

In my dialog box, there are 2 options for the question " do you want to execute this item". If the user selects " YES", then the item should be executed ( i have used update method of my DPC class for the same). if user clicks " no", the dialog box is closed.

The problem comes, when I have to pass few parameters to my "execute button" in the toolbar. Everytime i try to pass a parameter, i get an error that it is not defined.

I have added the code which i am using. Please let me know what should I correct here. ( This code was working earlier with SAP.UI.COMMONS library).

capture.png (44.0 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    May 31, 2017 at 07:31 AM


    can you post the that error.

    Add comment
    10|10000 characters needed characters exceeded