C_CmplRqRsltProtTP

DDL: C_CMPLRQRSLTPROTTP SQL: CCRRPPMTP Type: view CONSUMPTION Package: EHFND_CNS_PPM

Personal Protection Measures

C_CmplRqRsltProtTP is a Consumption CDS View that provides data about "Personal Protection Measures" in SAP S/4HANA. It reads from 1 data source (I_CmplRqRsltProtTP) and exposes 34 fields with key field CmplRqRsltUUID. It has 15 associations to related views. It is exposed through 1 OData service (ASQL_F4655). Part of development package EHFND_CNS_PPM.

Data Sources (1)

SourceAliasJoin Type
I_CmplRqRsltProtTP I_CmplRqRsltProtTP from

Associations (15)

CardinalityTargetAliasCondition
[0..*] C_CmplRqRsltProtEyeTP _CmplRqRsltProtEye $projection.CmplRqRsltUUID = _CmplRqRsltProtEye.CmplRqRsltUUID
[0..*] C_CmplRqRsltProtHandTP _CmplRqRsltProtHand $projection.CmplRqRsltUUID = _CmplRqRsltProtHand.CmplRqRsltUUID
[0..*] C_CmplRqRsltProtSkinTP _CmplRqRsltProtSkin $projection.CmplRqRsltUUID = _CmplRqRsltProtSkin.CmplRqRsltUUID
[0..*] C_CmplRqRsltProtGenMsrTP _CmplRqRsltProtGenMsr $projection.CmplRqRsltUUID = _CmplRqRsltProtGenMsr.CmplRqRsltUUID
[0..*] C_CmplRqRsltProtHandAddlTP _CmplRqRsltProtHandAddl $projection.CmplRqRsltUUID = _CmplRqRsltProtHandAddl.CmplRqRsltUUID
[0..*] C_CmplRqRsltProtRespirationTP _CmplRqRsltProtRespiration $projection.CmplRqRsltUUID = _CmplRqRsltProtRespiration.CmplRqRsltUUID
[1..1] C_CmplRqRsltProtNoteTP _CmplRqRsltProtNote $projection.CmplRqRsltUUID = _CmplRqRsltProtNote.PCPrptyRootUUID
[1..1] C_CmplRqRsltProtFltrTP _CmplRqRsltProtFltr $projection.CmplRqRsltUUID = _CmplRqRsltProtFltr.CmplRqRsltUUID
[1..1] C_CmplRqRsltProtAssmtTP _CmplRqRsltProtAssmt $projection.CmplRqRsltUUID = _CmplRqRsltProtAssmt.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'
[1..1] I_CmplRqVersEnhanced _CmplRqVers $projection.CmplRqVersUUID = _CmplRqVers.CmplRqVersUUID -- Additional Information -- 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 CCRRPPMTP view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #NOT_REQUIRED view
EndUserText.label Personal Protection 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

OData Services (1)

ServiceBindingVersionContractRelease
ASQL_F4655 ASQL_F4655 C2 NOT_RELEASED

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
_CmplRqRsltProtEye _CmplRqRsltProtEye
_CmplRqRsltProtGenMsr _CmplRqRsltProtGenMsr
_CmplRqRsltProtHand _CmplRqRsltProtHand
_CmplRqRsltProtHandAddl _CmplRqRsltProtHandAddl
_CmplRqRsltProtRespiration _CmplRqRsltProtRespiration
_CmplRqRsltProtSkin _CmplRqRsltProtSkin
_CmplRqRsltProtNote _CmplRqRsltProtNote
_CmplRqRsltProtFltr _CmplRqRsltProtFltr
_CmplRqRsltProtAssmt _CmplRqRsltProtAssmt
_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_CmplRqRsltProtTP.
-- 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: CCRRPPMTP

CREATE VIEW C_CmplRqRsltProtTP 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_CmplRqRsltProtTP._ChmlCmplncInfo.ChmlCmplncProdIsResearched AS ChmlCmplncProdIsResearched,
  _CmplRqRsltTransientFields.MaterialIsSold AS MaterialIsSold,
  _CmplRqRsltTransientFields.MaterialIsTransported AS MaterialIsTransported,
  _CmplRqRsltTransientFields.MaterialIsSourced AS MaterialIsSourced,
  _CmplRqRsltTransientFields.MaterialIsProduced AS MaterialIsProduced,
  ValidityStartDateTime,
  ValidityEndDateTime
FROM I_CmplRqRsltProtTP
LEFT OUTER JOIN C_CmplRqRsltProtEyeTP AS _CmplRqRsltProtEye ON CmplRqRsltUUID = _CmplRqRsltProtEye.CmplRqRsltUUID  -- association [0..*]
LEFT OUTER JOIN C_CmplRqRsltProtHandTP AS _CmplRqRsltProtHand ON CmplRqRsltUUID = _CmplRqRsltProtHand.CmplRqRsltUUID  -- association [0..*]
LEFT OUTER JOIN C_CmplRqRsltProtSkinTP AS _CmplRqRsltProtSkin ON CmplRqRsltUUID = _CmplRqRsltProtSkin.CmplRqRsltUUID  -- association [0..*]
LEFT OUTER JOIN C_CmplRqRsltProtGenMsrTP AS _CmplRqRsltProtGenMsr ON CmplRqRsltUUID = _CmplRqRsltProtGenMsr.CmplRqRsltUUID  -- association [0..*]
LEFT OUTER JOIN C_CmplRqRsltProtHandAddlTP AS _CmplRqRsltProtHandAddl ON CmplRqRsltUUID = _CmplRqRsltProtHandAddl.CmplRqRsltUUID  -- association [0..*]
LEFT OUTER JOIN C_CmplRqRsltProtRespirationTP AS _CmplRqRsltProtRespiration ON CmplRqRsltUUID = _CmplRqRsltProtRespiration.CmplRqRsltUUID  -- association [0..*]
LEFT OUTER JOIN C_CmplRqRsltProtNoteTP AS _CmplRqRsltProtNote ON CmplRqRsltUUID = _CmplRqRsltProtNote.PCPrptyRootUUID  -- association [1..1]
LEFT OUTER JOIN C_CmplRqRsltProtFltrTP AS _CmplRqRsltProtFltr ON CmplRqRsltUUID = _CmplRqRsltProtFltr.CmplRqRsltUUID  -- association [1..1]
LEFT OUTER JOIN C_CmplRqRsltProtAssmtTP AS _CmplRqRsltProtAssmt ON CmplRqRsltUUID = _CmplRqRsltProtAssmt.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]
;