R_ChmlCmplncPrpsAssgmtDraft

DDL: R_CHMLCMPLNCPRPSASSGMTDRAFT Type: view_entity BASIC

Chemical Compliance Info Purpose Assignment Draft

R_ChmlCmplncPrpsAssgmtDraft is a Basic CDS View that provides data about "Chemical Compliance Info Purpose Assignment Draft" in SAP S/4HANA. It reads from 1 data source (ehfndw_cci_purp2) and exposes 15 fields with key field ChmlCmplncPrpsAssgmtUUID. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
ehfndw_cci_purp2 ehfndw_cci_purp2 from

Associations (1)

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

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Chemical Compliance Info Purpose 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 (15)

KeyFieldSource TableSource FieldDescription
KEY ChmlCmplncPrpsAssgmtUUID chmlcmplncprpsassgmtuuid Purpose Assignment
ChmlCmplncInfoUUID chmlcmplncinfouuid Chemical Compliance Information PP
CreationUTCDateTime creationutcdatetime Time Stamp
CreatedByUser createdbyuser User Name
LastChangeUTCDateTime lastchangeutcdatetime Time Stamp
LastChangedByUser lastchangedbyuser User Name
CmplncPrpsUUID cmplncprpsuuid Compliance Purpose
CmplncPrps cmplncprps Purpose ID
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

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_ChmlCmplncPrpsAssgmtDraft.
-- 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_ChmlCmplncPrpsAssgmtDraft AS
SELECT
  ChmlCmplncPrpsAssgmtUUID,
  ChmlCmplncInfoUUID,
  CreationUTCDateTime,
  CreatedByUser,
  LastChangeUTCDateTime,
  LastChangedByUser,
  CmplncPrpsUUID,
  CmplncPrps,
  DraftEntityCreationDateTime,
  DraftEntityLastChangeDateTime,
  DraftAdministrativeDataUUID,
  DraftEntityOperationCode,
  HasActiveEntity,
  DraftFieldChanges
FROM ehfndw_cci_purp2
LEFT OUTER JOIN I_ChmlCmplncInfo AS _ChmlCmplncInfo ON _ChmlCmplncInfo.ChmlCmplncInfoUUID = ChmlCmplncInfoUUID  -- association [0..1]
;