C_MatlBsdBeforeProdnCompTP

DDL: C_MATLBSDBEFOREPRODNCOMPTP Type: view CONSUMPTION Package: EHFND_CNS_CMPS_MATLBASED

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)

SourceAliasJoin Type
I_MatlBsdBeforeProdnCompTP MatlBsdComponent from

Associations (5)

CardinalityTargetAliasCondition
[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)

NameValueLevelField
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)

ServiceBindingVersionContractRelease
ASQL_F2647 ASQL_F2647 C2 NOT_RELEASED
ASQL_F8392 ASQL_F8392 C2 NOT_RELEASED

Fields (21)

KeyFieldSource TableSource FieldDescription
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]
;