R_ProductionModelTP
Production Model Header
R_ProductionModelTP is a Transactional CDS View that provides data about "Production Model Header" in SAP S/4HANA. It reads from 1 data source (I_ProductionModel) and exposes 34 fields with key fields ProductionModelUUID, BillOfOperationsVersion. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_ProductionModel | I_ProductionModel | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | R_ProductionModelComponentTP | _HeaderComponent | |
| [0..*] | R_ProductionModelOperationTP | _Operation | |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| ObjectModel.sapObjectNodeType.name | ProductionModel | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| EndUserText.label | Production Model Header | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view |
Fields (34)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ProductionModelUUID | ProductionModelUUID | Prodn Model UUID | |
| KEY | BillOfOperationsVersion | BillOfOperationsVersion | Routing Version | |
| ProductionModelProcessType | ProductionModelProcessType | |||
| ProdnModComplexAssemblyType | ProdnModComplexAssemblyType | |||
| Material | Material | Vehicle Model | ||
| BillOfMaterial | BillOfMaterial | BOM | ||
| BillOfMaterialVariant | BillOfMaterialVariant | AlternativeBOM | ||
| BillOfMaterialCategory | BillOfMaterialCategory | BOM category | ||
| BillOfMaterialVariantUsage | BillOfMaterialVariantUsage | Usage | ||
| BillOfMaterialVersion | BillOfMaterialVersion | BOM Version | ||
| BOMVersionStatus | BOMVersionStatus | BOM Version Status | ||
| Plant | Plant | Valuation Area | ||
| BillOfOperationsType | BillOfOperationsType | Task List Type | ||
| BillOfOperationsGroup | BillOfOperationsGroup | Group | ||
| BillOfOperationsVariant | BillOfOperationsVariant | Group Counter | ||
| SalesOrder | SalesOrder | SD Document | ||
| SalesOrderItem | SalesOrderItem | Sales Order Item | ||
| BillOfOperationsVersionStatus | BillOfOperationsVersionStatus | |||
| ProdnModelVersionIsLatest | ProdnModelVersionIsLatest | |||
| ProdnModelVersionIsActive | ProdnModelVersionIsActive | |||
| IsLatestBOOVersion | IsLatestBOOVersion | |||
| ProdnModelCreationDateTime | ProdnModelCreationDateTime | |||
| ProductionModelCreatedByUser | ProductionModelCreatedByUser | |||
| ProdnModelChangedDateTime | ProdnModelChangedDateTime | |||
| ProductionModelChangedByUser | ProductionModelChangedByUser | |||
| _HeaderComponent | _HeaderComponent | |||
| _Operation | _Operation | |||
| _Plant | _Plant | |||
| _MaterialText | _MaterialText | |||
| _BOOVersionStatusText | _BOOVersionStatusText | |||
| _BOMVersStatusText | _BOMVersStatusText | |||
| _BOMUsageText | _BOMUsageText | |||
| _BOOTypeText | _BOOTypeText | |||
| _SalesDocumentItemText | _SalesDocumentItemText |
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 R_ProductionModelTP.
-- 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.
CREATE VIEW R_ProductionModelTP AS
SELECT
ProductionModelUUID,
BillOfOperationsVersion,
ProductionModelProcessType,
ProdnModComplexAssemblyType,
Material,
BillOfMaterial,
BillOfMaterialVariant,
BillOfMaterialCategory,
BillOfMaterialVariantUsage,
BillOfMaterialVersion,
BOMVersionStatus,
Plant,
BillOfOperationsType,
BillOfOperationsGroup,
BillOfOperationsVariant,
SalesOrder,
SalesOrderItem,
BillOfOperationsVersionStatus,
ProdnModelVersionIsLatest,
ProdnModelVersionIsActive,
IsLatestBOOVersion,
ProdnModelCreationDateTime,
ProductionModelCreatedByUser,
ProdnModelChangedDateTime,
ProductionModelChangedByUser
FROM I_ProductionModel
LEFT OUTER JOIN R_ProductionModelComponentTP AS _HeaderComponent ON /* condition not available in parsed metadata */ -- association [0..*]
LEFT OUTER JOIN R_ProductionModelOperationTP AS _Operation ON /* condition not available in parsed metadata */ -- association [0..*]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA