C_ProdnVersProdnLineVH

DDL: C_PRODNVERSPRODNLINEVH SQL: CPVPRODNLINEVH Type: view CONSUMPTION

Production Line

C_ProdnVersProdnLineVH is a Consumption CDS View that provides data about "Production Line" in SAP S/4HANA. It reads from 1 data source (I_WorkCenterBySemanticKey) and exposes 6 fields with key fields ProductionLine, Plant. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_WorkCenterBySemanticKey I_WorkCenterBySemanticKey from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_WorkCenterCategoryText _WorkCenterCategoryText $projection.WorkCenterCategoryCode = _WorkCenterCategoryText.WorkCenterCategoryCode

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName CPVPRODNLINEVH view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
VDM.viewType #CONSUMPTION view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #CHECK view
Search.searchable true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
EndUserText.label Production Line view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY ProductionLine WorkCenter Work Center
KEY Plant Plant Valuation Area
WorkCenterCategoryCode WorkCenterCategoryCode
_Plant _Plant
_WorkCenterTextBySemanticKey _WorkCenterTextBySemanticKey
_WorkCenterCategoryText _WorkCenterCategoryText

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 C_ProdnVersProdnLineVH.
-- 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: CPVPRODNLINEVH

CREATE VIEW C_ProdnVersProdnLineVH AS
SELECT
  WorkCenter AS ProductionLine,
  Plant,
  WorkCenterCategoryCode
FROM I_WorkCenterBySemanticKey
LEFT OUTER JOIN I_WorkCenterCategoryText AS _WorkCenterCategoryText ON WorkCenterCategoryCode = _WorkCenterCategoryText.WorkCenterCategoryCode  -- association [0..*]
;