Hi Experts,
we are looking for a best practice to implement some different implementations for one ui component.
Our problem: we have three (later more) different incidents based on the same ui-component srqm_incident_h
We identify some possible solutions
Enhancement Sets:
+ simple
- only one Enhancement Set active for a business role (only one implementation/incident useable)
- no reuse of ui logic
Copy Component
+ no dependencies
- no reuse of ui logic
If / Case conditions in Methods where the coding is different
+ easy to create
- difficult to maintain
- dependencies based on distributed conditions
Some kind of Abstract-Factory-Pattern
+ all options left
- maybe oversized?
Do you know better solutions?
Do you have any experiences?
What do you think is the best solution?
Regards
Tobias