Quantcast
Viewing all articles
Browse latest Browse all 3570

SAP Fiori/SAPUI5 reading view fields

Hi folks,

I am new to Fiori development and have did my research before asking this question here.

I have also completed the openSAP course on building a fiori App which was quite straight forward, but my question is based on manipulating the data on the front end and so not covered by the course.

 

I am looking for examples of manipulating the data on the screen based on the values returned by the back end system.  For example changing the colour fond of a PO which is above a certain value.  I am using the master/detail template and making using the webide with mock data.

I have been updating the Detail.controller.js, but I am not even able to update a field to a value like this

this._myfield = this.byId("text7");

but this could be because I haven't referenced the View, just tried to grab the field directly by ID.

If anyone knows of any sample snippets of code that shows front end field manipulation to change colour, value etc, I would be most greatful.

Note: these changes are not to go back to the back end, just view.

 

Thanks in Advance

 

Message was edited by: Michael Appleby


Viewing all articles
Browse latest Browse all 3570

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>