P_ProfileAssgmtToPlant
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)
| Source | Alias | Join Type |
|---|---|---|
| I_Plant | _Plant | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_ProfileAssgmtToPlant | _PlantProfile | _Plant.Plant = _PlantProfile.Plant |
| [1..1] | I_ProfileAssgmtToPlant | _DefaultPlantProfile | _DefaultPlantProfile.Plant = '' |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA