C_CmplRqRsltProtGenMsrTP

DDL: C_CMPLRQRSLTPROTGENMSRTP SQL: CCRRPPMGENTP Type: view CONSUMPTION

Personal Protection Measure General

C_CmplRqRsltProtGenMsrTP is a Consumption CDS View that provides data about "Personal Protection Measure General" in SAP S/4HANA. It reads from 1 data source (I_CmplRqRsltProtGenMsrTP) and exposes 9 fields with key field CmplRqRsltProtGenMsrUUID. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_CmplRqRsltProtGenMsrTP I_CmplRqRsltProtGenMsrTP from

Associations (3)

CardinalityTargetAliasCondition
[1..1] C_CmplRqRsltProtTP _CmplRqRsltProt $projection.CmplRqRsltUUID = _CmplRqRsltProt.CmplRqRsltUUID
[0..*] C_CmplRqRsltProtGenMsrRatgTP _CmplRqRsltProtGenMsrRatg $projection.CmplRqRsltProtGenMsrUUID = _CmplRqRsltProtGenMsrRatg.PCPrptyParentUUID
[0..1] C_ProdCmplncPhrsTxtWthFallback _ProdCmplncPhrsTxtWthFallback $projection.PrsnlProtGeneralAdviceUUID = _ProdCmplncPhrsTxtWthFallback.ProdCmplncPhrsUUID

Annotations (18)

NameValueLevelField
AbapCatalog.sqlViewName CCRRPPMGENTP view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #NOT_REQUIRED view
EndUserText.label Personal Protection Measure General view
VDM.viewType #CONSUMPTION view
ObjectModel.representativeKey CmplRqRsltProtGenMsrUUID view
ObjectModel.semanticKey CmplRqRsltProtGenMsrUUID view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled true view
ObjectModel.transactionalProcessingDelegated true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
Metadata.allowExtensions true view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY CmplRqRsltProtGenMsrUUID CmplRqRsltProtGenMsrUUID General Measure
CmplRqRsltUUID CmplRqRsltUUID SDS Assessment
PCPrptySequence PCPrptySequence Sequence
PrsnlProtGeneralAdviceUUID PrsnlProtGeneralAdviceUUID Advice
ProdCmplncPhrsText
_CmplRqRsltProt _CmplRqRsltProt
_CmplRqRsltProtGenMsrRatg _CmplRqRsltProtGenMsrRatg
_CmplRqRslt _CmplRqRslt
_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 C_CmplRqRsltProtGenMsrTP.
-- 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.
-- SQL view name: CCRRPPMGENTP

CREATE VIEW C_CmplRqRsltProtGenMsrTP AS
SELECT
  CmplRqRsltProtGenMsrUUID,
  CmplRqRsltUUID,
  PCPrptySequence,
  PrsnlProtGeneralAdviceUUID,
  cast(_ProdCmplncPhrsTxtWthFallback.ProdCmplncPhrsText as ehfnd_ui_advice preserving type) AS ProdCmplncPhrsText
FROM I_CmplRqRsltProtGenMsrTP
LEFT OUTER JOIN C_CmplRqRsltProtTP AS _CmplRqRsltProt ON CmplRqRsltUUID = _CmplRqRsltProt.CmplRqRsltUUID  -- association [1..1]
LEFT OUTER JOIN C_CmplRqRsltProtGenMsrRatgTP AS _CmplRqRsltProtGenMsrRatg ON CmplRqRsltProtGenMsrUUID = _CmplRqRsltProtGenMsrRatg.PCPrptyParentUUID  -- association [0..*]
LEFT OUTER JOIN C_ProdCmplncPhrsTxtWthFallback AS _ProdCmplncPhrsTxtWthFallback ON PrsnlProtGeneralAdviceUUID = _ProdCmplncPhrsTxtWthFallback.ProdCmplncPhrsUUID  -- association [0..1]
;