SADL_RS_SO_ROOT_BHV_EN

DDL: SADL_RS_SO_ROOT_BHV_EN SQL: SADLSRSSOBE Type: view_entity

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)

SourceAliasJoin Type
sadl_rs_so_root Document from

Associations (1)

CardinalityTargetAliasCondition
[0..*] SADL_RS_SO_ITEM_BHV_EN _Items

Annotations (2)

NameValueLevelField
EndUserText.label Sales Order Header with Behavior view
AccessControl.authorizationCheck #NOT_REQUIRED view

Fields (5)

KeyFieldSource TableSource FieldDescription
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":""
}
}*/