Validations in RAP using Unmanaged scenario.
Validations are used to check the consistency and correctness of the data before it is saved to the database. If the data is invalid, appropriate error messages are returned to the user. Managed Scenario In Managed Scenario, the final check for all involved BOs is done via validations. In Managed Scenario VALIDATIONS are called during CHECK_BEFORE_SAVE method. Unmanaged Scenario In unmanaged Scenario, the final check for all involved BOs is done in CHECK_BEFORE_SAVE method. FAILED REPORTED CHECK_BEFORE_SAVE method gets called during the SAVE sequence. If the method returns an error in the failed parameter, the save sequence is terminated and the CLEANUP_FINALIZE method is called. Refer:- Etag in RAP Unmanaged Step 1: Change the API class and change the student internal table to public. CLASS zcl_ab_stuh_13 DEFINITION ...