I_ProductionSupplyArea

DDL: I_PRODUCTIONSUPPLYAREA SQL: IPPPRODNSUPAREA Type: view BASIC Package: VDM_PP_KAB

Production Supply Area

I_ProductionSupplyArea (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Public Edition with built-in and side-by-side extension capabilities.

Production Supply Area · Manufacturing

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. It is exposed through 7 OData services (ASQL_F2260, ASQL_F2262, ASQL_F2264, ...). Part of development package VDM_PP_KAB.

SAP API Hub

CategoryBasic
StateC1
Line of BusinessManufacturing
Application ComponentPP-KAB-VDM-2CL
CapabilitiesData Source for Data Extraction,Data Source in SQL Select,Data Source for Defining CDS Entities,Association Target for Defining CDS Entities,Analytical Dimension
Extensible (Key User)No
Extensible (Developer)No
Release State (Key User)Released
Release State (Developer)Released
PackageManufacturing for SAP S/4HANA Cloud Public Edition
Description <p>This CDS view provides the prerequisites for answering the following business questions:</p> <ul> <li> <p>Which production supply areas are maintained in a plant?</p> </li> <li> <p>Who is the person responsible for a production supply area?</p> </li> <li> <p> Which storage locations are assigned to production supply areas?</p> </li> </ul>

Documentation

Data Sources (1)

SourceAliasJoin Type
pvbe pvbe from

Associations (7)

CardinalityTargetAliasCondition
[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)

NameValueLevelField
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 #A 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

OData Services (7)

ServiceBindingVersionContractRelease
ASQL_F2260 ASQL_F2260 C2 NOT_RELEASED
ASQL_F2262 ASQL_F2262 C2 NOT_RELEASED
ASQL_F2264 ASQL_F2264 C2 NOT_RELEASED
ASQL_F4630 ASQL_F4630 C2 NOT_RELEASED
ASQL_F4989 ASQL_F4989 C2 NOT_RELEASED
ASQL_F5723 ASQL_F5723 C2 NOT_RELEASED
UI_KANBANCONTAINER_MONITOR UI_KANBANCONTAINER_MONITOR V4 C1 NOT_RELEASED

Fields (21)

KeyFieldSource TableSource FieldDescription
KEY ProductionSupplyArea Production Supply Area
KEY Plant pvbe werks Receiving Plant
StorageLocation Storage Location
UnloadingPointName pvbe ablad Unloading Point
AddressID pvbe pvadr Address for Supply Area
ProductionSupplyAreaRespPerson pvbe rgver Person responsible for one or more supply areas
FactoryCalendar Factory calendar key
ShiftGrouping pvbe schgrupv Grouping for Shift Definition and Sequences (Consumer)
ShiftSequence pvbe sprogv Key for Shift Sequence (Consumer)
PullIntervalInWorkdays pvbe pintvd Pull Interval in Workdays
PullIntervalInHoursAndMinutes Pull Interval in Hours and Minutes
UnloadingWarehouseStagingArea pvbe lgbzo (Automotive) Unloading Point
LastChangeDateTime pvbe lastchange_datetime Last Change Timestamp
AutomotiveLoadingPoint pvbe loadingpoint Loading Point
_Plant _Plant
_Text _Text
_StorageLocation _StorageLocation
_Address _Address
_ResponsiblePerson _ResponsiblePerson
_ShiftGrouping _ShiftGrouping
_ShiftSequence _ShiftSequence

Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.

-- Derived SQL interpretation of CDS view I_ProductionSupplyArea.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: IPPPRODNSUPAREA

CREATE VIEW I_ProductionSupplyArea AS
SELECT
  cast(pvbe.prvbe as vdm_prvbe preserving type) AS ProductionSupplyArea,
  pvbe.werks AS Plant,
  cast(pvbe.lgort as pph_lgort preserving type) AS StorageLocation,
  pvbe.ablad AS UnloadingPointName,
  pvbe.pvadr AS AddressID,
  pvbe.rgver AS ProductionSupplyAreaRespPerson,
  cast(pvbe.fabklv as fabkl preserving type) AS FactoryCalendar,
  pvbe.schgrupv AS ShiftGrouping,
  pvbe.sprogv AS ShiftSequence,
  pvbe.pintvd AS PullIntervalInWorkdays,
  cast(pvbe.pintvm as pintv_hrs_min) AS PullIntervalInHoursAndMinutes,
  pvbe.lgbzo AS UnloadingWarehouseStagingArea,
  pvbe.lastchange_datetime AS LastChangeDateTime,
  pvbe.loadingpoint AS AutomotiveLoadingPoint
FROM pvbe
LEFT OUTER JOIN I_Plant AS _Plant ON Plant = _Plant.Plant  -- association [1..1]
LEFT OUTER JOIN I_StorageLocation AS _StorageLocation ON Plant = _StorageLocation.Plant AND StorageLocation = _StorageLocation.StorageLocation  -- association [0..1]
LEFT OUTER JOIN I_MRPController AS _ResponsiblePerson ON Plant = _ResponsiblePerson.Plant AND ProductionSupplyAreaRespPerson = _ResponsiblePerson.MRPController  -- association [0..1]
LEFT OUTER JOIN I_ProductionSupplyAreaText AS _Text ON Plant = _Text.Plant AND ProductionSupplyArea = _Text.ProductionSupplyArea  -- association [0..*]
LEFT OUTER JOIN I_OrganizationAddress AS _Address ON AddressID = _Address.AddressID AND _Address.AddressPersonID is initial AND _Address.AddressRepresentationCode is initial  -- association [0..1]
LEFT OUTER JOIN I_ShiftGrouping AS _ShiftGrouping ON ShiftGrouping = _ShiftGrouping.ShiftGrouping  -- association [0..1]
LEFT OUTER JOIN I_ShiftSequence AS _ShiftSequence ON ShiftSequence = _ShiftSequence.ShiftSequence AND ShiftGrouping = _ShiftSequence.ShiftGrouping  -- association [0..1]
;