Ansicht
Dokumentation

ABENBDL_FIELD_ABSTRACT - BDL FIELD ABSTRACT

ABENBDL_FIELD_ABSTRACT - BDL FIELD ABSTRACT

rdisp/max_wprun_time - Maximum work process run time   General Material Data  
This documentation is copyright by SAP AG.
SAP E-Book

- Field Characteristics, Abstract BDEF

... field(suppress) Field1, Field2, ...;

Effect

In an abstract BDEF, there's only one field characteristic available: field(suppress). It can be used to remove a field from all derived types generated for the BDEF. In particular, the redundancy is avoided in the TYPE TABLE FOR HIERARCHY / TYPE STRUCTURE FOR HIERARCHY types.

Commas can be used to classify multiple fields in the same way. Example: field(suppress) Field1, Field2, Field3;

Note

A typical use case for field(suppress) was to exclude foreign-key fields used in the ON condition of the to-parent association to appear redundantly in the hierarchical type. This was particularly useful when it was still mandatory to define an ON condition in to-parent associations of CDS abstract entities. However, since release, the ON condition can be left out.

Example

The following abstract BDEF suppresses one field from its derived type.

An executable example is available in topic Using TYPE TABLE /TYPE STRUCTURE FOR HIERARCHY.






Vendor Master (General Section)   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.

Length: 2276 Date: 20240511 Time: 224354     sap01-206 ( 32 ms )