I_MatlProcurementProfile

DDL: I_MATLPROCUREMENTPROFILE SQL: IMATLPROCMPRFL Type: view BASIC

Material Procurement Profile

I_MatlProcurementProfile is a Basic CDS View (Dimension) that provides data about "Material Procurement Profile" in SAP S/4HANA. It reads from 1 data source (t460a) and exposes 16 fields with key fields MaterialProcurementProfile, Plant. It has 6 associations to related views.

Data Sources (1)

SourceAliasJoin Type
t460a prfl from

Associations (6)

CardinalityTargetAliasCondition
[1..1] I_Plant _Plant $projection.Plant = _Plant.Plant
[0..*] I_MatlProcurementProfileText _Text $projection.MaterialProcurementProfile = _Text.MaterialProcurementProfile and $projection.Plant = _Text.Plant
[1..1] I_MatlProcurementCategory _MaterialProcurementCategory $projection.MaterialProcurementCategory = _MaterialProcurementCategory.MaterialProcurementCategory
[0..*] I_MatlProcurementExternalType _MaterialProcurementExtType $projection.MaterialProcurementExtType = _MaterialProcurementExtType.MaterialProcurementExtType
[0..1] I_MatlProcurementExternalType _MaterialProcurementExtType_2 $projection.MaterialProcurementExtType = _MaterialProcurementExtType_2.MaterialProcurementExtType and $projection.Language = _MaterialProcurementExtType_2.Language
[0..1] I_MatlProcmtExternalType _MaterialProcurementExtType_3 $projection.MaterialProcurementExtType = _MaterialProcurementExtType_3.MaterialProcurementExtType

Annotations (21)

NameValueLevelField
AbapCatalog.sqlViewName IMATLPROCMPRFL view
AbapCatalog.buffering.status #ACTIVE view
AbapCatalog.buffering.type #GENERIC view
AbapCatalog.buffering.numberOfKeyFields 001 view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
Analytics.dataCategory #DIMENSION view
Analytics.internalName #LOCAL view
ClientHandling.algorithm #SESSION_VARIABLE view
Consumption.ranked true view
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
ObjectModel.representativeKey MaterialProcurementProfile view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #CUSTOMIZING view
Search.searchable true view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
VDM.viewType #BASIC view
EndUserText.label Material Procurement Profile view

Fields (16)

KeyFieldSource TableSource FieldDescription
KEY MaterialProcurementProfile
KEY Plant t460a werks
MaterialProcurementCategory
MaterialProcurementExtType
Language
MaterialIsDirectlyProduced t460a clcor
MaterialIsDirectlyProcured t460a dirpr
IsPhantomItem t460a dumps
IsWithdrawnFrmAlternativePlant t460a rewfg
MRPStockTransfSelectionControl t460a umldb
_Plant _Plant
_MaterialProcurementCategory _MaterialProcurementCategory
_MaterialProcurementExtType _MaterialProcurementExtType
_MaterialProcurementExtType_2 _MaterialProcurementExtType_2
_MaterialProcurementExtType_3 _MaterialProcurementExtType_3
_Text _Text
@AbapCatalog.sqlViewName: 'IMATLPROCMPRFL'
@AbapCatalog.buffering: {status: #ACTIVE, type: #GENERIC, numberOfKeyFields: 001}
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@Analytics.dataCategory: #DIMENSION
@Analytics.internalName: #LOCAL
@ClientHandling.algorithm: #SESSION_VARIABLE
@Consumption.ranked: true
@Metadata.allowExtensions: 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]
@ObjectModel.representativeKey: 'MaterialProcurementProfile'
@ObjectModel.usageType: {serviceQuality: #A, sizeCategory: #S, dataClass: #CUSTOMIZING}
@Search.searchable: true
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API
@VDM.viewType: #BASIC
@EndUserText.label: 'Material Procurement Profile'

/*+[hideWarning] { "IDS" : [ "CALCULATED_FIELD_CHECK" ]  } */
define view I_MatlProcurementProfile
  as select from t460a as prfl
  association [1..1] to I_Plant                       as _Plant                        on  $projection.Plant = _Plant.Plant
  association [0..*] to I_MatlProcurementProfileText  as _Text                         on  $projection.MaterialProcurementProfile  = _Text.MaterialProcurementProfile
                                                                                       and $projection.Plant                       = _Text.Plant
  association [1..1] to I_MatlProcurementCategory     as _MaterialProcurementCategory  on  $projection.MaterialProcurementCategory = _MaterialProcurementCategory.MaterialProcurementCategory
  association [0..*] to I_MatlProcurementExternalType as _MaterialProcurementExtType   on  $projection.MaterialProcurementExtType  = _MaterialProcurementExtType.MaterialProcurementExtType
  association [0..1] to I_MatlProcurementExternalType as _MaterialProcurementExtType_2 on  $projection.MaterialProcurementExtType  = _MaterialProcurementExtType_2.MaterialProcurementExtType
                                                                                       and $projection.Language                    = _MaterialProcurementExtType_2.Language
  association [0..1] to I_MatlProcmtExternalType      as _MaterialProcurementExtType_3 on  $projection.MaterialProcurementExtType  = _MaterialProcurementExtType_3.MaterialProcurementExtType

{
      // Key

      @Search: {defaultSearchElement: true, ranking: #HIGH, fuzzinessThreshold: 0.8}
      @ObjectModel.text.association: '_Text'
  key cast(prfl.sobsl as pph_sobsl preserving type) as MaterialProcurementProfile,
      @ObjectModel.foreignKey.association: '_Plant'
  key prfl.werks                                    as Plant,
      @ObjectModel.foreignKey.association: '_MaterialProcurementCategory'
      cast(prfl.beskz as pph_beskz preserving type) as MaterialProcurementCategory,
      @ObjectModel.foreignKey.association: '_MaterialProcurementExtType_3'
      cast(prfl.sobes as pph_esobs preserving type) as MaterialProcurementExtType,

      // for successor assoc. only

      @Consumption.hidden: true
      $session.system_language                      as Language,

      // Attributes

      prfl.clcor as MaterialIsDirectlyProduced,
      prfl.dirpr as MaterialIsDirectlyProcured,
      prfl.dumps as IsPhantomItem,
      prfl.rewfg as IsWithdrawnFrmAlternativePlant,
      prfl.umldb as MRPStockTransfSelectionControl,

      // Associations

      _Plant,
      _MaterialProcurementCategory,
      @API.element.releaseState: #DEPRECATED
      @API.element.successor: '_MaterialProcurementExtType_3'
      _MaterialProcurementExtType,
      @API.element.releaseState: #DEPRECATED
      @API.element.successor: '_MaterialProcurementExtType_3'
      _MaterialProcurementExtType_2,
      _MaterialProcurementExtType_3,
      _Text
};
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"T460A"
],
"ASSOCIATED":
[
"I_MATLPROCMTEXTERNALTYPE",
"I_MATLPROCUREMENTCATEGORY",
"I_MATLPROCUREMENTEXTERNALTYPE",
"I_MATLPROCUREMENTPROFILETEXT",
"I_PLANT"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/