I_CmplRqRsltSpillTP

DDL: I_CMPLRQRSLTSPILLTP SQL: ICRRARMTP Type: view TRANSACTIONAL Package: EHFND_BO_ARM

Accidental Release Measures

I_CmplRqRsltSpillTP is a Transactional CDS View that provides data about "Accidental Release Measures" in SAP S/4HANA. It reads from 1 data source (I_CmplRqRslt) and exposes 33 fields with key field CmplRqRsltUUID. It has 6 associations to related views. Part of development package EHFND_BO_ARM.

Data Sources (1)

SourceAliasJoin Type
I_CmplRqRslt I_CmplRqRslt from

Associations (6)

CardinalityTargetAliasCondition
[0..*] I_CmplRqRsltSpillPrsnlMsrTP _CmplRqRsltSpillPrsnlMsr $projection.CmplRqRsltUUID = _CmplRqRsltSpillPrsnlMsr.CmplRqRsltUUID
[0..*] I_CmplRqRsltSpillCtnmtTP _CmplRqRsltSpillCtnmt $projection.CmplRqRsltUUID = _CmplRqRsltSpillCtnmt.CmplRqRsltUUID
[0..*] I_CmplRqRsltSpillEnvrnmtlMsrTP _CmplRqRsltSpillEnvrnmtlMsr $projection.CmplRqRsltUUID = _CmplRqRsltSpillEnvrnmtlMsr.CmplRqRsltUUID
[0..*] I_CmplRqRsltSpillAddlInfoTP _CmplRqRsltSpillAddlInfo $projection.CmplRqRsltUUID = _CmplRqRsltSpillAddlInfo.CmplRqRsltUUID
[0..*] I_CmplRqRsltSpillSctnRefTP _CmplRqRsltSpillSctnRef $projection.CmplRqRsltUUID = _CmplRqRsltSpillSctnRef.CmplRqRsltUUID
[0..1] I_CmplRqRsltSpillNoteTP _CmplRqRsltSpillNote $projection.CmplRqRsltUUID = _CmplRqRsltSpillNote.PCPrptyRootUUID

Annotations (22)

NameValueLevelField
AbapCatalog.sqlViewName ICRRARMTP view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Accidental Release Measures view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
ObjectModel.modelCategory #BUSINESS_OBJECT view
ObjectModel.compositionRoot true view
ObjectModel.draftEnabled true view
ObjectModel.transactionalProcessingEnabled true view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled EXTERNAL_CALCULATION view
ObjectModel.writeDraftPersistence ehfndw_crr_arm view
ObjectModel.writeActivePersistence ehfndv_crr view
ObjectModel.entityChangeStateId LastChangeDateTime view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.sapObjectNodeType.name AccdtlReleaseMeasureAssessment view

Fields (33)

KeyFieldSource TableSource FieldDescription
KEY CmplRqRsltUUID CmplRqRsltUUID SDS Assessment
ActiveCmplRqRsltUUID CmplRqRsltUUID SDS Assessment
ActiveUUIDofCRRCmplRqVersUUID
ChmlCmplncInfoUUID ChmlCmplncInfoUUID Chemical Compliance Information PP
SubstanceUUID SubstanceUUID Substance
ChmlSuplrMatlUUID ChmlSuplrMatlUUID Supplier Raw Material
ComplianceRequirement ComplianceRequirement Compliance Requirement
CreationDateTime CreationDateTime Timestamp
CreatedByUser CreatedByUser User Name
LastChangeDateTime LastChangeDateTime Timestamp
LastChangedByUser LastChangedByUser User Name
CmplRqRsltProcessingStatus CmplRqRsltProcessingStatus Processing Status
Processor Processor User Name
ReleasedByUser ReleasedByUser Released By
ValidityStartDateTime ValidityStartDateTime Valid From Timestamp
ValidityEndDateTime ValidityEndDateTime Valid To Timestamp
CmplRqRsltReldCmplncSts CmplRqRsltReldCmplncSts Released Compliance Status
CmplRqRsltCalculatedStatus CmplRqRsltCalculatedStatus Calculated Compliance Status
CmplRqRsltManualStatus CmplRqRsltManualStatus Transport Permission
CmplRqRsltStatusRemark CmplRqRsltStatusRemark Remarks
ChmlCompositionType ChmlCompositionType Legal Area
MaterialIsSold MaterialIsSold Is Sold
MaterialIsTransported MaterialIsTransported Is Transported
MaterialIsSourced MaterialIsSourced Is Purchased
MaterialIsProduced MaterialIsProduced Is Produced
_ChmlCmplncInfo _ChmlCmplncInfo
_CmplRqVers _CmplRqVers
_CmplRqRsltSpillPrsnlMsr _CmplRqRsltSpillPrsnlMsr
_CmplRqRsltSpillCtnmt _CmplRqRsltSpillCtnmt
_CmplRqRsltSpillEnvrnmtlMsr _CmplRqRsltSpillEnvrnmtlMsr
_CmplRqRsltSpillAddlInfo _CmplRqRsltSpillAddlInfo
_CmplRqRsltSpillSctnRef _CmplRqRsltSpillSctnRef
_CmplRqRsltSpillNote _CmplRqRsltSpillNote

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_CmplRqRsltSpillTP.
-- 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: ICRRARMTP

CREATE VIEW I_CmplRqRsltSpillTP AS
SELECT
  CmplRqRsltUUID,
  CmplRqRsltUUID AS ActiveCmplRqRsltUUID,
  ChmlCmplncInfoUUID,
  SubstanceUUID,
  ChmlSuplrMatlUUID,
  ComplianceRequirement,
  CreationDateTime,
  CreatedByUser,
  LastChangeDateTime,
  LastChangedByUser,
  CmplRqRsltProcessingStatus,
  Processor,
  ReleasedByUser,
  ValidityStartDateTime,
  ValidityEndDateTime,
  CmplRqRsltReldCmplncSts,
  CmplRqRsltCalculatedStatus,
  CmplRqRsltManualStatus,
  CmplRqRsltStatusRemark,
  ChmlCompositionType,
  MaterialIsSold,
  MaterialIsTransported,
  MaterialIsSourced,
  MaterialIsProduced
FROM I_CmplRqRslt
LEFT OUTER JOIN I_CmplRqRsltSpillPrsnlMsrTP AS _CmplRqRsltSpillPrsnlMsr ON CmplRqRsltUUID = _CmplRqRsltSpillPrsnlMsr.CmplRqRsltUUID  -- association [0..*]
LEFT OUTER JOIN I_CmplRqRsltSpillCtnmtTP AS _CmplRqRsltSpillCtnmt ON CmplRqRsltUUID = _CmplRqRsltSpillCtnmt.CmplRqRsltUUID  -- association [0..*]
LEFT OUTER JOIN I_CmplRqRsltSpillEnvrnmtlMsrTP AS _CmplRqRsltSpillEnvrnmtlMsr ON CmplRqRsltUUID = _CmplRqRsltSpillEnvrnmtlMsr.CmplRqRsltUUID  -- association [0..*]
LEFT OUTER JOIN I_CmplRqRsltSpillAddlInfoTP AS _CmplRqRsltSpillAddlInfo ON CmplRqRsltUUID = _CmplRqRsltSpillAddlInfo.CmplRqRsltUUID  -- association [0..*]
LEFT OUTER JOIN I_CmplRqRsltSpillSctnRefTP AS _CmplRqRsltSpillSctnRef ON CmplRqRsltUUID = _CmplRqRsltSpillSctnRef.CmplRqRsltUUID  -- association [0..*]
LEFT OUTER JOIN I_CmplRqRsltSpillNoteTP AS _CmplRqRsltSpillNote ON CmplRqRsltUUID = _CmplRqRsltSpillNote.PCPrptyRootUUID  -- association [0..1]
;