C_MatlBsdSubstInRmngCompVH
Substances in Aft Prod Comp of MbC
C_MatlBsdSubstInRmngCompVH is a Consumption CDS View that provides data about "Substances in Aft Prod Comp of MbC" in SAP S/4HANA. It reads from 3 data sources (I_MatlBsdAfterProdnCompDraft, I_ChmlComposition, I_ChmlComponent) and exposes 19 fields with key field ChmlCompUUID. It has 2 associations to related views.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| I_MatlBsdAfterProdnCompDraft | _AfterProdnComp | inner |
| I_ChmlComposition | _ChemicalComposition | inner |
| I_ChmlComponent | ChmlComponent | from |
Parameters (1)
| Name | Type | Default |
|---|---|---|
| P_ChmlCompositionUUID | sysuuid_x |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | C_ChmlCmplncPrimMatl | _PrimaryMaterial | ChmlComponent.ChmlCmplncInfoUUID = _PrimaryMaterial.ChmlCmplncInfoUUID --Substance |
| [0..1] | I_SubstanceTP | _Substance | ChmlComponent.SubstanceUUID = _Substance.SubstanceUUID |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Substances in Aft Prod Comp of MbC | view | |
| AbapCatalog.sqlViewName | MBCREMCOMPSUBVH | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.dataCategory | #VALUE_HELP | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.representativeKey | ChmlCompUUID | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Search.searchable | true | view |
Fields (19)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ChmlCompUUID | I_ChmlComponent | ChmlCompUUID | Chemical Component |
| ChmlCompositionUUID | I_ChmlComponent | ChmlCompositionUUID | Chemical Composition | |
| ChmlCmplncInfoUUID | I_ChmlComponent | ChmlCmplncInfoUUID | Chemical Compliance Information PP | |
| ChmlCompositionUUIDasMatlBsdCompUUID | ||||
| SubstanceUUID | I_ChmlComponent | SubstanceUUID | Substance | |
| SubstanceName | _Substance | SubstanceName | Substance Name | |
| CASNumber | ||||
| ChmlCompQty | I_ChmlComponent | ChmlCompQty | Concentration Value | |
| ChmlCompQtyAsText | I_ChmlComponent | ChmlCompQtyAsText | Concentration | |
| ChmlCompQtyUnit | I_ChmlComponent | ChmlCompQtyUnit | Unit of Measurement | |
| ChmlCompOperatorLowerLimit | I_ChmlComponent | ChmlCompOperatorLowerLimit | Operator Lower Limit | |
| ChmlCompQtyLowerLimit | I_ChmlComponent | ChmlCompQtyLowerLimit | Lower Limit Value | |
| ChmlCompQtyLowerLimitAsText | I_ChmlComponent | ChmlCompQtyLowerLimitAsText | Lower Limit | |
| ChmlCompOperatorUpperLimit | I_ChmlComponent | ChmlCompOperatorUpperLimit | Operator Upper Limit | |
| ChmlCompQtyUpperLimit | I_ChmlComponent | ChmlCompQtyUpperLimit | Upper Limit Value | |
| ChmlCompQtyUpperLimitAsText | I_ChmlComponent | ChmlCompQtyUpperLimitAsText | Upper Limit | |
| ResponsibleUnit | _Substance | ResponsibleUnit | Responsible Unit | |
| _PrimaryMaterial | _PrimaryMaterial | |||
| _Substance | _Substance |
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_MatlBsdSubstInRmngCompVH.
-- 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.
-- Parameters: P_ChmlCompositionUUID : sysuuid_x
CREATE VIEW C_MatlBsdSubstInRmngCompVH AS
SELECT
ChmlComponent.ChmlCompUUID AS ChmlCompUUID,
ChmlComponent.ChmlCompositionUUID AS ChmlCompositionUUID,
ChmlComponent.ChmlCmplncInfoUUID AS ChmlCmplncInfoUUID,
ChmlComponent.SubstanceUUID AS SubstanceUUID,
_Substance.SubstanceName AS SubstanceName,
_Substance._ListedSubstance.CASNumber AS CASNumber,
ChmlComponent.ChmlCompQty AS ChmlCompQty,
ChmlComponent.ChmlCompQtyAsText AS ChmlCompQtyAsText,
ChmlComponent.ChmlCompQtyUnit AS ChmlCompQtyUnit,
ChmlComponent.ChmlCompOperatorLowerLimit AS ChmlCompOperatorLowerLimit,
ChmlComponent.ChmlCompQtyLowerLimit AS ChmlCompQtyLowerLimit,
ChmlComponent.ChmlCompQtyLowerLimitAsText AS ChmlCompQtyLowerLimitAsText,
ChmlComponent.ChmlCompOperatorUpperLimit AS ChmlCompOperatorUpperLimit,
ChmlComponent.ChmlCompQtyUpperLimit AS ChmlCompQtyUpperLimit,
ChmlComponent.ChmlCompQtyUpperLimitAsText AS ChmlCompQtyUpperLimitAsText,
_Substance.ResponsibleUnit AS ResponsibleUnit
FROM I_ChmlComponent AS ChmlComponent
INNER JOIN I_MatlBsdAfterProdnCompDraft AS _AfterProdnComp ON /* join condition not captured in parsed metadata */
INNER JOIN I_ChmlComposition AS _ChemicalComposition ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN C_ChmlCmplncPrimMatl AS _PrimaryMaterial ON ChmlComponent.ChmlCmplncInfoUUID = _PrimaryMaterial.ChmlCmplncInfoUUID -- association [0..1]
LEFT OUTER JOIN I_SubstanceTP AS _Substance ON ChmlComponent.SubstanceUUID = _Substance.SubstanceUUID -- association [0..1]
;
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