ABAP - Keyword Documentation → ABAP RAP Business Objects → RAP - Behavior Definitions → RAP - BDL for Behavior Definitions → RAP - Managed and Unmanaged Behavior Definitions → RAP - BehaviorDefinitionHeader → 

    RAP - with draft

    Syntax


    ...
    with draft;
    ...

    Description


    The addition with draft enables RAP draft handling for a business object. It is added in the behavior definition header as it draft-enables the entire business object. It is not possible to implement draft capabilities for individual entities within a business object.

    RAP draft handling is in all scenarios completely managed by the RAP transactional engine. The application developer is not responsible for how draft data is written to the draft database table.

    Availability


    Dependencies

    The addition with draft enables draft handling. There are several related syntax elements in the behavior definition:

    • draft table [query]:
    • total etag:
    • draft actions:
    • draft-enabled associations:

    Further Information


    Development guide for the ABAP RESTful Application Programming Model, topic Draft.