C_RawChmlCmplncSuplrMatlTP

DDL: C_RAWCHMLCMPLNCSUPLRMATLTP Type: view CONSUMPTION

Supplier Material Assignment

C_RawChmlCmplncSuplrMatlTP is a Consumption CDS View that provides data about "Supplier Material Assignment" in SAP S/4HANA. It reads from 1 data source (I_ChmlCmplncSuplrMatlAssgmtTP) and exposes 29 fields. It has 4 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_ChmlCmplncSuplrMatlAssgmtTP SupplierMaterialAssignment from

Associations (4)

CardinalityTargetAliasCondition
[1..1] C_RawChmlCmplncInfoTP _ChmlCmplncInfo $projection.ChmlCmplncInfoUUID = _ChmlCmplncInfo.ChmlCmplncInfoUUID --Additional information
[0..1] P_ChmlSuplrMatlData _AdditionalData $projection.ChmlSuplrMatlUUID = _AdditionalData.ChmlSuplrMatlUUID --Supplier Contact Data
[0..1] C_ChmlSuplrMatlSupplierContact _SupplierContact $projection.BusinessPartnerSupplier = _SupplierContact.BusinessPartnerSupplier --Unit of measurement %
[0..1] I_UnitOfMeasure _PercentageUnitOfMeasure _PercentageUnitOfMeasure.UnitOfMeasure = '%'

Annotations (20)

NameValueLevelField
EndUserText.label Supplier Material Assignment view
AbapCatalog.sqlViewName CCCRCSMASSGMTTP view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.allowExtensions true view
VDM.viewType #CONSUMPTION view
ObjectModel.transactionalProcessingDelegated true view
ObjectModel.createEnabled EXTERNAL_CALCULATION view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled false view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #C view
UI.headerInfo.typeName Supplier of Raw Material view
UI.headerInfo.typeNamePlural Suppliers of Raw Material view
UI.presentationVariant.sortOrder.by SupplierName view
UI.presentationVariant.sortOrder.direction #ASC view
Search.searchable true view

Fields (29)

KeyFieldSource TableSource FieldDescription
ChmlCmplncSuplrMatlAssgmtUUID
ActvChmlCmplncSuplrAssgmtUUID
ChmlCmplncInfoUUID
ChmlSuplrMatlUUID
ChmlSuplrMatlNavgnLink I_ChmlCmplncSuplrMatlAssgmtTP ChmlSuplrMatlUUID Supplier Raw Material
FirstName
LastName
OrganizationBPName1
OrganizationBPName2
GroupBusinessPartnerName1
GroupBusinessPartnerName2
Supplier
BusinessPartnerSupplier
BusinessPartner
SupplierMaterialNumber
ChmlSuplrMatlName
ChmlSuplrMatlSuplrSts
ChmlSuplrMatlSuplrStsName
ChmlSuplrMatlSuplrStsCritlty
ChmlSuplrMatlCmpstnSts
ChmlSuplrMatlCmpstnStsName
ChmlSuplrMatlCmpstnStsCritlty
LastChangeUTCDateTime
UnitOfMeasure
ProdStewardshipRespUnit
MaterialIsSourced
_ChmlCmplncInfo _ChmlCmplncInfo
_SupplierMaterial _SupplierMaterial
_SupplierContact _SupplierContact

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_RawChmlCmplncSuplrMatlTP.
-- 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_RawChmlCmplncSuplrMatlTP AS
SELECT
  SupplierMaterialAssignment.ChmlSuplrMatlUUID AS ChmlSuplrMatlNavgnLink,
  which is not allowed for searches _SupplierMaterial._BusinessPartner.FirstName AS FirstName,
  _SupplierMaterial._BusinessPartner.LastName AS LastName,
  _SupplierMaterial._BusinessPartner.OrganizationBPName1 AS OrganizationBPName1,
  _SupplierMaterial._BusinessPartner.OrganizationBPName2 AS OrganizationBPName2,
  _SupplierMaterial._BusinessPartner.GroupBusinessPartnerName1 AS GroupBusinessPartnerName1,
  _SupplierMaterial._BusinessPartner.GroupBusinessPartnerName2 AS GroupBusinessPartnerName2,
  _SupplierMaterial._BusinessPartnerSupplier.Supplier AS Supplier,
  _SupplierMaterial._BusinessPartner.BusinessPartner AS BusinessPartner
FROM I_ChmlCmplncSuplrMatlAssgmtTP AS SupplierMaterialAssignment
LEFT OUTER JOIN C_RawChmlCmplncInfoTP AS _ChmlCmplncInfo ON ChmlCmplncInfoUUID = _ChmlCmplncInfo.ChmlCmplncInfoUUID  -- association [1..1]
LEFT OUTER JOIN P_ChmlSuplrMatlData AS _AdditionalData ON ChmlSuplrMatlUUID = _AdditionalData.ChmlSuplrMatlUUID  -- association [0..1]
LEFT OUTER JOIN C_ChmlSuplrMatlSupplierContact AS _SupplierContact ON BusinessPartnerSupplier = _SupplierContact.BusinessPartnerSupplier  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _PercentageUnitOfMeasure ON _PercentageUnitOfMeasure.UnitOfMeasure = '%'  -- association [0..1]
;