In SAP RAP (RESTful ABAP Programming Model), Early Numbering refers to assigning the key (e.g., ID or number) of a new business object at creation time, before the record is persisted to the database.
Follow the below code to implement early numbering.
Output after clicking the save button.