I am trying to realize a UI5 app, where visibility and editability of each control in my view is controllable through a customizing table in our SAP ERP.
At this time my idea is a entity type which contains these information for each property. Therefore my entity does have two additional properties for controlling visibility and editability. E.g.:
- Persnr
- PersnrVis
- PersnrEdit
- Lastname
- LastnameVis
- LastnameEdit
- ... (and so on) ...
This concept works, but it will bloat my entities. For me it looks more like a workaround, than a elaborate strategy.
Does someone have experiences which such a situation?