Smart Table SAPUI5 / Fiori with default layout

You want to gain capabilities of SAPUI5 Smart Table control using a GateWay service. Nice control, but at the moment with limited availibility of documentation and examples. Two points can make you headache. You want to bind to backend entity set, which is not directly accessible, but it is an associated entity, and you can access it via navigation from a source entity only. Second, how do you define a default layout/columns to be displayed, since you neither want to use Smart Variant management nor LineItem Annotations (anyway, if your SEGW project is of type SAP annotations, you cannot change it to VocalBulary-based annotations). First, what you need to know, that the smart table is a wrapper around a simple Table. Separate help documentation is available here.  You need to put these pieces together, to make a correct XML View, and extend it with the necessary coding in the view controller. 

Read More