R_ChmlCmplncSuplrMatlDraft

DDL: R_CHMLCMPLNCSUPLRMATLDRAFT Type: view_entity BASIC Package: EHFND_RAP_CCI

CCI Supplier Material Assignment Draft

R_ChmlCmplncSuplrMatlDraft is a Basic CDS View that provides data about "CCI Supplier Material Assignment Draft" in SAP S/4HANA. It reads from 1 data source (ehfndw_cci_csm2) and exposes 19 fields with key field ChmlCmplncSuplrMatlAssgmtUUID. It has 2 associations to related views. Part of development package EHFND_RAP_CCI.

Data Sources (1)

SourceAliasJoin Type
ehfndw_cci_csm2 ehfndw_cci_csm2 from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_ChmlCmplncInfo _ChmlCmplncInfo _ChmlCmplncInfo.ChmlCmplncInfoUUID = $projection.ChmlCmplncInfoUUID
[1..1] I_ChmlSuplrMatl _SupplierMaterial _SupplierMaterial.ChmlSuplrMatlUUID = $projection.ChmlSuplrMatlUUID

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #REQUIRED view
EndUserText.label CCI Supplier Material Assignment Draft view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
VDM.viewType #BASIC view

Fields (19)

KeyFieldSource TableSource FieldDescription
KEY ChmlCmplncSuplrMatlAssgmtUUID chmlcmplncsuplrmatlassgmtuuid UUID
ActvChmlCmplncSuplrAssgmtUUID actvchmlcmplncsuplrassgmtuuid UUID
ChmlCmplncInfoUUID chmlcmplncinfouuid Chemical Compliance Information PP
ChmlSuplrMatlUUID chmlsuplrmatluuid Supplier Raw Material
CreationUTCDateTime creationutcdatetime Time Stamp
CreatedByUser createdbyuser User Name
LastChangeUTCDateTime lastchangeutcdatetime Time Stamp
LastChangedByUser lastchangedbyuser User Name
ChmlSuplrMatlSuplrSts chmlsuplrmatlsuplrsts Supplier Status for Raw Material
ChmlSuplrMatlIsOutdated chmlsuplrmatlisoutdated Outdated
BusinessPartnerSupplier businesspartnersupplier Supplier
DraftEntityCreationDateTime draftentitycreationdatetime Draft Created On
DraftEntityLastChangeDateTime draftentitylastchangedatetime Draft Last Changed On
DraftAdministrativeDataUUID draftadministrativedatauuid UUID
DraftEntityOperationCode draftentityoperationcode Draft - Operation Code
HasActiveEntity hasactiveentity TRUE
DraftFieldChanges draftfieldchanges Field Changes
_ChmlCmplncInfo _ChmlCmplncInfo
_SupplierMaterial _SupplierMaterial

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 R_ChmlCmplncSuplrMatlDraft.
-- 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 R_ChmlCmplncSuplrMatlDraft AS
SELECT
  ChmlCmplncSuplrMatlAssgmtUUID,
  ActvChmlCmplncSuplrAssgmtUUID,
  ChmlCmplncInfoUUID,
  ChmlSuplrMatlUUID,
  CreationUTCDateTime,
  CreatedByUser,
  LastChangeUTCDateTime,
  LastChangedByUser,
  ChmlSuplrMatlSuplrSts,
  ChmlSuplrMatlIsOutdated,
  BusinessPartnerSupplier,
  DraftEntityCreationDateTime,
  DraftEntityLastChangeDateTime,
  DraftAdministrativeDataUUID,
  DraftEntityOperationCode,
  HasActiveEntity,
  DraftFieldChanges
FROM ehfndw_cci_csm2
LEFT OUTER JOIN I_ChmlCmplncInfo AS _ChmlCmplncInfo ON _ChmlCmplncInfo.ChmlCmplncInfoUUID = ChmlCmplncInfoUUID  -- association [0..1]
LEFT OUTER JOIN I_ChmlSuplrMatl AS _SupplierMaterial ON _SupplierMaterial.ChmlSuplrMatlUUID = ChmlSuplrMatlUUID  -- association [1..1]
;