cancel
Showing results for 
Search instead for 
Did you mean: 

How to disable the Editing Status Filter in RAP Fiori elements list report with draft?

MartinSommer
Explorer
0 Kudos

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>

MartinSommer
Explorer
0 Kudos

andre.fischer do you have an idea?

Accepted Solutions (0)

Answers (1)

Answers (1)

Andre_Fischer
Product and Topic Expert
Product and Topic Expert
0 Kudos

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.