R_CmplRqVersEHSExposureLimitTP

DDL: R_CMPLRQVERSEHSEXPOSURELIMITTP Type: view_entity TRANSACTIONAL Package: EHHSS_RAP_COMPLIANCE_REQ

CRV Occupational Exposure Limit - TP

R_CmplRqVersEHSExposureLimitTP is a Transactional CDS View that provides data about "CRV Occupational Exposure Limit - TP" in SAP S/4HANA. It reads from 1 data source (P_CmplRqVersETablExposureLimit) and exposes 25 fields with key fields OccptlExpsrLmtUUID, CmplRqVersUUID. It has 1 association to related views. Part of development package EHHSS_RAP_COMPLIANCE_REQ.

Data Sources (1)

SourceAliasJoin Type
P_CmplRqVersETablExposureLimit CmplRqVersETablExposureLimit from

Associations (1)

CardinalityTargetAliasCondition
[0..*] R_CmRqVsEHSExpsrLmtAddlInfoTP _CmRqVsExposureLimitAddlInfo

Annotations (10)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label CRV Occupational Exposure Limit - TP view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.representativeKey OccptlExpsrLmtUUID view
ObjectModel.sapObjectNodeType.name CmplRqVersExposureLimit view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
VDM.viewType #TRANSACTIONAL view

Fields (25)

KeyFieldSource TableSource FieldDescription
KEY OccptlExpsrLmtUUID UUID
KEY CmplRqVersUUID UUID
CmplRqVers Compliance Requirement
OccptlExpsrLmtCharUUID BCO KEY
SubstanceListUUID UUID
ListedSubstance listsub_id Pollutant Container
OccptlExpsrLmtValueType Value Type
OccptlExpsrLmtQuantity Limit
OccptlExpsrLmtValueUoM Unit of Measurement
CmRqVsOELFormOfExposure exposure_form Form of Exposure
CmRqVsOELMeasuredAs measured_as Measured As
OccptlExpsrLmtType OEL Type
CmRqVsOELExposureDuration duration Tot.Duration in Days
CmRqVsOELExposureDurationUoM Unit of Durat.
CmRqVsOELAmountCategory Category
CmRqVsOELPeakLmtExcursionFctr cmrqvsoelpeaklmtexcursionfctr
CmRqVsOELMomentaryConcnValue cmrqvsoelmomentaryconcnvalue
CmRqVsOELExcursionFctrCat cmrqvsoelexcursionfctrcat
CreatedByUser P_CmplRqVersETablExposureLimit user_id_cr Created By
CreationDateTime
LastChangedByUser P_CmplRqVersETablExposureLimit user_id_ch Changed By
LastChangeDateTime
_CmplRqVersOELSubstanceList _CmplRqVersOELSubstanceList
_CmRqVsExposureLimitAddlInfo _CmRqVsExposureLimitAddlInfo
_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 R_CmplRqVersEHSExposureLimitTP.
-- 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.

CREATE VIEW R_CmplRqVersEHSExposureLimitTP AS
SELECT
  cast(db_key as ehfnd_db_key preserving type) AS OccptlExpsrLmtUUID,
  cast(root_key as ehfnd_crv_uuid preserving type) AS CmplRqVersUUID,
  cast(bco_id as ehfnd_crv_id preserving type) AS CmplRqVers,
  cast(bco_key as sysuuid_c32 preserving type) AS OccptlExpsrLmtCharUUID,
  cast(parent_key as ehfnd_req_reglist_uuid preserving type) AS SubstanceListUUID,
  listsub_id AS ListedSubstance,
  cast(value_type as ehfnd_value_type_code_nce preserving type) AS OccptlExpsrLmtValueType,
  cast(value_meas as ehfnd_oel_value_meas_nce preserving type) AS OccptlExpsrLmtQuantity,
  cast(value_unit as ehfnd_unit_code_nce preserving type) AS OccptlExpsrLmtValueUoM,
  exposure_form AS CmRqVsOELFormOfExposure,
  measured_as AS CmRqVsOELMeasuredAs,
  cast(oel_type as ehfnd_oel_type_code_nce preserving type) AS OccptlExpsrLmtType,
  duration AS CmRqVsOELExposureDuration,
  cast(duration_unit as ehfnd_exposure_dur_unit_nce preserving type) AS CmRqVsOELExposureDurationUoM,
  cast(amount_category as ehfnd_oel_amn_category_code preserving type) AS CmRqVsOELAmountCategory,
  CmRqVsOELPeakLmtExcursionFctr,
  CmRqVsOELMomentaryConcnValue,
  CmRqVsOELExcursionFctrCat,
  CmplRqVersETablExposureLimit.user_id_cr AS CreatedByUser,
  cast(CmplRqVersETablExposureLimit.datetime_cr as ehfnd_datetime_cr preserving type) AS CreationDateTime,
  CmplRqVersETablExposureLimit.user_id_ch AS LastChangedByUser,
  cast(CmplRqVersETablExposureLimit.datetime_ch as ehfnd_datetime_ch preserving type) AS LastChangeDateTime
FROM P_CmplRqVersETablExposureLimit AS CmplRqVersETablExposureLimit
LEFT OUTER JOIN R_CmRqVsEHSExpsrLmtAddlInfoTP AS _CmRqVsExposureLimitAddlInfo ON /* condition not available in parsed metadata */  -- association [0..*]
;