R_ProdCmplncPhrsTP

DDL: R_PRODCMPLNCPHRSTP Type: view_entity TRANSACTIONAL Package: EHFND_RAP_PHRASE

TP-View for Phrase

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

Data Sources (1)

SourceAliasJoin Type
I_ProdCmplncPhrs I_ProdCmplncPhrs from

Associations (3)

CardinalityTargetAliasCondition
[1..1] I_ProdCmplncPhrsTxtDrftAltv _ProdCmplncPhrsTxtDrftAltv _ProdCmplncPhrsTxtDrftAltv.ProdCmplncPhrsUUID = $projection.ProdCmplncPhrsUUID
[1..1] P_ChmlCmplConstants _Constants _Constants.Dummy = _Constants.Dummy
[0..*] R_ProdCmplncPhrsTextTP _ProdCmplncPhrsTxt

Annotations (9)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label TP-View for Phrase view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.representativeKey ProdCmplncPhrsUUID view
Analytics.technicalName RPCPHRSTP view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
VDM.viewType #TRANSACTIONAL view

Fields (22)

KeyFieldSource TableSource FieldDescription
KEY ProdCmplncPhrsUUID ProdCmplncPhrsUUID Phrase UUID
ProdCmplncPhrsEnabledFldUUID ProdCmplncPhrsEnabledFldUUID Phrase-Enabled Field UUID
ContentProvider ContentProvider Content Provider
ContentProviderName ContentProvider Content Provider
ProdCmplncPhrs ProdCmplncPhrs Phrase ID
ProdCmplncPhrsCode ProdCmplncPhrsCode Phrase Code
ProdCmplncPhrsNote ProdCmplncPhrsNote Additional Notes
ProdCmplncPhrsIsHidden ProdCmplncPhrsIsHidden Hide Phrase
ProdCmplncPhrsIsHistorical ProdCmplncPhrsIsHistorical Is Historical
ProdCmplncPhrsSyncUUID ProdCmplncPhrsSyncUUID Phrase Synchronization UUID
ProdCmplncPhrsSemanticTag ProdCmplncPhrsSemanticTag
PhraseCreationDateTime Timestamp
PhraseLastChangeDateTime Timestamp
CreationDateTime CreationDateTime Timestamp
CreatedByUser CreatedByUser User Name
LastChangeDateTime LastChangeDateTime Timestamp
LastChangedByUser LastChangedByUser User Name
_CreatedByUser _CreatedByUser
_LastChangedByUser _LastChangedByUser
_ProdCmplncPhrsEnabledField _ProdCmplncPhrsEnabledField
_ProdCmplncPhrsTxt _ProdCmplncPhrsTxt
_ProdCmplncPhrsTxtDrftAltv _ProdCmplncPhrsTxtDrftAltv

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_ProdCmplncPhrsTP.
-- 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_ProdCmplncPhrsTP AS
SELECT
  ProdCmplncPhrsUUID,
  ProdCmplncPhrsEnabledFldUUID,
  ContentProvider,
  ContentProvider AS ContentProviderName,
  ProdCmplncPhrs,
  ProdCmplncPhrsCode,
  ProdCmplncPhrsNote,
  ProdCmplncPhrsIsHidden,
  ProdCmplncPhrsIsHistorical,
  ProdCmplncPhrsSyncUUID,
  ProdCmplncPhrsSemanticTag,
  cast( CreationDateTime as ehfnd_datetime_cr ) AS PhraseCreationDateTime,
  cast( LastChangeDateTime as ehfnd_datetime_ch ) AS PhraseLastChangeDateTime,
  CreationDateTime,
  CreatedByUser,
  LastChangeDateTime,
  LastChangedByUser
FROM I_ProdCmplncPhrs
LEFT OUTER JOIN I_ProdCmplncPhrsTxtDrftAltv AS _ProdCmplncPhrsTxtDrftAltv ON _ProdCmplncPhrsTxtDrftAltv.ProdCmplncPhrsUUID = ProdCmplncPhrsUUID  -- association [1..1]
LEFT OUTER JOIN P_ChmlCmplConstants AS _Constants ON _Constants.Dummy = _Constants.Dummy  -- association [1..1]
LEFT OUTER JOIN R_ProdCmplncPhrsTextTP AS _ProdCmplncPhrsTxt ON /* condition not available in parsed metadata */  -- association [0..*]
;