Relative Content

Tag Archive for sapui5abapsap-fiori

How do i change view and controller with the press of a button?

The basics is that I’m creating a very basic SAP Fiori app that displays data from a table as it loads. There are 2 tables in the database that the SAPUI connects to, and I want to change view and controller at the press of a header toolbar. The visual part of this header toolbar has been implemented, and it calls for the function that i want to use to switch views and controllers while giving it the Key var that will be used to pick one or the other using a Switch.

SAPUI5: How do i change view and controller with the press of a button?

The basics is that im creating a very basic SAP Fiori app that displays data from a table as it loads. There are 2 tables in the database that the SAPUI connects to, and i want to change view and controller at the press of a header toolbar. The visual part of this header toolbar has been implemented, and it calls for the function that i want to use to switch views and controllers while giving it the Key var that will be used to pick one or the other using a Switch.