P_ProfileAssgmtToPlant

DDL: P_PROFILEASSGMTTOPLANT SQL: PPRFLTOPLANT Type: view CONSUMPTION

Profile Assignment To Plant

P_ProfileAssgmtToPlant is a Consumption CDS View that provides data about "Profile Assignment To Plant" in SAP S/4HANA. It reads from 1 data source (I_Plant) and exposes 1 field with key field Plant. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_Plant _Plant from

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_ProfileAssgmtToPlant _PlantProfile _Plant.Plant = _PlantProfile.Plant
[1..1] I_ProfileAssgmtToPlant _DefaultPlantProfile _DefaultPlantProfile.Plant = ''

Annotations (7)

NameValueLevelField
AbapCatalog.sqlViewName PPRFLTOPLANT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Profile Assignment To Plant view
VDM.private true view
VDM.viewType #CONSUMPTION view

Fields (1)

KeyFieldSource TableSource FieldDescription
KEY Plant I_Plant Plant
@AbapCatalog.sqlViewName: 'PPRFLTOPLANT'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Profile Assignment To Plant'
@VDM.private: true
@VDM.viewType: #CONSUMPTION

define view P_ProfileAssgmtToPlant
  as select from I_Plant as _Plant

  association [1..1] to I_ProfileAssgmtToPlant as _PlantProfile        on _Plant.Plant = _PlantProfile.Plant
  association [1..1] to I_ProfileAssgmtToPlant as _DefaultPlantProfile on _DefaultPlantProfile.Plant = ''

{

  key _Plant.Plant,

      case
        when _Plant.Plant = _PlantProfile.Plant
        then _PlantProfile.BufferProfileSetId
        else _DefaultPlantProfile.BufferProfileSetId
      end as BufferProfileSetId

}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_PLANT",
"I_PROFILEASSGMTTOPLANT"
],
"ASSOCIATED":
[
"I_PROFILEASSGMTTOPLANT"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/