SADL_RS_SO_ROOT_BHV_EN
Sales Order Header with Behavior
SADL_RS_SO_ROOT_BHV_EN is a CDS View that provides data about "Sales Order Header with Behavior" in SAP S/4HANA. It reads from 1 data source (sadl_rs_so_root) and exposes 5 fields with key field id. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| sadl_rs_so_root | Document | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | SADL_RS_SO_ITEM_BHV_EN | _Items | |
Annotations (2)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Sales Order Header with Behavior | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view |
Fields (5)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | id | sadl_rs_so_root | id | |
| seller_id | sadl_rs_so_root | seller_id | Seller Identifier | |
| buyer_id | sadl_rs_so_root | buyer_id | Buyer Identifier | |
| type_code | sadl_rs_so_root | type_code | ||
| _Items | _Items |
//@AbapCatalog.sqlViewName: 'SADLSRSSOBE'
@EndUserText.label: 'Sales Order Header with Behavior'
//@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
define root view entity SADL_RS_SO_ROOT_BHV_EN
as select from sadl_rs_so_root as Document
composition [0..*] of SADL_RS_SO_ITEM_BHV_EN as _Items
{
key Document.id,
@EndUserText.label: 'Seller Identifier'
Document.seller_id,
@EndUserText.label: 'Buyer Identifier'
@OData.property.valueControl: 'act_indicator'
Document.buyer_id,
@EndUserText.label: 'Is Active'
// @Semantics.nullValueIndicatorFor: 'buyer_id'
cast ( Document.act_indicator as boole_d preserving type ) as act_indicator,
Document.type_code,
_Items
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"SADL_RS_SO_ROOT"
],
"ASSOCIATED":
[
"SADL_RS_SO_ITEM_BHV_EN"
],
"BASE":
[],
"ANNO_REF":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA