Ansicht
Dokumentation

ABENBDL_EXTEND_OWN_AUTH_CONTEXT - BDL EXTEND OWN AUTH CONTEXT

ABENBDL_EXTEND_OWN_AUTH_CONTEXT - BDL EXTEND OWN AUTH CONTEXT

ROGBILLS - Synchronize billing plans   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.
SAP E-Book

- extend own authorization context

extend own authorization context
{
  $[AuthObject1;$]
  $[AuthObject2;$]
  $[...$]
}


Effect

Extends a full authorization context using the statement extend own authorization context by adding further authorization objects AuthObject1, AuthObject2, ... to the context. If the original behavior definition defines a full authorization context and the extension implementation uses authorization objects which are not used in the original implementation, you should extend the full authorization context to ensure a complete and exhaustive list. Like for the original BDEF, the full authorization context is evaluated by certain contract checks and if it is not complete, a runtime error occurs.

As a prerequisite, the original BDEF must define a full authorization context. If this is the case, the full authorization context can be extended without any explicit extensibility enabling. If the original BDEF does not define a full authorization context, it must not be added via an extension.

An extension full authorization context may be defined before, between, or after the other components of an extension BDEF. It is also possible to define an empty full authorization context.

For details on the concept of a full authorization context, see topic CDS BDL - define own authorization context.

Example

The following BDEF extension DEMO_RAP_EXT_AUTH_CONTEXT extends the CDS behavior definition DEMO_RAP_OWN_AUTH_CONTEXT. It adds one further authorization object to the context.






CPI1466 during Backup   BAL Application Log Documentation  
This documentation is copyright by SAP AG.

Length: 2773 Date: 20240511 Time: 212445     sap01-206 ( 41 ms )