C_CmplRqRslt1stAidProtTP

DDL: C_CMPLRQRSLT1STAIDPROTTP SQL: CCRRFAMPROTTP Type: view CONSUMPTION

First Aid Measures Protection

C_CmplRqRslt1stAidProtTP is a Consumption CDS View that provides data about "First Aid Measures Protection" in SAP S/4HANA. It reads from 1 data source (I_CmplRqRslt1stAidProtTP) and exposes 8 fields with key field CmplRqRslt1stAidProtUUID. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_CmplRqRslt1stAidProtTP I_CmplRqRslt1stAidProtTP from

Associations (3)

CardinalityTargetAliasCondition
[1..1] C_CmplRqRslt1stAidTP _CmplRqRslt1stAid $projection.CmplRqRsltUUID = _CmplRqRslt1stAid.CmplRqRsltUUID
[0..*] C_CmplRqRslt1stAidProtRatgTP _CmplRqRslt1stAidProtRatg $projection.CmplRqRslt1stAidProtUUID = _CmplRqRslt1stAidProtRatg.PCPrptyParentUUID
[0..1] C_ProdCmplncPhrsTxtWthFallback _ProdCmplncPhrsTxtWthFallback $projection.FirstAidOfficerProtAdviceUUID = _ProdCmplncPhrsTxtWthFallback.ProdCmplncPhrsUUID

Annotations (17)

NameValueLevelField
AbapCatalog.sqlViewName CCRRFAMPROTTP view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label First Aid Measures Protection view
VDM.viewType #CONSUMPTION view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.representativeKey CmplRqRslt1stAidProtUUID view
ObjectModel.semanticKey CmplRqRslt1stAidProtUUID 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

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY CmplRqRslt1stAidProtUUID CmplRqRslt1stAidProtUUID Protection of first-aiders
CmplRqRsltUUID CmplRqRsltUUID SDS Assessment
PCPrptySequence PCPrptySequence Sequence
FirstAidOfficerProtAdviceUUID FirstAidOfficerProtAdviceUUID Advice
ProdCmplncPhrsText
_CmplRqRslt1stAid _CmplRqRslt1stAid
_CmplRqRslt1stAidProtRatg _CmplRqRslt1stAidProtRatg
_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_CmplRqRslt1stAidProtTP.
-- 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: CCRRFAMPROTTP

CREATE VIEW C_CmplRqRslt1stAidProtTP AS
SELECT
  CmplRqRslt1stAidProtUUID,
  CmplRqRsltUUID,
  PCPrptySequence,
  FirstAidOfficerProtAdviceUUID,
  cast(_ProdCmplncPhrsTxtWthFallback.ProdCmplncPhrsText as ehfnd_ui_advice preserving type) AS ProdCmplncPhrsText
FROM I_CmplRqRslt1stAidProtTP
LEFT OUTER JOIN C_CmplRqRslt1stAidTP AS _CmplRqRslt1stAid ON CmplRqRsltUUID = _CmplRqRslt1stAid.CmplRqRsltUUID  -- association [1..1]
LEFT OUTER JOIN C_CmplRqRslt1stAidProtRatgTP AS _CmplRqRslt1stAidProtRatg ON CmplRqRslt1stAidProtUUID = _CmplRqRslt1stAidProtRatg.PCPrptyParentUUID  -- association [0..*]
LEFT OUTER JOIN C_ProdCmplncPhrsTxtWthFallback AS _ProdCmplncPhrsTxtWthFallback ON FirstAidOfficerProtAdviceUUID = _ProdCmplncPhrsTxtWthFallback.ProdCmplncPhrsUUID  -- association [0..1]
;