R_CmplRqRsltStorMatlAvdTP

DDL: R_CMPLRQRSLTSTORMATLAVDTP Type: view_entity TRANSACTIONAL Package: EHSDS_CRPAT_HANDL_STORAGE

Materials to avoid - TP

R_CmplRqRsltStorMatlAvdTP is a Transactional CDS View that provides data about "Materials to avoid - TP" in SAP S/4HANA. It reads from 1 data source (I_CmplRqRsltStorMatlAvd) and exposes 11 fields with key field StorageMaterialAvoidUUID. It has 2 associations to related views. Part of development package EHSDS_CRPAT_HANDL_STORAGE.

Data Sources (1)

SourceAliasJoin Type
I_CmplRqRsltStorMatlAvd I_CmplRqRsltStorMatlAvd from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_ProdCmplncPhrsTxtWthFallback _ProdCmplncPhrsTxtWthFallback $projection.StorageMaterialAvoidAdviceUUID = _ProdCmplncPhrsTxtWthFallback.ProdCmplncPhrsUUID
[0..*] R_CmplRqRsltStorMatlAvdRatgTP _CmplRqRsltStorMatlAvdRatg

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Materials to avoid - TP view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY StorageMaterialAvoidUUID StorageMaterialAvoidUUID
StorageMaterialAvoidAdviceUUID StorageMaterialAvoidAdviceUUID
CmplRqRsltUUID CmplRqRsltUUID SDS Assessment
PCPrptySequence PCPrptySequence Sequence
CreationDateTime CreationDateTime Timestamp
CreatedByUser CreatedByUser User Name
LastChangeDateTime LastChangeDateTime Timestamp
LastChangedByUser LastChangedByUser User Name
_CmplRqRsltHndlgStorage _CmplRqRsltHndlgStorage
_CmplRqRsltStorMatlAvdRatg _CmplRqRsltStorMatlAvdRatg
_ProdCmplncPhrsTxtWthFallback _ProdCmplncPhrsTxtWthFallback

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_CmplRqRsltStorMatlAvdTP.
-- 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_CmplRqRsltStorMatlAvdTP AS
SELECT
  StorageMaterialAvoidUUID,
  StorageMaterialAvoidAdviceUUID,
  CmplRqRsltUUID,
  PCPrptySequence,
  CreationDateTime,
  CreatedByUser,
  LastChangeDateTime,
  LastChangedByUser
FROM I_CmplRqRsltStorMatlAvd
LEFT OUTER JOIN I_ProdCmplncPhrsTxtWthFallback AS _ProdCmplncPhrsTxtWthFallback ON StorageMaterialAvoidAdviceUUID = _ProdCmplncPhrsTxtWthFallback.ProdCmplncPhrsUUID  -- association [0..1]
LEFT OUTER JOIN R_CmplRqRsltStorMatlAvdRatgTP AS _CmplRqRsltStorMatlAvdRatg ON /* condition not available in parsed metadata */  -- association [0..*]
;