P_ServiceDocumentTextObject
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)
| Source | Alias | Join Type |
|---|---|---|
| stxh | stxh | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA