I_ProdCmplncLegalArea

DDL: I_PRODCMPLNCLEGALAREA Type: view BASIC

Legal Area

I_ProdCmplncLegalArea is a Basic CDS View that provides data about "Legal Area" in SAP S/4HANA. It reads from 1 data source (ehfndc_cmpstype) and exposes 2 fields. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
ehfndc_cmpstype LegalArea from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_ProdCmplncLegalAreaText _Text $projection.ProdCmplncLegalArea = _Text.ProdCmplncLegalArea

Annotations (11)

NameValueLevelField
EndUserText.label Legal Area view
AbapCatalog.sqlViewName IPCLEGALAREA view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #BASIC view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.representativeKey ProdCmplncLegalArea view

Fields (2)

KeyFieldSource TableSource FieldDescription
composition_typeasProdCmplncLegalArea
_Text _Text
--Label of view
-- e.g. display as filter name in the consumption
@EndUserText.label: 'Legal Area'

@AbapCatalog:
{
  -- SQL view name (16 characters)
  sqlViewName: 'IPCLEGALAREA',

  --If it's true, the filter conditions are compared and, if they match, the associated join expression is evaluated only once
  compiler.compareFilter: true,
  preserveKey: true
}

--Access Control: Authorizations Checks
@AccessControl:
{
  // authorization check not required as view only reads customizing values

  authorizationCheck: #NOT_REQUIRED
}

--Client Handling of the view
@ClientHandling.algorithm: #SESSION_VARIABLE

--VDM view type
@VDM.viewType: #BASIC

@ObjectModel:
{

  --Performance Annotations
  usageType:
  {
    dataClass: #CUSTOMIZING,
    sizeCategory: #S,
    serviceQuality: #B
  },
  representativeKey: 'ProdCmplncLegalArea'
}

define view I_ProdCmplncLegalArea
  as select from ehfndc_cmpstype as LegalArea

  --Text association
  association [0..*] to I_ProdCmplncLegalAreaText as _Text on $projection.ProdCmplncLegalArea = _Text.ProdCmplncLegalArea

{
       --Composition Type
       @ObjectModel.text.association: '_Text'
  key  LegalArea.composition_type as ProdCmplncLegalArea,

       /*Association*/
       _Text

}
where
      LegalArea.composition_type     <> 'MATLBSD1'
  and LegalArea.composition_type     <> 'MATLBSD2'
  and LegalArea.composition_type     <> 'ANALYTIC1'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"EHFNDC_CMPSTYPE"
],
"ASSOCIATED":
[
"I_PRODCMPLNCLEGALAREATEXT"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/