How To Fix SADL_GEN_DRFT_MSG063 - CDS-View &1 must not contain draft specific fields


SAP Error Message - Details

  • Message type: E = Error

  • Message class: SADL_GEN_DRFT_MSG - Message for Draft generation

  • Message number: 063

  • Message text: CDS-View &1 must not contain draft specific fields

  • Show details Hide details


  • Self-Explanatory Message

    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.



    What else can you do?

    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.


Smart SAP Assistant

  • What is the cause and solution for SAP error message SADL_GEN_DRFT_MSG063 - CDS-View &1 must not contain draft specific fields ?

    The SAP error message SADL_GEN_DRFT_MSG063 indicates that a Core Data Services (CDS) view is not compliant with the requirements for draft handling in the SAP system. Specifically, it states that the CDS view must not contain draft-specific fields when it is intended to be used in a draft-enabled application.

    Cause:

    The error occurs when a CDS view includes fields that are specific to draft handling, such as:

    • Draft UUID
    • Draft status
    • Any other fields that are used to manage draft scenarios

    Draft handling is a feature in SAP that allows users to create and edit documents without immediately saving them. When a CDS view is intended for draft scenarios, it should not include fields that are not relevant to the draft context.

    Solution:

    To resolve this error, you need to modify the CDS view to ensure that it does not include any draft-specific fields. Here are the steps you can take:

    1. Review the CDS View Definition: Open the CDS view in the ABAP Development Tools (ADT) or the relevant development environment.

    2. Identify Draft-Specific Fields: Look for fields that are related to draft handling. These may include:

      • DraftUUID
      • DraftStatus
      • Any other fields that are not necessary for the view's purpose.
    3. Remove or Exclude Draft Fields: If you find any draft-specific fields, remove them from the CDS view definition. Ensure that the view only contains fields that are relevant for the intended use case.

    4. Check Annotations: Ensure that the annotations related to draft handling are correctly defined. If the view is not intended for draft scenarios, make sure that it does not have any draft-related annotations.

    5. Activate the CDS View: After making the necessary changes, activate the CDS view to apply the modifications.

    6. Test the Changes: Test the application or functionality that uses the CDS view to ensure that the error is resolved and that the application behaves as expected.

    Related Information:

    • Draft Handling in SAP: Understanding how draft handling works in SAP applications can help you design your CDS views appropriately. Draft handling is typically used in Fiori applications and other UI technologies that support user-friendly editing scenarios.
    • CDS View Annotations: Familiarize yourself with the various annotations available for CDS views, especially those related to draft handling, to ensure compliance with SAP standards.
    • SAP Documentation: Refer to the official SAP documentation for detailed guidelines on creating CDS views and handling drafts. This can provide insights into best practices and common pitfalls.

    By following these steps, you should be able to resolve the SADL_GEN_DRFT_MSG063 error and ensure that your CDS view is compliant with draft handling requirements.

    • Do you have any question about this error?


      Upgrade now to chat with this error.


Instant HelpGet instant SAP help. Start your 7-day free trial now.


Related SAP Error Messages

Click the links below to see the following related messages:

Click on this link to search all SAP messages.


Rating
ERPlingo simplifies finding the accurate answers to SAP message errors. I now use every week. A must have tool for anyone working with SAP! Highly recommended!
Rate 1
Kent Bettisworth
Executive SAP Consultant