SAP BDL SHORT - Syntax



Get Example source ABAP code based on a different SAP table
  



ABAP_RAP - syntax_short_form

ABAP_SYNTAX
($[lock$]$[, authorization$]$[, etag$]) dependent by _assoc

What does it do?
The following three statements can be summarized in one statement:
lock dependent by _assoc
authorization dependent by _assoc
etag dependent by _assoc
This syntax short form can be used if the RAP authorization master entity, RAP lock master entity, and RAP ETag master entity are defined in the same entity which is reached via the association _assoc.
Each of the three components lock, authorization, and etag is optional but at least one of them must be specified within the parentheses.

ABAP_EXAMPLE_VX5
The following RAP behavior definition of type managed consists of four nodes. The root node is declared as lock master, authorization master, and ETag master entity. The three child nodes use the syntax short form to refer to the root entity for authorization control, locking, and optimistic concurrency control.
BDEF DEMO_RAP_EXTENSIBLE_ROOT
ABAP_EXAMPLE_END