Get Example source ABAP code based on a different SAP table
ABAP_CDS Access Control in ABAP Release 7.57 ITOC BEGIN_SECTION SAP_ONLY
ABAP_MODIFICATION_NN CDS Access Control Context>
An access control context is a hierarchical data structure with nodes that can have other nodes and values as child nodes. It provides access roles with specific information about the type of data selection that is being performed. Two functions are available to query the access control context:
CONTEXT_NODE_EXISTS>>
CONTEXT_NODE_VALUES>> ABAP_NOTE The access control context and the relating functions are available only internally at SAP.
ABAP_MODIFICATION_NN CONTEXT_NODE_VALUES>, New Parameterdatatype>>
The access control context function CONTEXT_NODE_VALUES>> now has a further optional keyword parameter: datatype>. This parameter specifies a DDIC data element that is used to represent the context node values at runtime before they are used in the comparison operations. END_SECTION SAP_ONLY
ABAP_MODIFICATION_NN IF ... THEN ... ELSE ...> Control Structure Available in Access Conditions>
Control structures IF ... THEN ... ELSE ...>> can now be used as part of an access condition> after the DEFINE ROLE> statement.
ABAP_MODIFICATION_NN DEFINE ROLE> Statement Has New Addition SWITCHABLE>>
The new addition SWITCHABLE>> is now available for the DEFINE ROLE>> statement. Using this addition, the content of the role reacts to status changes in the Switch Framework with respect to the package of the access control.