Ansicht
Dokumentation
ABENBDL_STRICT - BDL STRICT
TXBHW - Original Tax Base Amount in Local Currency Vendor Master (General Section)This documentation is copyright by SAP AG.
- strict
...
strict;
...
Effect
The addition strict enables BDEF strict mode. When strict mode is switched on, outdated syntax which normally produces a syntax check warning leads to a syntax check error. The implementation of BDEF strict mode is provided by the RAP framework, no implementation in an ABAP behavior pool is required.
strict must always appear as the second line in a CDS behavior definition.
It is recommended, but currently not enforced, to always use strict mode. Strict mode is currently mandatory and a prerequisite for BDEF extensions and BOs that are released by a release contract.
Strict mode is available for business objects of type managed, unmanaged, projection, and abstract.
All syntax check requirements are documented in the respective keyword topics.
Example - Managed
The following CDS behavior definition demonstrates the syntax for enabling strict mode. It is mandatory that the keyword strict is the second statement of the behavior definition.
In this example, strict mode enforces authorization control
(authorization master ( instance, global )).
Example - Unmanaged
The following CDS behavior definition shows an unmanaged BDEF with strict mode. It is mandatory that the keyword strict is the second statement of the behavior definition.
In this example, strict mode enforces the following:
- Each entity must be defined as lock master or lock dependent
- Each entity must be defined as authorization master or authorization dependent
- The child entity must explicitly specify the to-parent association
- The field key_field, which is used in the ON condition of the to-parent association _parent, must be specified as readonly.
Vendor Master (General Section) PERFORM Short Reference
This documentation is copyright by SAP AG.
Length: 3972 Date: 20240419 Time: 232208 sap01-206 ( 40 ms )