A_ComplianceRequirementVersion

DDL: A_COMPLIANCEREQUIREMENTVERSION Type: view_entity CONSUMPTION Package: EHFND_API_ODATA_COMPLIANCE_REQ

Compliance Requirement Version

A_ComplianceRequirementVersion is a Consumption CDS View that provides data about "Compliance Requirement Version" in SAP S/4HANA. It reads from 1 data source (I_CmplRqVersEnhanced) and exposes 12 fields with key field CmplRqVersUUID. It has 1 association to related views. It is exposed through 2 OData services (API_COMPLIANCEREQVERS, ASQL_F8925). Part of development package EHFND_API_ODATA_COMPLIANCE_REQ.

Data Sources (1)

SourceAliasJoin Type
I_CmplRqVersEnhanced I_CmplRqVersEnhanced from

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_CmplRqVersActvtn _CmplRqVersActvtn $projection.CmplRqVersUUID = _CmplRqVersActvtn.CmplRqVersUUID

Annotations (10)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Compliance Requirement Version view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.sapObjectNodeType.name ComplianceRequirementVersion view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #C view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
VDM.viewType #CONSUMPTION view
OData.entityType.name ComplianceRequirementVersion_Type view

OData Services (2)

ServiceBindingVersionContractRelease
API_COMPLIANCEREQVERS API_COMPLIANCEREQVERS V4 C2 C1
ASQL_F8925 ASQL_F8925 C2 NOT_RELEASED

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY CmplRqVersUUID CmplRqVersUUID NodeID
CmplRqVers CmplRqVers Compliance Requirement
ComplianceRequirement ComplianceRequirement Compliance Requirement
CmplRqVersName CmplRqVersName Compliance Requirement Name
EffectiveDate EffectiveDate Effective Date
CmplRqApplicationComponent CmplRqApplicationComponent Solution Area
CmplRqDomain CmplRqDomain Requirement Domain
CmplRqPattern CmplRqPattern Compliance Pattern
CmplRqVersTopic CmplRqVersTopic
CmplRqVersActivationStatus _CmplRqVersActvtn CmplRqVersActivationStatus Activation Status
ProdCmplncLegalArea
_CmplRqVersActvtn _CmplRqVersActvtn

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 A_ComplianceRequirementVersion.
-- 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 A_ComplianceRequirementVersion AS
SELECT
  CmplRqVersUUID,
  CmplRqVers,
  ComplianceRequirement,
  CmplRqVersName,
  EffectiveDate,
  CmplRqApplicationComponent,
  CmplRqDomain,
  CmplRqPattern,
  CmplRqVersTopic,
  _CmplRqVersActvtn.CmplRqVersActivationStatus AS CmplRqVersActivationStatus,
  cast ( _CmplRqVersActvtn.ChmlCompositionType as ehfnd_legal_area ) AS ProdCmplncLegalArea
FROM I_CmplRqVersEnhanced
LEFT OUTER JOIN I_CmplRqVersActvtn AS _CmplRqVersActvtn ON CmplRqVersUUID = _CmplRqVersActvtn.CmplRqVersUUID  -- association [1..1]
;