R_CmRqVsPrdMktySubstListTP

DDL: R_CMRQVSPRDMKTYSUBSTLISTTP Type: view_entity TRANSACTIONAL Package: EHPMA_RAP_COMPLIANCE_REQ

Substance List for PMA - TP

R_CmRqVsPrdMktySubstListTP is a Transactional CDS View that provides data about "Substance List for PMA - TP" in SAP S/4HANA. It reads from 1 data source (I_CmplRqVersSubstanceList) and exposes 29 fields with key fields SubstanceListUUID, CmplRqVersUUID. It has 6 associations to related views. Part of development package EHPMA_RAP_COMPLIANCE_REQ.

Data Sources (1)

SourceAliasJoin Type
I_CmplRqVersSubstanceList I_CmplRqVersSubstanceList from

Associations (6)

CardinalityTargetAliasCondition
[0..*] R_CmRqVsPrdMktySubstListGrpTP _CmplRqVersSubstListGrp
[0..*] R_CmRqVsPrdMktySubstListTxtTP _CmplRqVersSubstanceListText
[0..*] R_PrdMktySubstListOfclNameTP _CmplRqVersSubstListOfclName
[0..*] R_PrdMktySubstListExclRoleTP _CmplRqVersSubstListExclRole
[0..*] R_PrdMktySubstNameOnListTP _SubstanceNameOnList
[0..*] R_CmRqVsPrdMktyThldListItmTP _CmplRqVersThldListItm

Annotations (10)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Substance List for PMA - TP view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.representativeKey SubstanceListUUID view
ObjectModel.sapObjectNodeType.name CmplRqVersSubstanceList view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
VDM.viewType #TRANSACTIONAL view

Fields (29)

KeyFieldSource TableSource FieldDescription
KEY SubstanceListUUID Substance List
KEY CmplRqVersUUID CmplRqVersUUID NodeID
SubstanceListCharUUID SubstanceListCharUUID
CmplRqVers CmplRqVers Compliance Requirement
SubstanceList SubstanceList Internal List ID
SubstanceListIntVers SubstanceListIntVers Internal Version
SubstanceListIntVersDateTime SubstanceListIntVersDate Int. List Date
SubstanceListType SubstanceListType Regulatory List Type
SubstanceListCopyrightTxt SubstanceListCopyrightTxt Copyright Text
ComponentThreshold ComponentThreshold Component Threshold
ComponentThresholdUoM Threshold UoM
VolumeThreshold VolumeThreshold Volume Threshold
VolumeThresholdUoM Volume UoM
CmplRqVersParagraphUUID CmplRqVersParagraphUUID NodeID
CreatedByUser CreatedByUser User Name
CreationDateTime CreationDateTime Timestamp
LastChangedByUser LastChangedByUser User Name
LastChangeDateTime LastChangeDateTime Timestamp
_CmplRqVersStructure _CmplRqVersStructure
_OfficialName _OfficialName
_SubstanceListTypeText _SubstanceListTypeText
_Text _Text
_CmplRqVers _CmplRqVers
_CmplRqVersSubstListGrp _CmplRqVersSubstListGrp
_CmplRqVersSubstanceListText _CmplRqVersSubstanceListText
_CmplRqVersSubstListOfclName _CmplRqVersSubstListOfclName
_CmplRqVersSubstListExclRole _CmplRqVersSubstListExclRole
_SubstanceNameOnList _SubstanceNameOnList
_CmplRqVersThldListItm _CmplRqVersThldListItm

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_CmRqVsPrdMktySubstListTP.
-- 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_CmRqVsPrdMktySubstListTP AS
SELECT
  cast ( SubstanceListUUID as sysuuid_x16 preserving type ) AS SubstanceListUUID,
  CmplRqVersUUID,
  SubstanceListCharUUID,
  CmplRqVers,
  SubstanceList,
  SubstanceListIntVers,
  SubstanceListIntVersDate AS SubstanceListIntVersDateTime,
  SubstanceListType,
  SubstanceListCopyrightTxt,
  ComponentThreshold,
  cast ( ComponentThresholdUoM as ehfnd_unit_code_nce preserving type ) AS ComponentThresholdUoM,
  VolumeThreshold,
  cast ( VolumeThresholdUoM as ehfnd_unit_code_nce preserving type ) AS VolumeThresholdUoM,
  CmplRqVersParagraphUUID,
  CreatedByUser,
  CreationDateTime,
  LastChangedByUser,
  LastChangeDateTime
FROM I_CmplRqVersSubstanceList
LEFT OUTER JOIN R_CmRqVsPrdMktySubstListGrpTP AS _CmplRqVersSubstListGrp ON /* condition not available in parsed metadata */  -- association [0..*]
LEFT OUTER JOIN R_CmRqVsPrdMktySubstListTxtTP AS _CmplRqVersSubstanceListText ON /* condition not available in parsed metadata */  -- association [0..*]
LEFT OUTER JOIN R_PrdMktySubstListOfclNameTP AS _CmplRqVersSubstListOfclName ON /* condition not available in parsed metadata */  -- association [0..*]
LEFT OUTER JOIN R_PrdMktySubstListExclRoleTP AS _CmplRqVersSubstListExclRole ON /* condition not available in parsed metadata */  -- association [0..*]
LEFT OUTER JOIN R_PrdMktySubstNameOnListTP AS _SubstanceNameOnList ON /* condition not available in parsed metadata */  -- association [0..*]
LEFT OUTER JOIN R_CmRqVsPrdMktyThldListItmTP AS _CmplRqVersThldListItm ON /* condition not available in parsed metadata */  -- association [0..*]
;