R_CmplRqRsltDisclTP

DDL: R_CMPLRQRSLTDISCLTP Type: view_entity TRANSACTIONAL

Compliance Assessment Disclosure - TP

R_CmplRqRsltDisclTP is a Transactional CDS View that provides data about "Compliance Assessment Disclosure - TP" in SAP S/4HANA. It reads from 1 data source (I_CmplRqRslt) and exposes 32 fields with key field CmplRqRsltUUID. It has 6 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_CmplRqRslt I_CmplRqRslt from

Associations (6)

CardinalityTargetAliasCondition
[0..1] I_BusinessUserBasic _ReleasedByUser $projection.ReleasedByUser = _ReleasedByUser.BusinessPartner -- Text Views to resolve the compliance status into text
[0..1] I_CmplRqRsltMnlCmplncStsCalcVH _ManuallySetCmplncStsVH $projection.CmplRqRsltManualStatus = _ManuallySetCmplncStsVH.CmplRqRsltCmplncSts
[1..1] I_CmplRqRsltCalcdCmplncStsVH _CalculatedCmplncStsVH $projection.CmplRqRsltCalculatedStatus = _CalculatedCmplncStsVH.CmplRqRsltCmplncSts
[0..1] I_CmplncRqmtRsltCmplncStsVH _PreliminaryStsVH $projection.CmplRqRsltPrelimCmplncSts = _PreliminaryStsVH.CmplRqRsltCmplncSts
[0..1] I_CmplncRqmtRsltCmplncStsVH _ReleasedCmplncStsVH $projection.CmplRqRsltReldCmplncSts = _ReleasedCmplncStsVH.CmplRqRsltCmplncSts
[0..*] R_CmplRqRsltDeclnTP _CmplRqRsltDecln

Annotations (9)

NameValueLevelField
EndUserText.label Compliance Assessment Disclosure - TP view
AccessControl.authorizationCheck #MANDATORY view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
ObjectModel.representativeKey CmplRqRsltUUID view
ObjectModel.sapObjectNodeType.name ComplianceDisclosureAssessment view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view

Fields (32)

KeyFieldSource TableSource FieldDescription
KEY CmplRqRsltUUID CmplRqRsltUUID SDS Assessment
ChmlCmplncInfoUUID ChmlCmplncInfoUUID Chemical Compliance Information PP
CmplRqVersUUID CmplRqVersUUID NodeID
ComplianceRequirement ComplianceRequirement Compliance Requirement
CreationDateTime CreationDateTime Timestamp
CreatedByUser CreatedByUser User Name
LastChangeDateTime LastChangeDateTime Timestamp
LastChangedByUser LastChangedByUser User Name
CmplRqRsltProcessingStatus CmplRqRsltProcessingStatus Processing Status
ReleasedByUser ReleasedByUser Released By
CmplRqRsltProcessor Processor User Name
ValidityStartDateTime ValidityStartDateTime Valid From Timestamp
ValidityEndDateTime ValidityEndDateTime Valid To Timestamp
CmplRqRsltReldCmplncSts CmplRqRsltReldCmplncSts Released Compliance Status
CmplRqRsltCalculatedStatus CmplRqRsltCalculatedStatus Calculated Compliance Status
CmplRqRsltManualStatus CmplRqRsltManualStatus Transport Permission
CmplRqRsltPrelimCmplncSts CmplRqRsltPrelimCmplncSts Preliminary Compliance Status
CmplRqRsltStatusRemark CmplRqRsltStatusRemark Remarks
ChmlCompositionType ChmlCompositionType Legal Area
MaterialIsSold MaterialIsSold Is Sold
MaterialIsTransported MaterialIsTransported Is Transported
MaterialIsSourced MaterialIsSourced Is Purchased
MaterialIsProduced MaterialIsProduced Is Produced
_ChmlCmplncInfo _ChmlCmplncInfo
_CmplRqRsltProcessingStatus _CmplRqRsltProcessingStatus
_CmplRqVers _CmplRqVers
_ReleasedByUser _ReleasedByUser
_ManuallySetCmplncStsVH _ManuallySetCmplncStsVH
_CalculatedCmplncStsVH _CalculatedCmplncStsVH
_PreliminaryStsVH _PreliminaryStsVH
_ReleasedCmplncStsVH _ReleasedCmplncStsVH
_CmplRqRsltDecln _CmplRqRsltDecln

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_CmplRqRsltDisclTP.
-- 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_CmplRqRsltDisclTP AS
SELECT
  CmplRqRsltUUID,
  ChmlCmplncInfoUUID,
  CmplRqVersUUID,
  ComplianceRequirement,
  CreationDateTime,
  CreatedByUser,
  LastChangeDateTime,
  LastChangedByUser,
  CmplRqRsltProcessingStatus,
  ReleasedByUser,
  Processor AS CmplRqRsltProcessor,
  ValidityStartDateTime,
  ValidityEndDateTime,
  CmplRqRsltReldCmplncSts,
  CmplRqRsltCalculatedStatus,
  CmplRqRsltManualStatus,
  CmplRqRsltPrelimCmplncSts,
  CmplRqRsltStatusRemark,
  ChmlCompositionType,
  MaterialIsSold,
  MaterialIsTransported,
  MaterialIsSourced,
  MaterialIsProduced
FROM I_CmplRqRslt
LEFT OUTER JOIN I_BusinessUserBasic AS _ReleasedByUser ON ReleasedByUser = _ReleasedByUser.BusinessPartner  -- association [0..1]
LEFT OUTER JOIN I_CmplRqRsltMnlCmplncStsCalcVH AS _ManuallySetCmplncStsVH ON CmplRqRsltManualStatus = _ManuallySetCmplncStsVH.CmplRqRsltCmplncSts  -- association [0..1]
LEFT OUTER JOIN I_CmplRqRsltCalcdCmplncStsVH AS _CalculatedCmplncStsVH ON CmplRqRsltCalculatedStatus = _CalculatedCmplncStsVH.CmplRqRsltCmplncSts  -- association [1..1]
LEFT OUTER JOIN I_CmplncRqmtRsltCmplncStsVH AS _PreliminaryStsVH ON CmplRqRsltPrelimCmplncSts = _PreliminaryStsVH.CmplRqRsltCmplncSts  -- association [0..1]
LEFT OUTER JOIN I_CmplncRqmtRsltCmplncStsVH AS _ReleasedCmplncStsVH ON CmplRqRsltReldCmplncSts = _ReleasedCmplncStsVH.CmplRqRsltCmplncSts  -- association [0..1]
LEFT OUTER JOIN R_CmplRqRsltDeclnTP AS _CmplRqRsltDecln ON /* condition not available in parsed metadata */  -- association [0..*]
;