I_ProductionSupplyArea
Production Supply Area
I_ProductionSupplyArea is a Basic CDS View (Dimension) that provides data about "Production Supply Area" in SAP S/4HANA. It reads from 1 data source (pvbe) and exposes 21 fields with key fields ProductionSupplyArea, Plant. It has 7 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| pvbe | pvbe | from |
Associations (7)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_Plant | _Plant | $projection.Plant = _Plant.Plant |
| [0..1] | I_StorageLocation | _StorageLocation | $projection.Plant = _StorageLocation.Plant and $projection.StorageLocation = _StorageLocation.StorageLocation |
| [0..1] | I_MRPController | _ResponsiblePerson | $projection.Plant = _ResponsiblePerson.Plant and $projection.ProductionSupplyAreaRespPerson = _ResponsiblePerson.MRPController |
| [0..*] | I_ProductionSupplyAreaText | _Text | $projection.Plant = _Text.Plant and $projection.ProductionSupplyArea = _Text.ProductionSupplyArea |
| [0..1] | I_OrganizationAddress | _Address | $projection.AddressID = _Address.AddressID and _Address.AddressPersonID is initial and _Address.AddressRepresentationCode is initial |
| [0..1] | I_ShiftGrouping | _ShiftGrouping | $projection.ShiftGrouping = _ShiftGrouping.ShiftGrouping |
| [0..1] | I_ShiftSequence | _ShiftSequence | $projection.ShiftSequence = _ShiftSequence.ShiftSequence and $projection.ShiftGrouping = _ShiftSequence.ShiftGrouping |
Annotations (21)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IPPPRODNSUPAREA | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| EndUserText.label | Production Supply Area | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| Metadata.allowExtensions | true | view | |
| ObjectModel.representativeKey | ProductionSupplyArea | view | |
| ObjectModel.semanticKey | ProductionSupplyArea | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.sapObjectNodeType.name | ProductionSupplyArea | view | |
| ObjectModel.modelingPattern | #ANALYTICAL_DIMENSION | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| VDM.viewType | #BASIC | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| Analytics.dataExtraction.enabled | true | view | |
| Analytics.dataExtraction.delta.changeDataCapture.automatic | true | view | |
| Search.searchable | true | view |
Fields (21)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ProductionSupplyArea | |||
| KEY | Plant | pvbe | werks | |
| StorageLocation | ||||
| UnloadingPointName | pvbe | ablad | ||
| AddressID | pvbe | pvadr | ||
| ProductionSupplyAreaRespPerson | pvbe | rgver | ||
| FactoryCalendar | ||||
| ShiftGrouping | pvbe | schgrupv | ||
| ShiftSequence | pvbe | sprogv | ||
| PullIntervalInWorkdays | pvbe | pintvd | ||
| PullIntervalInHoursAndMinutes | ||||
| UnloadingWarehouseStagingArea | pvbe | lgbzo | ||
| LastChangeDateTime | pvbe | lastchange_datetime | ||
| AutomotiveLoadingPoint | pvbe | loadingpoint | ||
| _Plant | _Plant | |||
| _Text | _Text | |||
| _StorageLocation | _StorageLocation | |||
| _Address | _Address | |||
| _ResponsiblePerson | _ResponsiblePerson | |||
| _ShiftGrouping | _ShiftGrouping | |||
| _ShiftSequence | _ShiftSequence |
@AbapCatalog.sqlViewName: 'IPPPRODNSUPAREA'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@EndUserText.label: 'Production Supply Area'
@Metadata.ignorePropagatedAnnotations:true
@AccessControl.authorizationCheck: #MANDATORY
@AccessControl.privilegedAssociations: ['_ResponsiblePerson', '_Address']
@Metadata.allowExtensions: true
@ObjectModel.representativeKey: 'ProductionSupplyArea'
@ObjectModel.semanticKey: 'ProductionSupplyArea'
@ObjectModel.usageType: { serviceQuality: #C, sizeCategory: #S, dataClass: #MASTER }
@ObjectModel.supportedCapabilities: [ #SQL_DATA_SOURCE, #CDS_MODELING_DATA_SOURCE, #CDS_MODELING_ASSOCIATION_TARGET, #EXTRACTION_DATA_SOURCE, #ANALYTICAL_DIMENSION ]
@ObjectModel.sapObjectNodeType.name: 'ProductionSupplyArea'
@ObjectModel.modelingPattern: #ANALYTICAL_DIMENSION
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API
@VDM.viewType: #BASIC
@Analytics.dataCategory: #DIMENSION
@Analytics.dataExtraction: { enabled: true, delta.changeDataCapture: { automatic : true } }
@Search.searchable: true
define view I_ProductionSupplyArea
as select from pvbe as pvbe
association [1..1] to I_Plant as _Plant on $projection.Plant = _Plant.Plant
association [0..1] to I_StorageLocation as _StorageLocation on $projection.Plant = _StorageLocation.Plant
and $projection.StorageLocation = _StorageLocation.StorageLocation
association [0..1] to I_MRPController as _ResponsiblePerson on $projection.Plant = _ResponsiblePerson.Plant
and $projection.ProductionSupplyAreaRespPerson = _ResponsiblePerson.MRPController
association [0..*] to I_ProductionSupplyAreaText as _Text on $projection.Plant = _Text.Plant
and $projection.ProductionSupplyArea = _Text.ProductionSupplyArea
association [0..1] to I_OrganizationAddress as _Address on $projection.AddressID = _Address.AddressID
and _Address.AddressPersonID is initial
and _Address.AddressRepresentationCode is initial
association [0..1] to I_ShiftGrouping as _ShiftGrouping on $projection.ShiftGrouping = _ShiftGrouping.ShiftGrouping
association [0..1] to I_ShiftSequence as _ShiftSequence on $projection.ShiftSequence = _ShiftSequence.ShiftSequence
and $projection.ShiftGrouping = _ShiftSequence.ShiftGrouping
{
// Key
@ObjectModel.text.association: '_Text'
@Search: {defaultSearchElement: true, ranking: #HIGH, fuzzinessThreshold: 0.8}
key cast(pvbe.prvbe as vdm_prvbe preserving type) as ProductionSupplyArea,
@ObjectModel.foreignKey.association: '_Plant'
key pvbe.werks as Plant,
// Attributes
@ObjectModel.foreignKey.association: '_StorageLocation'
cast(pvbe.lgort as pph_lgort preserving type) as StorageLocation,
@Semantics.text: true
pvbe.ablad as UnloadingPointName,
pvbe.pvadr as AddressID,
@ObjectModel.foreignKey.association: '_ResponsiblePerson'
pvbe.rgver as ProductionSupplyAreaRespPerson,
cast(pvbe.fabklv as fabkl preserving type) as FactoryCalendar,
@ObjectModel.foreignKey.association: '_ShiftGrouping'
pvbe.schgrupv as ShiftGrouping,
@ObjectModel.foreignKey.association: '_ShiftSequence'
pvbe.sprogv as ShiftSequence,
pvbe.pintvd as PullIntervalInWorkdays,
// pvbe.pintvm as PullIntervalInHoursAndMinutes,
cast(pvbe.pintvm as pintv_hrs_min) as PullIntervalInHoursAndMinutes, // cast to identical type to avoid conversion exit
pvbe.lgbzo as UnloadingWarehouseStagingArea,
pvbe.lastchange_datetime as LastChangeDateTime,
pvbe.loadingpoint as AutomotiveLoadingPoint,
// Associations
_Plant,
_Text,
_StorageLocation,
_Address,
_ResponsiblePerson,
_ShiftGrouping,
_ShiftSequence
};
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"PVBE"
],
"ASSOCIATED":
[
"I_MRPCONTROLLER",
"I_ORGANIZATIONADDRESS",
"I_PLANT",
"I_PRODUCTIONSUPPLYAREATEXT",
"I_SHIFTGROUPING",
"I_SHIFTSEQUENCE",
"I_STORAGELOCATION"
],
"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