cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

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

MartinSommer
Participant
0 Kudos
2,816

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>

Accepted Solutions (0)

Answers (2)

Answers (2)

Svetoslav_Ishev
Associate
Associate
0 Kudos

Hello!

You can find the answer in the following link: https://sapui5.hana.ondemand.com/sdk/#/topic/8eb695ac473b4ab0a726e4021ce35cf4?q=editing%20status

I hope this helps.

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.

pooja_sharma
Newcomer
0 Kudos
any suggestion on how to add in XML annotation in frontedn