I_MRPArea

DDL: I_MRPAREA SQL: IPPMRPAREA Type: view BASIC

MRP Area

I_MRPArea is a Basic CDS View (Dimension) that provides data about "MRP Area" in SAP S/4HANA. It reads from 1 data source (mdlv) and exposes 9 fields with key field MRPArea. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
mdlv mdlv from

Associations (3)

CardinalityTargetAliasCondition
[1..1] I_MRPAreaCategory _MRPAreaCategory $projection.MRPAreaCategory = _MRPAreaCategory.MRPAreaCategory
[1..1] I_Plant _Plant $projection.MRPAreaPlant = _Plant.Plant
[0..1] I_StorageLocation _StorageLocation $projection.MRPAreaPlant = _StorageLocation.Plant and $projection.ReceivingStorageLocation = _StorageLocation.StorageLocation

Annotations (20)

NameValueLevelField
AbapCatalog.sqlViewName IPPMRPAREA view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
Analytics.dataCategory #DIMENSION view
Analytics.dataExtraction.enabled true view
Analytics.internalName #LOCAL view
ClientHandling.algorithm #SESSION_VARIABLE view
Consumption.ranked true view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
ObjectModel.representativeKey MRPArea view
ObjectModel.sapObjectNodeType.name MRPArea view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MASTER view
Search.searchable true view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
VDM.viewType #BASIC view
EndUserText.label MRP Area view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY MRPArea mdlv berid
MRPAreaCategory
MRPAreaPlant
MRPAreaText mdlv bertx
ReceivingStorageLocation mdlv ortzg
MRPAreaBusinessType mdlv spe_bntyp
_MRPAreaCategory _MRPAreaCategory
_Plant _Plant
_StorageLocation _StorageLocation
@AbapCatalog.sqlViewName: 'IPPMRPAREA'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@Analytics.dataCategory: #DIMENSION
@Analytics.dataExtraction.enabled: true
@Analytics.internalName: #LOCAL
@ClientHandling.algorithm: #SESSION_VARIABLE
@Consumption.ranked: true
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.modelingPattern: #ANALYTICAL_DIMENSION
@ObjectModel.supportedCapabilities: [#ANALYTICAL_DIMENSION, #CDS_MODELING_ASSOCIATION_TARGET, #SQL_DATA_SOURCE, #CDS_MODELING_DATA_SOURCE, #SEARCHABLE_ENTITY, #EXTRACTION_DATA_SOURCE]
@ObjectModel.representativeKey: 'MRPArea'
@ObjectModel.semanticKey: ['MRPArea']
@ObjectModel.sapObjectNodeType.name: 'MRPArea'
@ObjectModel.usageType: {serviceQuality: #A, sizeCategory: #S, dataClass: #MASTER}
@Search.searchable: true
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API
@VDM.viewType: #BASIC
@EndUserText.label: 'MRP Area'

/*+[hideWarning] { "IDS" : [ "CALCULATED_FIELD_CHECK" ]  } */
define view I_MRPArea
  as select from mdlv as mdlv

  association [1..1] to I_MRPAreaCategory as _MRPAreaCategory on $projection.MRPAreaCategory = _MRPAreaCategory.MRPAreaCategory
  association [1..1] to I_Plant           as _Plant           on $projection.MRPAreaPlant = _Plant.Plant
  association [0..1] to I_StorageLocation as _StorageLocation on $projection.MRPAreaPlant             = _StorageLocation.Plant and
                                                                 $projection.ReceivingStorageLocation = _StorageLocation.StorageLocation 
{
      // Key

      @ObjectModel.text.element: ['MRPAreaText']
      @Search: {defaultSearchElement: true, ranking: #HIGH, fuzzinessThreshold: 0.8}
  key mdlv.berid      as MRPArea,

      // Attributes

      @ObjectModel.foreignKey.association: '_MRPAreaCategory'
      cast(mdlv.berty as mrpareacategory preserving type) as MRPAreaCategory,
      @ObjectModel.foreignKey.association: '_Plant'
      cast(mdlv.werzg as werzg preserving type)           as MRPAreaPlant,
      @Search: {defaultSearchElement: true, ranking: #LOW, fuzzinessThreshold: 0.8}
      @Semantics.text: true
      mdlv.bertx      as MRPAreaText,
      @ObjectModel.foreignKey.association: '_StorageLocation'
      mdlv.ortzg      as ReceivingStorageLocation,
      mdlv.spe_bntyp  as MRPAreaBusinessType,

      // Associations

      _MRPAreaCategory,
      _Plant,
      _StorageLocation
};
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"MDLV"
],
"ASSOCIATED":
[
"I_MRPAREACATEGORY",
"I_PLANT",
"I_STORAGELOCATION"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/