SAP Tutorials Blog


 



@AccessControl.authorizationCheck: #NOT_REQUIRED

define view entity DEMO_CDS_SIMPLE_TREE_VIEW

  as select from demo_simple_tree

  association [1..1] to DEMO_CDS_SIMPLE_TREE_VIEW as _tree  

    on $projection.parent = _tree.id

{

      _tree,

      key id,

      parent_id as parent,

      name

}



Serkan AKKAVAK

Computer Engineer BSc

Head of SAP & Software Department

Contact : serkurumsal@yandex.com