P_ServiceDocumentTextObject

DDL: P_SERVICEDOCUMENTTEXTOBJECT Type: view_entity BASIC Package: CRMS4_SERV_COMMON

Server Document Text Object

P_ServiceDocumentTextObject is a Basic CDS View that provides data about "Server Document Text Object" in SAP S/4HANA. It reads from 1 data source (stxh) and exposes 14 fields with key fields TextObjectKey, TextObjectType, TextObjectCategory, Language. It has 3 associations to related views. Part of development package CRMS4_SERV_COMMON.

Data Sources (1)

SourceAliasJoin Type
stxh stxh from

Associations (3)

CardinalityTargetAliasCondition
[0..1] I_TextObjectType _TextObjectType $projection.TextObjectType = _TextObjectType.TextObjectType and $projection.TextObjectCategory = _TextObjectType.TextObjectCategory
[0..1] I_TextObjectCategory _TextObjectCategory $projection.TextObjectCategory = _TextObjectCategory.TextObjectCategory
[0..1] I_Language _Language $projection.Language = _Language.Language

Annotations (7)

NameValueLevelField
ObjectModel.representativeKey TextObjectKey view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
AccessControl.authorizationCheck #CHECK view
VDM.viewType #BASIC view
VDM.private true view

Fields (14)

KeyFieldSource TableSource FieldDescription
KEY TextObjectKey stxh tdname Text Name
KEY TextObjectType stxh tdid Text ID Header
KEY TextObjectCategory stxh tdobject Text object
KEY Language stxh tdspras Language
ServiceDocumentUUID _ServiceDocument ServiceDocumentUUID Object GUID
CreatedByUser stxh tdfuser Created By
CreationDate stxh tdfdate Date
CreationTime stxh tdftime Time
LastChangedByUser stxh tdluser Changed by
LastChangeDate stxh tdldate Date
LastChangeTime stxh tdltime Time
_TextObjectType _TextObjectType
_TextObjectCategory _TextObjectCategory
_Language _Language

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 P_ServiceDocumentTextObject.
-- 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 P_ServiceDocumentTextObject AS
SELECT
  stxh.tdname AS TextObjectKey,
  stxh.tdid AS TextObjectType,
  stxh.tdobject AS TextObjectCategory,
  stxh.tdspras AS Language,
  _ServiceDocument.ServiceDocumentUUID AS ServiceDocumentUUID,
  stxh.tdfuser AS CreatedByUser,
  stxh.tdfdate AS CreationDate,
  stxh.tdftime AS CreationTime,
  stxh.tdluser AS LastChangedByUser,
  stxh.tdldate AS LastChangeDate,
  stxh.tdltime AS LastChangeTime
FROM stxh
LEFT OUTER JOIN I_TextObjectType AS _TextObjectType ON TextObjectType = _TextObjectType.TextObjectType AND TextObjectCategory = _TextObjectType.TextObjectCategory  -- association [0..1]
LEFT OUTER JOIN I_TextObjectCategory AS _TextObjectCategory ON TextObjectCategory = _TextObjectCategory.TextObjectCategory  -- association [0..1]
LEFT OUTER JOIN I_Language AS _Language ON Language = _Language.Language  -- association [0..1]
;