C_CmplRqRsltOccptlExpsrLmtTP

DDL: C_CMPLRQRSLTOCCPTLEXPSRLMTTP SQL: CCRROELTP Type: view CONSUMPTION

Occupational Exposure Limits

C_CmplRqRsltOccptlExpsrLmtTP is a Consumption CDS View that provides data about "Occupational Exposure Limits" in SAP S/4HANA. It reads from 1 data source (I_CmplRqRsltOccptlExpsrLmtTP) and exposes 43 fields with key field CmplRqRsltUUID. It has 15 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_CmplRqRsltOccptlExpsrLmtTP I_CmplRqRsltOccptlExpsrLmtTP from

Associations (15)

CardinalityTargetAliasCondition
[0..*] C_CmplRqRsltExpsrLmtCompTP _CmplRqRsltExpsrLmtComp $projection.CmplRqRsltUUID = _CmplRqRsltExpsrLmtComp.CmplRqRsltUUID
[1..1] C_CmplRqRsltExpsrLmtNoteTP _CmplRqRsltExpsrLmtNote $projection.CmplRqRsltUUID = _CmplRqRsltExpsrLmtNote.PCPrptyRootUUID
[1..1] C_CmplRqRsltExpsrLmtAssmtTP _CmplRqRsltExpsrLmtAssmt $projection.CmplRqRsltUUID = _CmplRqRsltExpsrLmtAssmt.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' --opt I_CmplRqRsltExpsrLmtComp
[0..*] I_CmplRqRsltExpsrLmtComp _ExpsrLmtComp $projection.CmplRqRsltUUID = _ExpsrLmtComp.CmplRqRsltUUID -- 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
[0..1] I_ChmlCompositionTypeText _ChmlCompositionTypeText $projection.ChmlCompositionType = _ChmlCompositionTypeText.ChmlCompositionType -- 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 -- OEL Calculated status and status in header
[0..*] I_CmplRqRsltOELCalcdStatusTxt _CmplRqRsltOELCalcdStatusTxt $projection.CmplRqRsltCalculatedStatus = _CmplRqRsltOELCalcdStatusTxt.CmplRqRsltCalculatedStatus
[0..*] I_CmplRqRsltOELCalcdStatusTxt _ReleasedStatusText $projection.CmplRqRsltReldCmplncSts = _ReleasedStatusText.CmplRqRsltCalculatedStatus
[1..1] P_CmplRqRsltOELTransientFields _CmplRqRsltOELTransientFields $projection.CmplRqRsltUUID = _CmplRqRsltOELTransientFields.CmplRqRsltUUID
[0..1] I_CmplncRqmtRsltCmplncStsVH _ReleasedCmplncStsVH $projection.CmplRqRsltReldCmplncSts = _ReleasedCmplncStsVH.CmplRqRsltCmplncSts

Annotations (19)

NameValueLevelField
AbapCatalog.sqlViewName CCRROELTP view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #NOT_REQUIRED view
EndUserText.label Occupational Exposure Limits 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 #MIXED view

Fields (43)

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
ReleasedstatusCmplRqRsltReldCmplncSts
CmplRqRsltReldCmplncStsName
_ReleasedStatusText _ReleasedStatusText
CmplRqRsltReldCmplncStsCritlty _ReleasedCmplncStsVH CmplRqRsltCmplncStsCriticality
CmplRqRsltPrelimCmplncStsName
CmplRqRsltPrelimCmplncSts _CmplRqRsltOELTransientFields CmplRqRsltPrelimCmplncSts Preliminary Compliance Status
CmplRqRsltPrelimCmplncStsCritl
CmplRqRsltStatusRemark CmplRqRsltStatusRemark Remarks
CmplRqRsltProcessorName
ReleasedByUserName _ReleasedByUser PersonFullName Full Name
CmplRqRsltCalculatedStatus CmplRqRsltCalculatedStatus Calculated Compliance Status
CmplRqRsltCalculatedStatusName
_CmplRqRsltOELCalcdStatusTxt _CmplRqRsltOELCalcdStatusTxt
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
CompositionTypeChmlCompositionType
ChmlCompositionTypeName
ValidityStartDateTime ValidityStartDateTime Valid From Timestamp
ValidityEndDateTime ValidityEndDateTime Valid To Timestamp
_CmplRqRsltExpsrLmtComp _CmplRqRsltExpsrLmtComp
_CmplRqRsltExpsrLmtNote _CmplRqRsltExpsrLmtNote
_CmplRqRsltExpsrLmtAssmt _CmplRqRsltExpsrLmtAssmt
_CmplRqVers _CmplRqVers
_ExpsrLmtComp _ExpsrLmtComp
_ReleasedCmplncStsVH _ReleasedCmplncStsVH

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_CmplRqRsltOccptlExpsrLmtTP.
-- 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: CCRROELTP

CREATE VIEW C_CmplRqRsltOccptlExpsrLmtTP AS
SELECT
  CmplRqRsltUUID,
  ActiveCmplRqRsltUUID,
  CmplRqVersUUID,
  ChmlCmplncInfoUUID,
  ChmlSuplrMatlUUID,
  ComplianceRequirement,
  cast(_ReleasedStatusText[1: Language = $session.system_language ].CmplRqRsltCalculatedStatusName as ehpma_crr_mkt_stat_text preserving type) AS CmplRqRsltReldCmplncStsName,
  _ReleasedCmplncStsVH.CmplRqRsltCmplncStsCriticality AS CmplRqRsltReldCmplncStsCritlty,
  _CmplRqRsltOELTransientFields.CmplRqRsltPrelimCmplncSts AS CmplRqRsltPrelimCmplncSts,
  _CmplRqRsltOELTransientFields._PreliminaryStsVH.CmplRqRsltCmplncStsCriticality AS CmplRqRsltPrelimCmplncStsCritl,
  CmplRqRsltStatusRemark,
  cast( '' as ad_namtext ) AS CmplRqRsltProcessorName,
  _ReleasedByUser.PersonFullName AS ReleasedByUserName,
  CmplRqRsltCalculatedStatus,
  cast(_CmplRqRsltOELCalcdStatusTxt[1: Language = $session.system_language ].CmplRqRsltCalculatedStatusName as ehpma_crr_mkt_stat_text preserving type) AS CmplRqRsltCalculatedStatusName,
  CmplRqRsltProcessingStatus,
  _CmplRqVers.CmplRqVersName AS CmplRqVersName,
  _ChmlCmplncInfo.ChmlCmplncInternalName AS ChmlCmplncInternalName,
  cast( '' as ehpma_application ) AS ChmlCmplncApplication,
  I_CmplRqRsltOccptlExpsrLmtTP._ChmlCmplncInfo.ChmlCmplncProdIsResearched AS ChmlCmplncProdIsResearched,
  _CmplRqRsltTransientFields.MaterialIsSold AS MaterialIsSold,
  _CmplRqRsltTransientFields.MaterialIsTransported AS MaterialIsTransported,
  _CmplRqRsltTransientFields.MaterialIsSourced AS MaterialIsSourced,
  _CmplRqRsltTransientFields.MaterialIsProduced AS MaterialIsProduced,
  ValidityStartDateTime,
  ValidityEndDateTime
FROM I_CmplRqRsltOccptlExpsrLmtTP
LEFT OUTER JOIN C_CmplRqRsltExpsrLmtCompTP AS _CmplRqRsltExpsrLmtComp ON CmplRqRsltUUID = _CmplRqRsltExpsrLmtComp.CmplRqRsltUUID  -- association [0..*]
LEFT OUTER JOIN C_CmplRqRsltExpsrLmtNoteTP AS _CmplRqRsltExpsrLmtNote ON CmplRqRsltUUID = _CmplRqRsltExpsrLmtNote.PCPrptyRootUUID  -- association [1..1]
LEFT OUTER JOIN C_CmplRqRsltExpsrLmtAssmtTP AS _CmplRqRsltExpsrLmtAssmt ON CmplRqRsltUUID = _CmplRqRsltExpsrLmtAssmt.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_CmplRqRsltExpsrLmtComp AS _ExpsrLmtComp ON CmplRqRsltUUID = _ExpsrLmtComp.CmplRqRsltUUID  -- association [0..*]
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 I_ChmlCompositionTypeText AS _ChmlCompositionTypeText ON ChmlCompositionType = _ChmlCompositionTypeText.ChmlCompositionType  -- 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]
LEFT OUTER JOIN I_CmplRqRsltOELCalcdStatusTxt AS _CmplRqRsltOELCalcdStatusTxt ON CmplRqRsltCalculatedStatus = _CmplRqRsltOELCalcdStatusTxt.CmplRqRsltCalculatedStatus  -- association [0..*]
LEFT OUTER JOIN I_CmplRqRsltOELCalcdStatusTxt AS _ReleasedStatusText ON CmplRqRsltReldCmplncSts = _ReleasedStatusText.CmplRqRsltCalculatedStatus  -- association [0..*]
LEFT OUTER JOIN P_CmplRqRsltOELTransientFields AS _CmplRqRsltOELTransientFields ON CmplRqRsltUUID = _CmplRqRsltOELTransientFields.CmplRqRsltUUID  -- association [1..1]
LEFT OUTER JOIN I_CmplncRqmtRsltCmplncStsVH AS _ReleasedCmplncStsVH ON CmplRqRsltReldCmplncSts = _ReleasedCmplncStsVH.CmplRqRsltCmplncSts  -- association [0..1]
;