I_CmplRqRslt1stAidTrtmtTP

DDL: I_CMPLRQRSLT1STAIDTRTMTTP SQL: ICRRFAMTRTMTTP Type: view TRANSACTIONAL Package: EHFND_BO_FAM

First Aid Measures Treatment

I_CmplRqRslt1stAidTrtmtTP is a Transactional CDS View that provides data about "First Aid Measures Treatment" in SAP S/4HANA. It reads from 1 data source (I_CmplRqRslt1stAidTrtmt) and exposes 10 fields with key field CmplRqRslt1stAidTrtmtUUID. It has 2 associations to related views. Part of development package EHFND_BO_FAM.

Data Sources (1)

SourceAliasJoin Type
I_CmplRqRslt1stAidTrtmt I_CmplRqRslt1stAidTrtmt from

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_CmplRqRslt1stAidTP _CmplRqRslt1stAid $projection.CmplRqRsltUUID = _CmplRqRslt1stAid.CmplRqRsltUUID
[0..*] I_CmplRqRslt1stAidTrtmtRatgTP _CmplRqRslt1stAidTrtmtRatg $projection.CmplRqRslt1stAidTrtmtUUID = _CmplRqRslt1stAidTrtmtRatg.PCPrptyParentUUID

Annotations (19)

NameValueLevelField
AbapCatalog.sqlViewName ICRRFAMTRTMTTP view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label First Aid Measures Treatment view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.representativeKey CmplRqRslt1stAidTrtmtUUID view
ObjectModel.transactionalProcessingUnitRoot true view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled true view
ObjectModel.writeActivePersistence EHFNDD_FAM_TRTMT view
ObjectModel.writeDraftPersistence EHFNDW_FAM_TRTMT view
ObjectModel.entityChangeStateId LastChangeDateTime view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY CmplRqRslt1stAidTrtmtUUID CmplRqRslt1stAidTrtmtUUID Treatment
CmplRqRsltUUID CmplRqRsltUUID SDS Assessment
PCPrptySequence PCPrptySequence Sequence
FirstAidTreatmentAdviceUUID FirstAidTreatmentAdviceUUID Advice
CreationDateTime CreationDateTime Timestamp
CreatedByUser CreatedByUser User Name
LastChangeDateTime LastChangeDateTime Timestamp
LastChangedByUser LastChangedByUser User Name
_CmplRqRslt1stAid _CmplRqRslt1stAid
_CmplRqRslt1stAidTrtmtRatg _CmplRqRslt1stAidTrtmtRatg

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 I_CmplRqRslt1stAidTrtmtTP.
-- 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: ICRRFAMTRTMTTP

CREATE VIEW I_CmplRqRslt1stAidTrtmtTP AS
SELECT
  CmplRqRslt1stAidTrtmtUUID,
  CmplRqRsltUUID,
  PCPrptySequence,
  FirstAidTreatmentAdviceUUID,
  CreationDateTime,
  CreatedByUser,
  LastChangeDateTime,
  LastChangedByUser
FROM I_CmplRqRslt1stAidTrtmt
LEFT OUTER JOIN I_CmplRqRslt1stAidTP AS _CmplRqRslt1stAid ON CmplRqRsltUUID = _CmplRqRslt1stAid.CmplRqRsltUUID  -- association [1..1]
LEFT OUTER JOIN I_CmplRqRslt1stAidTrtmtRatgTP AS _CmplRqRslt1stAidTrtmtRatg ON CmplRqRslt1stAidTrtmtUUID = _CmplRqRslt1stAidTrtmtRatg.PCPrptyParentUUID  -- association [0..*]
;