R_ChmlCmplncBrnddProdCntryDrft

DDL: R_CHMLCMPLNCBRNDDPRODCNTRYDRFT Type: view_entity BASIC

Branded Product Country - Draft

R_ChmlCmplncBrnddProdCntryDrft is a Basic CDS View that provides data about "Branded Product Country - Draft" in SAP S/4HANA. It reads from 1 data source (ehfndw_cci_bpnc) and exposes 16 fields with key field ChmlCmplncBrnddProdCntryUUID. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
ehfndw_cci_bpnc ehfndw_cci_bpnc from

Associations (2)

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

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Branded Product Country - 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 (16)

KeyFieldSource TableSource FieldDescription
KEY ChmlCmplncBrnddProdCntryUUID chmlcmplncbrnddprodcntryuuid
ChmlCmplncBrnddProdNameUUID chmlcmplncbrnddprodnameuuid
ChmlCmplncInfoUUID chmlcmplncinfouuid Chemical Compliance Information PP
CreationDateTime creationdatetime Timestamp
CreatedByUser createdbyuser User Name
LastChangeDateTime lastchangedatetime Timestamp
LastChangedByUser lastchangedbyuser User Name
Country country Venue: Ctry/Reg
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
_BrandedProductName _BrandedProductName

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_ChmlCmplncBrnddProdCntryDrft.
-- 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_ChmlCmplncBrnddProdCntryDrft AS
SELECT
  ChmlCmplncBrnddProdCntryUUID,
  ChmlCmplncBrnddProdNameUUID,
  ChmlCmplncInfoUUID,
  CreationDateTime,
  CreatedByUser,
  LastChangeDateTime,
  LastChangedByUser,
  Country,
  DraftEntityCreationDateTime,
  DraftEntityLastChangeDateTime,
  DraftAdministrativeDataUUID,
  DraftEntityOperationCode,
  HasActiveEntity,
  DraftFieldChanges
FROM ehfndw_cci_bpnc
LEFT OUTER JOIN I_ChmlCmplncInfo AS _ChmlCmplncInfo ON _ChmlCmplncInfo.ChmlCmplncInfoUUID = ChmlCmplncInfoUUID  -- association [0..1]
LEFT OUTER JOIN I_ChmlCmplncBrnddProdName AS _BrandedProductName ON _BrandedProductName.ChmlCmplncBrnddProdNameUUID = ChmlCmplncBrnddProdNameUUID  -- association [0..1]
;