You want to make an input field mandatory so that a user is unable to save changes unless the required field is not empty.
If you created the BSP component from scratch you're probably well aware of how to do this. But this example is based on making a field in a standard SAP component mandatory.
Here I wanted to make my change to the Service Request details page. A user should not be allowed to save a service request they edited if they do not have level 1 or level 2 categories specified.
When a user clicks ‘Save’, the eh_onsave() method checks all mandatory fields in the screen for any that are blank. If one is encountered it cancels the save and highlights the blank fields with a red border.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
6 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 | |
2 |