C_LinkedProdnVersBOO
BOO to Material Assignment for ProdnVers
C_LinkedProdnVersBOO is a Consumption CDS View that provides data about "BOO to Material Assignment for ProdnVers" in SAP S/4HANA. It reads from 4 data sources (I_MasterRecipeHeader, I_MasterRecipeHeader, I_ProductionRouting, I_MasterRecipe) and exposes 31 fields with key fields Material, Plant, BillOfOperationsType, BillOfOperationsGroup, BillOfOperationsVariant. It has 1 association to related views.
Data Sources (4)
| Source | Alias | Join Type |
|---|---|---|
| I_MasterRecipeHeader | plko | from |
| I_MasterRecipeHeader | plko | union |
| I_ProductionRouting | plkz | inner |
| I_MasterRecipe | plkz | inner |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_ProdnRoutingMatlAssgmtTP | _MatlAssgmt | $projection.BillOfOperationsGroup = _MatlAssgmt.ProductionRoutingGroup and $projection.BillOfOperationsVariant = _MatlAssgmt.ProductionRouting and $projection.ValidityEndDate >= _MatlAssgmt.ValidityStartDate and $projection.ValidityStartDate <= _MatlAssgmt.ValidityEndDate |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | BOO to Material Assignment for ProdnVers | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| Metadata.allowExtensions | true | view |
Fields (31)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Material | _MatlAssgmt | Product | Product Sold |
| KEY | Plant | _MatlAssgmt | Plant | Valuation Area |
| KEY | BillOfOperationsType | I_MasterRecipe | BillOfOperationsType | Task List Type |
| KEY | BillOfOperationsGroup | I_MasterRecipe | BillOfOperationsGroup | Task List Group |
| KEY | BillOfOperationsVariant | I_MasterRecipe | BillOfOperationsVariant | Task List Counter |
| KEY | ProductionRoutingInternalVers | I_MasterRecipeHeader | BOOInternalVersionCounter | |
| BillOfOperationsDesc | I_MasterRecipeHeader | BillOfOperationsDesc | Description | |
| BillOfOperationsStatus | I_MasterRecipeHeader | BillOfOperationsStatus | Overall Status | |
| BillOfOperationsUsage | I_MasterRecipeHeader | BillOfOperationsUsage | Usage | |
| ValidityStartDate | I_MasterRecipeHeader | ValidityStartDate | Valid From | |
| ValidityEndDate | I_MasterRecipeHeader | ValidityEndDate | Valid To | |
| BillOfOperationsUnit | I_MasterRecipeHeader | BillOfOperationsUnit | ||
| MinimumLotSizeQuantity | I_MasterRecipeHeader | MinimumLotSizeQuantity | Minimum Lot Size | |
| MaximumLotSizeQuantity | I_MasterRecipeHeader | MaximumLotSizeQuantity | Maximum Lot Size | |
| BillOfOperationsUsageDesc | _UsageText | BillOfOperationsUsageDesc | ||
| ProductasMaterial | ||||
| KEY | Plant | _MatlAssgmt | Plant | Valuation Area |
| KEY | BillOfOperationsType | I_MasterRecipe | BillOfOperationsType | Task List Type |
| KEY | BillOfOperationsGroup | I_MasterRecipe | BillOfOperationsGroup | Group |
| KEY | BillOfOperationsVariant | I_MasterRecipe | BillOfOperationsVariant | Group Counter |
| KEY | ProductionRoutingInternalVers | I_MasterRecipeHeader | BOOInternalVersionCounter | |
| BillOfOperationsDesc | I_MasterRecipeHeader | BillOfOperationsDesc | ||
| BillOfOperationsStatus | I_MasterRecipeHeader | BillOfOperationsStatus | ||
| BillOfOperationsUsage | I_MasterRecipeHeader | BillOfOperationsUsage | ||
| ValidityStartDate | I_MasterRecipeHeader | ValidityStartDate | Validity Start Date | |
| ValidityEndDate | I_MasterRecipeHeader | ValidityEndDate | ValidTo | |
| BillOfOperationsUnit | I_MasterRecipeHeader | BillOfOperationsUnit | ||
| MinimumLotSizeQuantity | I_MasterRecipeHeader | MinimumLotSizeQuantity | Min. Lot Size | |
| MaximumLotSizeQuantity | I_MasterRecipeHeader | MaximumLotSizeQuantity | Max. Lot Size | |
| BillOfOperationsUsageDesc | _UsageText | BillOfOperationsUsageDesc | ||
| BillOfOperationsStatusDesc | _StatusText | BillOfOperationsStatusDesc |
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_LinkedProdnVersBOO.
-- 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 C_LinkedProdnVersBOO AS
SELECT
_MatlAssgmt.Product AS Material,
_MatlAssgmt.Plant AS Plant,
plkz.BillOfOperationsType AS BillOfOperationsType,
plkz.BillOfOperationsGroup AS BillOfOperationsGroup,
plkz.BillOfOperationsVariant AS BillOfOperationsVariant,
plko.BOOInternalVersionCounter AS ProductionRoutingInternalVers,
plko.BillOfOperationsDesc AS BillOfOperationsDesc,
plko.BillOfOperationsStatus AS BillOfOperationsStatus,
plko.BillOfOperationsUsage AS BillOfOperationsUsage,
plko.ValidityStartDate AS ValidityStartDate,
plko.ValidityEndDate AS ValidityEndDate,
plko.BillOfOperationsUnit AS BillOfOperationsUnit,
plko.MinimumLotSizeQuantity AS MinimumLotSizeQuantity,
plko.MaximumLotSizeQuantity AS MaximumLotSizeQuantity,
_UsageText.BillOfOperationsUsageDesc AS BillOfOperationsUsageDesc,
_StatusText.BillOfOperationsStatusDesc as BillOfOperationsStatusDesc AS ProductasMaterial,
_StatusText.BillOfOperationsStatusDesc AS BillOfOperationsStatusDesc
FROM I_MasterRecipeHeader AS plko
INNER JOIN I_ProductionRouting AS plkz ON /* join condition not captured in parsed metadata */
INNER JOIN I_MasterRecipe AS plkz ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_ProdnRoutingMatlAssgmtTP AS _MatlAssgmt ON BillOfOperationsGroup = _MatlAssgmt.ProductionRoutingGroup AND BillOfOperationsVariant = _MatlAssgmt.ProductionRouting AND ValidityEndDate >= _MatlAssgmt.ValidityStartDate AND ValidityStartDate <= _MatlAssgmt.ValidityEndDate -- association [0..*]
-- UNION with additional select branch(es): I_MasterRecipeHeader
;
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