C_MatlBsdBeforeProdnCompTP
Before Production Cmpnt in Matl.Bsd Cmpstn
C_MatlBsdBeforeProdnCompTP is a Consumption CDS View that provides data about "Before Production Cmpnt in Matl.Bsd Cmpstn" in SAP S/4HANA. It reads from 1 data source (I_MatlBsdBeforeProdnCompTP) and exposes 21 fields. It has 5 associations to related views. It is exposed through 2 OData services (ASQL_F2647, ASQL_F8392). Part of development package EHFND_CNS_CMPS_MATLBASED.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_MatlBsdBeforeProdnCompTP | MatlBsdComponent | from |
Associations (5)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | C_MatlBasedCompositionTP | _MatlBasedComposition | $projection.ChmlCompositionUUID = _MatlBasedComposition.ChmlCompositionUUID --Related Logistic Objects (in process/released view) --Related BOMs of Material |
| [0..*] | C_ChmlCompositionRefBOM | _AssociatedBillOfMaterials | $projection.ChmlCompositionUUID = _AssociatedBillOfMaterials.ChmlCompositionUUID and $projection.CompChmlCmplncInfoUUID = _AssociatedBillOfMaterials.CompChmlCmplncInfoUUID and _AssociatedBillOfMaterials.HeaderValidityStartDate <= $session.system_date and _AssociatedBillOfMaterials.HeaderValidityEndDate > $session.system_date -------------------------------------------------------------------------------------------------------------------- --ValueHelps -------------------------------------------------------------------------------------------------------------------- -- Unit Of Measure Value Help |
| [0..*] | I_UnitOfMeasureText | _UnitOfMeasureText | $projection.ChmlCompQtyUnit = _UnitOfMeasureText.UnitOfMeasure ----------------------------------------------------------------------------------------------------------- --Information for Navigation to associated compositions ----------------------------------------------------------------------------------------------------------- --Associated material based |
| [0..1] | P_AssociatedMatlCmpstnProd | _AssociatedMatlBsdCmpstnNavgn | $projection.CompChmlCmplncInfoUUID = _AssociatedMatlBsdCmpstnNavgn.ChmlCmplncInfoUUID --Associated analytical |
| [0..1] | P_AssociatedAnlytlCmpstnProd | _AssctdAnalyticalCmpstnNavgn | $projection.CompChmlCmplncInfoUUID = _AssctdAnalyticalCmpstnNavgn.ChmlCmplncInfoUUID |
Annotations (15)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Before Production Cmpnt in Matl.Bsd Cmpstn | view | |
| AbapCatalog.sqlViewName | CMCOMPONENTBPTP | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| Metadata.allowExtensions | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.transactionalProcessingDelegated | true | view | |
| ObjectModel.createEnabled | true | view | |
| ObjectModel.updateEnabled | true | view | |
| ObjectModel.deleteEnabled | false | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.serviceQuality | #C | view |
OData Services (2)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| ASQL_F2647 | ASQL_F2647 | C2 | NOT_RELEASED | |
| ASQL_F8392 | ASQL_F8392 | C2 | NOT_RELEASED |
Fields (21)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| MatlBsdCompUUIDasMatlBsdCompUUID | ||||
| ChmlCompositionUUIDasChmlCompositionUUID | ||||
| ChmlCmplncInfoUUIDasChmlCmplncInfoUUID | ||||
| SemanticObject | ||||
| SpecificationasSpecificationNavgnLink | ||||
| ChmlCompChangeStatusText | ||||
| int1asChmlCompChangeStsSort | ||||
| ChmlCompIsRemovedasChmlCompIsRemoved | ||||
| ChmlCompQtyAsTextasChmlCompQtyAsText | ||||
| ChmlCompQty | I_MatlBsdBeforeProdnCompTP | ChmlCompQty | Concentration Value | |
| ChmlCompQtyUnitasChmlCompQtyUnit | ||||
| UnitOfMeasureNameasUnitOfMeasureName | ||||
| MaterialIsProduced | _CompChmlCmplncInfo | MaterialIsProduced | Is Produced | |
| MaterialIsSourced | _CompChmlCmplncInfo | MaterialIsSourced | Is Purchased | |
| MaterialIsSold | _CompChmlCmplncInfo | MaterialIsSold | Is Sold | |
| MaterialIsTransported | _CompChmlCmplncInfo | MaterialIsTransported | Is Transported | |
| ChmlCmplncInfoTypeasChmlCmplncInfoType | ||||
| AnalyticCmpstnNavgnLinkUUID | _AssctdAnalyticalCmpstnNavgn | ChmlCmpstnNavgnLinkUUID | ||
| AnalyticCmpstnIsActive | _AssctdAnalyticalCmpstnNavgn | ChmlCmpstnIsActive | ||
| _AssociatedBillOfMaterials | _AssociatedBillOfMaterials | |||
| _ChmlCmplncInfo |
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_MatlBsdBeforeProdnCompTP.
-- 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_MatlBsdBeforeProdnCompTP AS
SELECT
cast( '' as /ui2/semantic_object ) AS SemanticObject,
cast( '' as val_text ) AS ChmlCompChangeStatusText,
MatlBsdComponent.ChmlCompQty AS ChmlCompQty,
_CompChmlCmplncInfo.MaterialIsProduced AS MaterialIsProduced,
_CompChmlCmplncInfo.MaterialIsSourced AS MaterialIsSourced,
_CompChmlCmplncInfo.MaterialIsSold AS MaterialIsSold,
_CompChmlCmplncInfo.MaterialIsTransported AS MaterialIsTransported,
_AssctdAnalyticalCmpstnNavgn.ChmlCmpstnNavgnLinkUUID AS AnalyticCmpstnNavgnLinkUUID,
_AssctdAnalyticalCmpstnNavgn.ChmlCmpstnIsActive AS AnalyticCmpstnIsActive
FROM I_MatlBsdBeforeProdnCompTP AS MatlBsdComponent
LEFT OUTER JOIN C_MatlBasedCompositionTP AS _MatlBasedComposition ON ChmlCompositionUUID = _MatlBasedComposition.ChmlCompositionUUID -- association [1..1]
LEFT OUTER JOIN C_ChmlCompositionRefBOM AS _AssociatedBillOfMaterials ON ChmlCompositionUUID = _AssociatedBillOfMaterials.ChmlCompositionUUID AND CompChmlCmplncInfoUUID = _AssociatedBillOfMaterials.CompChmlCmplncInfoUUID AND _AssociatedBillOfMaterials.HeaderValidityStartDate <= $session.system_date AND _AssociatedBillOfMaterials.HeaderValidityEndDate > $session.system_date -- association [0..*]
LEFT OUTER JOIN I_UnitOfMeasureText AS _UnitOfMeasureText ON ChmlCompQtyUnit = _UnitOfMeasureText.UnitOfMeasure -- association [0..*]
LEFT OUTER JOIN P_AssociatedMatlCmpstnProd AS _AssociatedMatlBsdCmpstnNavgn ON CompChmlCmplncInfoUUID = _AssociatedMatlBsdCmpstnNavgn.ChmlCmplncInfoUUID -- association [0..1]
LEFT OUTER JOIN P_AssociatedAnlytlCmpstnProd AS _AssctdAnalyticalCmpstnNavgn ON CompChmlCmplncInfoUUID = _AssctdAnalyticalCmpstnNavgn.ChmlCmplncInfoUUID -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- OData Services in SAP S/4HANA Explained
- Service Bindings and Service Definitions in SAP S/4HANA
- 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