R_ProdCmplncPhrsEnabledFieldTP

DDL: R_PRODCMPLNCPHRSENABLEDFIELDTP Type: view_entity TRANSACTIONAL Package: EHFND_RAP_PHRASE

TP-View for Phrase Enabled Fields

R_ProdCmplncPhrsEnabledFieldTP is a Transactional CDS View that provides data about "TP-View for Phrase Enabled Fields" in SAP S/4HANA. It reads from 1 data source (I_ProdCmplncPhrsEnabledField) and exposes 19 fields with key field ProdCmplncPhrsEnabledFldUUID. It has 4 associations to related views. Part of development package EHFND_RAP_PHRASE.

Data Sources (1)

SourceAliasJoin Type
I_ProdCmplncPhrsEnabledField I_ProdCmplncPhrsEnabledField from

Associations (4)

CardinalityTargetAliasCondition
[0..1] I_PCPhrsEnbldFldDtaElmnt _PhrsEnbldFldDtaElmnt _PhrsEnbldFldDtaElmnt.CmplRqVersUUID = $projection.CmplRqVersUUID and _PhrsEnbldFldDtaElmnt.ProdCmplncPhrsEnabledField = $projection.ProdCmplncPhrsEnabledField
[1..1] I_Indicatortext _PhrsEnbldFldIsExtnblText _PhrsEnbldFldIsExtnblText.IndicatorValue = $projection.ProdCmplncPhrsEnbldFldIsExtnbl and _PhrsEnbldFldIsExtnblText.Language = $session.system_language
[1..1] P_ChmlCmplConstants _Constants _Constants.Dummy = _Constants.Dummy
[0..*] R_ProdCmplncPhrsTP _ProdCmplncPhrs

Annotations (9)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label TP-View for Phrase Enabled Fields view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.sapObjectNodeType.name ProdCmplncPhrsEnabledField view
ObjectModel.representativeKey ProdCmplncPhrsEnabledFldUUID view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
VDM.viewType #TRANSACTIONAL view

Fields (19)

KeyFieldSource TableSource FieldDescription
KEY ProdCmplncPhrsEnabledFldUUID ProdCmplncPhrsEnabledFldUUID Phrase-Enabled Field UUID
ProdCmplncPhrsEnabledField ProdCmplncPhrsEnabledField Phrase-Enabled Field
CmplRqVersUUID CmplRqVersUUID NodeID
ProdCmplncPhrsEnbldFldIsInactv _ProdCmplncPhrsEnbldFldRpstry ProdCmplncPhrsEnbldFldIsInactv Inactive
PhrsEnbldFldCreationDateTime Timestamp
PhrsEnbldFldLastChangeDateTime Timestamp
CreationDateTime CreationDateTime Timestamp
CreatedByUser CreatedByUser User Name
LastChangeDateTime LastChangeDateTime Timestamp
LastChangedByUser LastChangedByUser User Name
CmplRqPattern CmplRqPattern Compliance Pattern
CmplRqApplicationComponent CmplRqApplicationComponent Solution Area
_CreatedByUser _CreatedByUser
_LastChangedByUser _LastChangedByUser
_CmplRqVers _CmplRqVers
_PhrsEnbldFldDtaElmnt _PhrsEnbldFldDtaElmnt
_ProdCmplncPhrs _ProdCmplncPhrs
_ProdCmplncPhrsEnbldFldRpstry _ProdCmplncPhrsEnbldFldRpstry
_PhrsEnbldFldIsExtnblText _PhrsEnbldFldIsExtnblText

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_ProdCmplncPhrsEnabledFieldTP.
-- 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_ProdCmplncPhrsEnabledFieldTP AS
SELECT
  ProdCmplncPhrsEnabledFldUUID,
  ProdCmplncPhrsEnabledField,
  CmplRqVersUUID,
  _ProdCmplncPhrsEnbldFldRpstry.ProdCmplncPhrsEnbldFldIsInactv AS ProdCmplncPhrsEnbldFldIsInactv,
  cast( CreationDateTime as ehfnd_datetime_cr ) AS PhrsEnbldFldCreationDateTime,
  cast( LastChangeDateTime as ehfnd_datetime_ch ) AS PhrsEnbldFldLastChangeDateTime,
  CreationDateTime,
  CreatedByUser,
  LastChangeDateTime,
  LastChangedByUser,
  CmplRqPattern,
  CmplRqApplicationComponent
FROM I_ProdCmplncPhrsEnabledField
LEFT OUTER JOIN I_PCPhrsEnbldFldDtaElmnt AS _PhrsEnbldFldDtaElmnt ON _PhrsEnbldFldDtaElmnt.CmplRqVersUUID = CmplRqVersUUID AND _PhrsEnbldFldDtaElmnt.ProdCmplncPhrsEnabledField = ProdCmplncPhrsEnabledField  -- association [0..1]
LEFT OUTER JOIN I_Indicatortext AS _PhrsEnbldFldIsExtnblText ON _PhrsEnbldFldIsExtnblText.IndicatorValue = ProdCmplncPhrsEnbldFldIsExtnbl AND _PhrsEnbldFldIsExtnblText.Language = $session.system_language  -- association [1..1]
LEFT OUTER JOIN P_ChmlCmplConstants AS _Constants ON _Constants.Dummy = _Constants.Dummy  -- association [1..1]
LEFT OUTER JOIN R_ProdCmplncPhrsTP AS _ProdCmplncPhrs ON /* condition not available in parsed metadata */  -- association [0..*]
;