R_CmplRqEnableForSVTTP

DDL: R_CMPLRQENABLEFORSVTTP Type: view_entity TRANSACTIONAL Package: EHPMA_SVT_RAP_ENABLE_CR

Cmplnc Requirement Enable for SVT - TP

R_CmplRqEnableForSVTTP is a Transactional CDS View that provides data about "Cmplnc Requirement Enable for SVT - TP" in SAP S/4HANA. It reads from 1 data source (I_CmplRqEnableForSVT) and exposes 19 fields with key field ProdCmplncEnblSVTForCmplRqUUID. It has 2 associations to related views. Part of development package EHPMA_SVT_RAP_ENABLE_CR.

Data Sources (1)

SourceAliasJoin Type
I_CmplRqEnableForSVT I_CmplRqEnableForSVT from

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_CmplRqEnableForSVTStatusTxt _CmplRqEnableForSVTStatusTxt $projection.SVTEnabledForCmplRqStatus = _CmplRqEnableForSVTStatusTxt.SVTEnabledForCmplRqStatus and _CmplRqEnableForSVTStatusTxt.Language = $session.system_language
[1..1] I_SVTBusinessProcess _BusinessProcess $projection.SVTBusinessProcessScenario = _BusinessProcess.SVTBusinessProcess

Annotations (9)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Cmplnc Requirement Enable for SVT - TP view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.sapObjectNodeType.name SVTEnablement view
ObjectModel.representativeKey ProdCmplncEnblSVTForCmplRqUUID view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
VDM.viewType #TRANSACTIONAL view

Fields (19)

KeyFieldSource TableSource FieldDescription
KEY ProdCmplncEnblSVTForCmplRqUUID ProdCmplncEnblSVTForCmplRqUUID SVT CR uuid
CmplRqUUID CmplRqUUID Compl Req.
ComplianceRequirement ComplianceRequirement Compliance Requirement
SVTBusinessProcessScenario SVTBusinessProcessScenario Scenario
SVTEnabledForCmplRqStatus SVTEnabledForCmplRqStatus SVT CR Status
SVTEnabledForCmplRqStatusText _CmplRqEnableForSVTStatusTxt SVTEnabledForCmplRqStatusText
SVTEnabledForCmplRqDateTime SVTEnabledForCmplRqDateTime CR Enabled Datetime
SVTEnabledForCmplRqBy SVTEnabledForCmplRqBy CR Enabled By
SVTDisabledForCmplRqDateTime SVTDisabledForCmplRqDateTime CR Disabled Datetime
SVTDisabledForCmplRqBy SVTDisabledForCmplRqBy CR Disabled By
SVTInitialTrackingDate SVTInitialTrackingDate Initial Tracking Date
SVTLastTrackingDateTime SVTLastTrackingDateTime CR Last Tracking DateTime
SVTIsEnbldForDeleteRetracking SVTIsEnbldForDeleteRetracking Select
SVTLastTrackingDate CR Last Tracking DateTime
CreationDateTime CreationDateTime Timestamp
CreatedByUser CreatedByUser User Name
LastChangeDateTime LastChangeDateTime Timestamp
LastChangedByUser LastChangedByUser User Name
_BusinessProcess _BusinessProcess

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_CmplRqEnableForSVTTP.
-- 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_CmplRqEnableForSVTTP AS
SELECT
  ProdCmplncEnblSVTForCmplRqUUID,
  CmplRqUUID,
  ComplianceRequirement,
  SVTBusinessProcessScenario,
  SVTEnabledForCmplRqStatus,
  _CmplRqEnableForSVTStatusTxt.SVTEnabledForCmplRqStatusText AS SVTEnabledForCmplRqStatusText,
  SVTEnabledForCmplRqDateTime,
  SVTEnabledForCmplRqBy,
  SVTDisabledForCmplRqDateTime,
  SVTDisabledForCmplRqBy,
  SVTInitialTrackingDate,
  SVTLastTrackingDateTime,
  SVTIsEnbldForDeleteRetracking,
  cast(substring(cast(SVTLastTrackingDateTime as abap.char(32)),1,8) as abap.dats) AS SVTLastTrackingDate,
  CreationDateTime,
  CreatedByUser,
  LastChangeDateTime,
  LastChangedByUser
FROM I_CmplRqEnableForSVT
LEFT OUTER JOIN I_CmplRqEnableForSVTStatusTxt AS _CmplRqEnableForSVTStatusTxt ON SVTEnabledForCmplRqStatus = _CmplRqEnableForSVTStatusTxt.SVTEnabledForCmplRqStatus AND _CmplRqEnableForSVTStatusTxt.Language = $session.system_language  -- association [1..1]
LEFT OUTER JOIN I_SVTBusinessProcess AS _BusinessProcess ON SVTBusinessProcessScenario = _BusinessProcess.SVTBusinessProcess  -- association [1..1]
;