on 04-28-2023 1:38 PM
Dear experts, this question has been asked multiple time already and correct solution was the following: Disabling the Editing Status Filter - Documentation - Demo Kit - SAPUI5 SDK
I wonder how to make the ABAP CDS annotation work because DraftAdministrativeData is undefined and gives Activation Error - No association "DraftAdministrativeData" is defined for ZI_HeaderTest
managed implementation in class zbp_i_test unique;
strict;
with draft;
define behavior for ZI_HeaderTest
persistent table zheader
draft table zheader_d
lock master
total etag LocalLastChangedAt
etag master LocalLastChangedAt
authorization master ( global )
//etag master <field_name>
{
field ( numbering : managed, readonly ) Id;
create;
update ( features : instance );
delete ;
association _line { create ( features : instance ); with draft; }
association DraftAdministrativeData //Activation Error - No association "DraftAdministrativeData" is defined for ZI_HeaderTest
{ create; }
draft action Edit;
draft action Activate;
draft action Discard;
draft action Resume;
}<br>
From a functional point of view it is possible in V2 but not in V4.
From an annotation point of view it is not possible with RAP annotations.
So the developer needs to create this as an XML annotation in the frontend.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
11 | |
8 | |
8 | |
6 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.