MDG framework offers several options for field validation and data validation. Field vs data validation? I distinguish it here to highlight the validation solution from UI during data entry versus the data validation that is done to measure and fix/remediate the quality of data already saved and active in the system.
When users enter data, following are few ways of validating this data:
- Required field check.
- Field value dependent on other fields and their values.
creatign descptive messages and displaying them
altering user navigation, for instance, stopping them from moving forward.
An important topic I like to add to all the blogs is how to trace the code and reach the logic. this also helps us when designing the solution.
so here we go for validation using badi....