Message type: E = Error
Message class:  SADL_GW_DT_CDS - Messages CDS Checks 
Message number: 028
Message text: Annotation 'ObjectModel.writeDraftPersistence' is missing in CDS view &1.
Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of messages in the SAP system have a message text, however this is frequently insufficient to comprehend or resolve the problem.
To make things easier, more detailed information is frequently added to describe the issue, how to fix it, and the necessary steps or configuration modifications.
Unfortunately, there isn't any extra information in this error notice.
First, use our AnswerBot below to get a possible cause and solution (requires a premium subscription).
Also, review the in-depth Common Questions & Answers listed below; you could discover a solution there or be able to connect with others who have faced similar challenges.
You can also try searching the SAP support portal (support.sap.com) but you need a special user ID to access it. It is possible that an SAP support note exists that provides additional details about the mistake or even steps for fixing it.
The SAP error message SADL_GW_DT_CDS028 indicates that there is a missing annotation ObjectModel.writeDraftPersistence in a Core Data Services (CDS) view. This annotation is essential for enabling draft handling in the context of the SAP Gateway and OData services.
Cause: The error typically arises when: The CDS view is intended to support draft functionality (e.g., for UI applications that require draft capabilities), but the necessary annotation is not defined in the CDS view. The CDS view is being used in a scenario where draft management is expected, such as in Fiori applications or when integrating with SAP S/4HANA.
Solution: To resolve this error, you need to add the missing annotation to the CDS view. Here’s how you can do that: Open the CDS View: Use the ABAP Development Tools (ADT) in Eclipse or the SAP GUI to access the CDS view definition. Add the Annotation: Include the @ObjectModel.writeDraftPersistence: true annotation in the CDS view definition. This annotation indicates that
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
SADL_GW_DT_CDS027 CDS view &1 is not a consumption view.
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
SADL_GW_DT_CDS025 Association #TO_COMPOSITION_ROOT in CDS view &1 defined multiple times
What causes this issue?  The association that is annotated with @ObjectModel.association.type: #TO_COMPOSITION_ROOT is defined multiple times, either ...
SADL_GW_DT_CDS029 CDS view &1 cannot be draft-enabled due to underlying transactional view.
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
SADL_GW_DT_CDS031 CDS view &1: Association to child &2 is missing.
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
Click on this link to search all SAP messages.