I_EHSCmplncRqmtIdHex

DDL: I_EHSCMPLNCRQMTIDHEX SQL: ICREQIDHEX Type: view COMPOSITE

Compliance Requirement Version Hex UUID

I_EHSCmplncRqmtIdHex is a Composite CDS View that provides data about "Compliance Requirement Version Hex UUID" in SAP S/4HANA. It reads from 2 data sources (I_CmplRqVersEnhanced, P_CmplncRqmtNewestRev) and exposes 9 fields with key fields CmplRqUUID, Country.

Data Sources (2)

SourceAliasJoin Type
I_CmplRqVersEnhanced _CmplRqVersEnhancedCurrent left_outer
P_CmplncRqmtNewestRev _Newest inner

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName ICREQIDHEX view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Compliance Requirement Version Hex UUID view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.https dataClass view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.serviceQuality #C view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY CmplRqUUID _CmplRqVersEnhanced CmplRqUUID Compl Req.
KEY Country
CmplRqVersName
CmplRqUUIDHex
EffectiveDate _CmplRqVersEnhanced EffectiveDate Effective Date
OutputLengthValue
CmplRqType _CmplRqVersEnhanced CmplRqType Type
CmplRqApplicationComponent _CmplRqVersEnhanced CmplRqApplicationComponent Solution Area
_CmplRqVersCrTypeText _CmplRqVersEnhanced _CmplRqVersCrTypeText

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_EHSCmplncRqmtIdHex.
-- 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: ICREQIDHEX

CREATE VIEW I_EHSCmplncRqmtIdHex AS
SELECT
  _CmplRqVersEnhanced.CmplRqUUID AS CmplRqUUID,
  case when _CmplRqVersEnhancedCurrent._CmplRqVersAppltyArea.Country is null then _CmplRqVersEnhanced._CmplRqVersAppltyArea.Country else _CmplRqVersEnhancedCurrent._CmplRqVersAppltyArea.Country end AS Country,
  case when _CmplRqVersEnhancedCurrent.CmplRqVersName is null then _CmplRqVersEnhanced.CmplRqVersName else _CmplRqVersEnhancedCurrent.CmplRqVersName end AS CmplRqVersName,
  bintohex( _CmplRqVersEnhanced.CmplRqUUID) AS CmplRqUUIDHex,
  _CmplRqVersEnhanced.EffectiveDate AS EffectiveDate,
  length(_CmplRqVersEnhancedCurrent.CmplRqVersName) AS OutputLengthValue,
  _CmplRqVersEnhanced.CmplRqType AS CmplRqType,
  _CmplRqVersEnhanced.CmplRqApplicationComponent AS CmplRqApplicationComponent,
  _CmplRqVersEnhanced._CmplRqVersCrTypeText AS _CmplRqVersCrTypeText
INNER JOIN P_CmplncRqmtNewestRev AS _Newest ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_CmplRqVersEnhanced AS _CmplRqVersEnhancedCurrent ON /* join condition not captured in parsed metadata */
;