C_CmplRqRsltFrfghtngTP

DDL: C_CMPLRQRSLTFRFGHTNGTP SQL: CCRRFFMTP Type: view CONSUMPTION

Firefighting Measures

C_CmplRqRsltFrfghtngTP is a Consumption CDS View that provides data about "Firefighting Measures" in SAP S/4HANA. It reads from 1 data source (I_CmplRqRsltFrfghtngTP) and exposes 34 fields with key field CmplRqRsltUUID. It has 15 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_CmplRqRsltFrfghtngTP I_CmplRqRsltFrfghtngTP from

Associations (15)

CardinalityTargetAliasCondition
[0..*] C_CmplRqRsltFrfghtngAddlInfoTP _CmplRqRsltFrfghtngAddlInfo $projection.CmplRqRsltUUID = _CmplRqRsltFrfghtngAddlInfo.CmplRqRsltUUID
[0..*] C_CmplRqRsltFrfghtngCmbtnTP _CmplRqRsltFrfghtngCmbtn $projection.CmplRqRsltUUID = _CmplRqRsltFrfghtngCmbtn.CmplRqRsltUUID
[0..*] C_CmplRqRsltFrfghtngEquipTP _CmplRqRsltFrfghtngEquip $projection.CmplRqRsltUUID = _CmplRqRsltFrfghtngEquip.CmplRqRsltUUID
[0..*] C_CmplRqRsltFrfghtngHazardsTP _CmplRqRsltFrfghtngHazards $projection.CmplRqRsltUUID = _CmplRqRsltFrfghtngHazards.CmplRqRsltUUID
[0..*] C_CmplRqRsltFrfghtngMethodsTP _CmplRqRsltFrfghtngMethods $projection.CmplRqRsltUUID = _CmplRqRsltFrfghtngMethods.CmplRqRsltUUID
[0..*] C_CmplRqRsltFrfghtngSutblTP _CmplRqRsltFrfghtngSutbl $projection.CmplRqRsltUUID = _CmplRqRsltFrfghtngSutbl.CmplRqRsltUUID
[0..*] C_CmplRqRsltFrfghtngUnsutblTP _CmplRqRsltFrfghtngUnsutbl $projection.CmplRqRsltUUID = _CmplRqRsltFrfghtngUnsutbl.CmplRqRsltUUID
[1..1] C_CmplRqRsltFrfghtngNoteTP _CmplRqRsltFrfghtngNote $projection.CmplRqRsltUUID = _CmplRqRsltFrfghtngNote.PCPrptyRootUUID
[1..1] C_CmplRqRsltFrfghtngAssmtTP _CmplRqRsltFrfghtngAssmt $projection.CmplRqRsltUUID = _CmplRqRsltFrfghtngAssmt.CmplRqRsltUUID -- provides the info if a corresponding RELEASED CRR exists, this info is needed to control the visibility of the link to the released CRR in the object page's message strip
[0..1] I_CmplRqRslt _ReleasedCmplRqRslt $projection.ChmlCmplncInfoUUID = _ReleasedCmplRqRslt.ChmlCmplncInfoUUID and $projection.CmplRqVersUUID = _ReleasedCmplRqRslt.CmplRqVersUUID and _ReleasedCmplRqRslt.CmplRqRsltProcessingStatus = 'RE' -- Additional Information
[1..1] I_CmplRqVersEnhanced _CmplRqVers $projection.CmplRqVersUUID = _CmplRqVers.CmplRqVersUUID -- CCI
[1..1] I_ChmlCmplncInfoTP _ChmlCmplncInfo $projection.ChmlCmplncInfoUUID = _ChmlCmplncInfo.ChmlCmplncInfoUUID -- Material Data for Primary Material
[0..1] C_ChmlCmplncPrimMatl _MaterialDataPrimary $projection.ChmlCmplncInfoUUID = _MaterialDataPrimary.ChmlCmplncInfoUUID -- shows the preliminary status of IP CRRs
[0..1] P_CmplRqRsltTransientFields _CmplRqRsltTransientFields $projection.CmplRqRsltUUID = _CmplRqRsltTransientFields.CmplRqRsltUUID -- Determines the full name of the business user who has released the CRR
[0..1] I_BusinessUserBasic _ReleasedByUser $projection.ReleasedByUser = _ReleasedByUser.BusinessPartner

Annotations (19)

NameValueLevelField
AbapCatalog.sqlViewName CCRRFFMTP view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #NOT_REQUIRED view
EndUserText.label Firefighting Measures view
Metadata.allowExtensions true view
VDM.viewType #CONSUMPTION view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.representativeKey CmplRqRsltUUID view
ObjectModel.compositionRoot true view
ObjectModel.createEnabled false view
ObjectModel.updateEnabled EXTERNAL_CALCULATION view
ObjectModel.deleteEnabled EXTERNAL_CALCULATION view
ObjectModel.draftEnabled true view
ObjectModel.transactionalProcessingDelegated true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view

Fields (34)

KeyFieldSource TableSource FieldDescription
KEY CmplRqRsltUUID CmplRqRsltUUID SDS Assessment
ActiveCmplRqRsltUUID ActiveCmplRqRsltUUID Compliance Assessment UUID
CmplRqVersUUID CmplRqVersUUID NodeID
ChmlCmplncInfoUUID ChmlCmplncInfoUUID Chemical Compliance Information PP
ChmlSuplrMatlUUID ChmlSuplrMatlUUID Supplier Raw Material
ComplianceRequirement ComplianceRequirement Compliance Requirement
TestingReleaseCmplRqRsltManualStatus
CmplRqRsltProcessorName
ReleasedByUserName _ReleasedByUser PersonFullName Full Name
CmplRqRsltProcessingStatus CmplRqRsltProcessingStatus Processing Status
CmplRqVersName _CmplRqVers CmplRqVersName Compliance Requirement Name
ChmlCmplncInternalName _ChmlCmplncInfo ChmlCmplncInternalName Internal Name
ChmlCmplncApplication
MaterialasMaterial
char255asPCPrptyObjectTitle
char255asPCPrptyObjectDesc
ChmlCmplncInfoType
ChmlCmplncProdIsResearched
MaterialIsSold _CmplRqRsltTransientFields MaterialIsSold Is Sold
MaterialIsTransported _CmplRqRsltTransientFields MaterialIsTransported Is Transported
MaterialIsSourced _CmplRqRsltTransientFields MaterialIsSourced Is Purchased
MaterialIsProduced _CmplRqRsltTransientFields MaterialIsProduced Is Produced
ValidityStartDateTime ValidityStartDateTime Valid From Timestamp
ValidityEndDateTime ValidityEndDateTime Valid To Timestamp
_CmplRqRsltFrfghtngAddlInfo _CmplRqRsltFrfghtngAddlInfo
_CmplRqRsltFrfghtngCmbtn _CmplRqRsltFrfghtngCmbtn
_CmplRqRsltFrfghtngEquip _CmplRqRsltFrfghtngEquip
_CmplRqRsltFrfghtngHazards _CmplRqRsltFrfghtngHazards
_CmplRqRsltFrfghtngMethods _CmplRqRsltFrfghtngMethods
_CmplRqRsltFrfghtngSutbl _CmplRqRsltFrfghtngSutbl
_CmplRqRsltFrfghtngUnsutbl _CmplRqRsltFrfghtngUnsutbl
_CmplRqRsltFrfghtngNote _CmplRqRsltFrfghtngNote
_CmplRqRsltFrfghtngAssmt _CmplRqRsltFrfghtngAssmt
_CmplRqVers _CmplRqVers

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_CmplRqRsltFrfghtngTP.
-- 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: CCRRFFMTP

CREATE VIEW C_CmplRqRsltFrfghtngTP AS
SELECT
  CmplRqRsltUUID,
  ActiveCmplRqRsltUUID,
  CmplRqVersUUID,
  ChmlCmplncInfoUUID,
  ChmlSuplrMatlUUID,
  ComplianceRequirement,
  cast( '' as ad_namtext ) AS CmplRqRsltProcessorName,
  _ReleasedByUser.PersonFullName AS ReleasedByUserName,
  CmplRqRsltProcessingStatus,
  _CmplRqVers.CmplRqVersName AS CmplRqVersName,
  _ChmlCmplncInfo.ChmlCmplncInternalName AS ChmlCmplncInternalName,
  cast( '' as ehpma_application ) AS ChmlCmplncApplication,
  I_CmplRqRsltFrfghtngTP._ChmlCmplncInfo.ChmlCmplncProdIsResearched AS ChmlCmplncProdIsResearched,
  _CmplRqRsltTransientFields.MaterialIsSold AS MaterialIsSold,
  _CmplRqRsltTransientFields.MaterialIsTransported AS MaterialIsTransported,
  _CmplRqRsltTransientFields.MaterialIsSourced AS MaterialIsSourced,
  _CmplRqRsltTransientFields.MaterialIsProduced AS MaterialIsProduced,
  ValidityStartDateTime,
  ValidityEndDateTime
FROM I_CmplRqRsltFrfghtngTP
LEFT OUTER JOIN C_CmplRqRsltFrfghtngAddlInfoTP AS _CmplRqRsltFrfghtngAddlInfo ON CmplRqRsltUUID = _CmplRqRsltFrfghtngAddlInfo.CmplRqRsltUUID  -- association [0..*]
LEFT OUTER JOIN C_CmplRqRsltFrfghtngCmbtnTP AS _CmplRqRsltFrfghtngCmbtn ON CmplRqRsltUUID = _CmplRqRsltFrfghtngCmbtn.CmplRqRsltUUID  -- association [0..*]
LEFT OUTER JOIN C_CmplRqRsltFrfghtngEquipTP AS _CmplRqRsltFrfghtngEquip ON CmplRqRsltUUID = _CmplRqRsltFrfghtngEquip.CmplRqRsltUUID  -- association [0..*]
LEFT OUTER JOIN C_CmplRqRsltFrfghtngHazardsTP AS _CmplRqRsltFrfghtngHazards ON CmplRqRsltUUID = _CmplRqRsltFrfghtngHazards.CmplRqRsltUUID  -- association [0..*]
LEFT OUTER JOIN C_CmplRqRsltFrfghtngMethodsTP AS _CmplRqRsltFrfghtngMethods ON CmplRqRsltUUID = _CmplRqRsltFrfghtngMethods.CmplRqRsltUUID  -- association [0..*]
LEFT OUTER JOIN C_CmplRqRsltFrfghtngSutblTP AS _CmplRqRsltFrfghtngSutbl ON CmplRqRsltUUID = _CmplRqRsltFrfghtngSutbl.CmplRqRsltUUID  -- association [0..*]
LEFT OUTER JOIN C_CmplRqRsltFrfghtngUnsutblTP AS _CmplRqRsltFrfghtngUnsutbl ON CmplRqRsltUUID = _CmplRqRsltFrfghtngUnsutbl.CmplRqRsltUUID  -- association [0..*]
LEFT OUTER JOIN C_CmplRqRsltFrfghtngNoteTP AS _CmplRqRsltFrfghtngNote ON CmplRqRsltUUID = _CmplRqRsltFrfghtngNote.PCPrptyRootUUID  -- association [1..1]
LEFT OUTER JOIN C_CmplRqRsltFrfghtngAssmtTP AS _CmplRqRsltFrfghtngAssmt ON CmplRqRsltUUID = _CmplRqRsltFrfghtngAssmt.CmplRqRsltUUID  -- association [1..1]
LEFT OUTER JOIN I_CmplRqRslt AS _ReleasedCmplRqRslt ON ChmlCmplncInfoUUID = _ReleasedCmplRqRslt.ChmlCmplncInfoUUID AND CmplRqVersUUID = _ReleasedCmplRqRslt.CmplRqVersUUID AND _ReleasedCmplRqRslt.CmplRqRsltProcessingStatus = 'RE'  -- association [0..1]
LEFT OUTER JOIN I_CmplRqVersEnhanced AS _CmplRqVers ON CmplRqVersUUID = _CmplRqVers.CmplRqVersUUID  -- association [1..1]
LEFT OUTER JOIN I_ChmlCmplncInfoTP AS _ChmlCmplncInfo ON ChmlCmplncInfoUUID = _ChmlCmplncInfo.ChmlCmplncInfoUUID  -- association [1..1]
LEFT OUTER JOIN C_ChmlCmplncPrimMatl AS _MaterialDataPrimary ON ChmlCmplncInfoUUID = _MaterialDataPrimary.ChmlCmplncInfoUUID  -- association [0..1]
LEFT OUTER JOIN P_CmplRqRsltTransientFields AS _CmplRqRsltTransientFields ON CmplRqRsltUUID = _CmplRqRsltTransientFields.CmplRqRsltUUID  -- association [0..1]
LEFT OUTER JOIN I_BusinessUserBasic AS _ReleasedByUser ON ReleasedByUser = _ReleasedByUser.BusinessPartner  -- association [0..1]
;