I_ServiceDocumentLongText
Service Transaction Long Texts
I_ServiceDocumentLongText is a Basic CDS View that provides data about "Service Transaction Long Texts" in SAP S/4HANA. It reads from 2 data sources (crms4d_text, crms4d_text) and exposes 51 fields with key field ServiceDocumentLongTextUUID. It has 6 associations to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| crms4d_text | ServiceDocumentText | from |
| crms4d_text | ServiceDocumentText | union_all |
Associations (6)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_TextObjectCategory | _TextObjectCategory | $projection.TextObjectCategory = _TextObjectCategory.TextObjectCategory |
| [1..1] | I_TextObjectType | _TextObjectType | $projection.TextObjectCategory = _TextObjectType.TextObjectCategory and $projection.TextObjectType = _TextObjectType.TextObjectType |
| [1..1] | I_Language | _Language | $projection.Language = _Language.Language |
| [1..1] | I_CustMgmtBusObjType | _ServiceObjType | $projection.ServiceObjectType = _ServiceObjType.BusinessObjectType |
| [1..1] | I_TextObjectCategory | _ReferenceTextObjectCategory | $projection.ReferenceTextObjectCategory = _ReferenceTextObjectCategory.TextObjectCategory |
| [1..1] | I_TextObjectType | _ReferenceTextObjectType | $projection.ReferenceTextObjectCategory = _ReferenceTextObjectType.TextObjectCategory and $projection.ReferenceTextObjectType = _ReferenceTextObjectType.TextObjectType |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Service Transaction Long Texts | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| VDM.viewType | #BASIC | view |
Fields (51)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ServiceDocumentLongTextUUID | crms4d_text | text_uuid | UUID |
| TextObjectCategory | crms4d_text | text_object | Text object | |
| TextObjectType | crms4d_text | text_id | Text Identification | |
| Language | crms4d_text | language | Report Text Language | |
| ServiceObjectType | crms4d_text | objtype_h | Trans. Cat. | |
| ServiceDocument | crms4d_text | object_id | Transaction ID | |
| ServiceDocumentItem | crms4d_text | number_int | Item Number in Doc. | |
| SrvcDocLongTextMimeType | crms4d_text | mimetype | MIMETYPE | |
| ServiceDocumentLongText | ReferenceServiceDocumentText | text_content | Text Content | |
| ReferenceTextObjectCategory | crms4d_text | ref_text_object | Reference text object | |
| ReferenceTextObjectType | crms4d_text | ref_text_id | Reference text ID | |
| ReferenceLongTextKey | crms4d_text | ref_text_name | Reference text name | |
| ReferenceServiceObjectType | crms4d_text | ref_objtype_h | Trans. Cat. | |
| ReferenceServiceDocument | crms4d_text | ref_object_id | Transaction ID | |
| ReferenceServiceDocumentItem | crms4d_text | ref_number_int | Item Number in Doc. | |
| SrvcDocLogTextIdentifier | crms4d_text | log_timestamp | Time Stamp | |
| SrvcDocLongTxtCreationDateTime | crms4d_text | created_at | Uploaded On | |
| SrvcDocLongTextCreatedByUser | crms4d_text | created_by | Version Created By | |
| SrvcDocLongTextChangedDateTime | crms4d_text | changed_at | Timestamp | |
| SrvcDocLongTextChangedByUser | crms4d_text | changed_by | User Name | |
| _TextObjectCategory | _TextObjectCategory | |||
| _TextObjectType | _TextObjectType | |||
| _Language | _Language | |||
| _ServiceObjType | _ServiceObjType | |||
| _ReferenceTextObjectCategory | _ReferenceTextObjectCategory | |||
| text_uuidasServiceDocumentLongTextUUID | ||||
| TextObjectCategory | crms4d_text | text_object | Text object | |
| TextObjectType | crms4d_text | text_id | Text Identification | |
| Language | crms4d_text | language | Report Text Language | |
| ServiceObjectType | crms4d_text | objtype_h | Trans. Cat. | |
| ServiceDocument | crms4d_text | object_id | Transaction ID | |
| ServiceDocumentItem | crms4d_text | number_int | Item Number in Doc. | |
| SrvcDocLongTextMimeType | crms4d_text | mimetype | MIMETYPE | |
| ServiceDocumentLongText | crms4d_text | text_content | Text Content | |
| ReferenceTextObjectCategory | crms4d_text | ref_text_object | Reference text object | |
| ReferenceTextObjectType | crms4d_text | ref_text_id | Reference text ID | |
| ReferenceLongTextKey | crms4d_text | ref_text_name | Reference text name | |
| ReferenceServiceObjectType | crms4d_text | ref_objtype_h | Trans. Cat. | |
| ReferenceServiceDocument | crms4d_text | ref_object_id | Transaction ID | |
| ReferenceServiceDocumentItem | crms4d_text | ref_number_int | Item Number in Doc. | |
| SrvcDocLogTextIdentifier | crms4d_text | log_timestamp | Time Stamp | |
| SrvcDocLongTxtCreationDateTime | crms4d_text | created_at | Uploaded On | |
| SrvcDocLongTextCreatedByUser | crms4d_text | created_by | Version Created By | |
| SrvcDocLongTextChangedDateTime | crms4d_text | changed_at | Timestamp | |
| SrvcDocLongTextChangedByUser | crms4d_text | changed_by | User Name | |
| _TextObjectCategory | _TextObjectCategory | |||
| _TextObjectType | _TextObjectType | |||
| _Language | _Language | |||
| _ServiceObjType | _ServiceObjType | |||
| _ReferenceTextObjectCategory | _ReferenceTextObjectCategory | |||
| _ReferenceTextObjectType | _ReferenceTextObjectType |
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 I_ServiceDocumentLongText.
-- 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 I_ServiceDocumentLongText AS
SELECT
ServiceDocumentText.text_uuid AS ServiceDocumentLongTextUUID,
ServiceDocumentText.text_object AS TextObjectCategory,
ServiceDocumentText.text_id AS TextObjectType,
ServiceDocumentText.language AS Language,
ServiceDocumentText.objtype_h AS ServiceObjectType,
ServiceDocumentText.object_id AS ServiceDocument,
ServiceDocumentText.number_int AS ServiceDocumentItem,
ServiceDocumentText.mimetype AS SrvcDocLongTextMimeType,
ReferenceServiceDocumentText.text_content AS ServiceDocumentLongText,
ServiceDocumentText.ref_text_object AS ReferenceTextObjectCategory,
ServiceDocumentText.ref_text_id AS ReferenceTextObjectType,
ServiceDocumentText.ref_text_name AS ReferenceLongTextKey,
ServiceDocumentText.ref_objtype_h AS ReferenceServiceObjectType,
ServiceDocumentText.ref_object_id AS ReferenceServiceDocument,
ServiceDocumentText.ref_number_int AS ReferenceServiceDocumentItem,
ServiceDocumentText.log_timestamp AS SrvcDocLogTextIdentifier,
ServiceDocumentText.created_at AS SrvcDocLongTxtCreationDateTime,
ServiceDocumentText.created_by AS SrvcDocLongTextCreatedByUser,
ServiceDocumentText.changed_at AS SrvcDocLongTextChangedDateTime,
ServiceDocumentText.changed_by AS SrvcDocLongTextChangedByUser
FROM crms4d_text AS ServiceDocumentText
LEFT OUTER JOIN I_TextObjectCategory AS _TextObjectCategory ON TextObjectCategory = _TextObjectCategory.TextObjectCategory -- association [1..1]
LEFT OUTER JOIN I_TextObjectType AS _TextObjectType ON TextObjectCategory = _TextObjectType.TextObjectCategory AND TextObjectType = _TextObjectType.TextObjectType -- association [1..1]
LEFT OUTER JOIN I_Language AS _Language ON Language = _Language.Language -- association [1..1]
LEFT OUTER JOIN I_CustMgmtBusObjType AS _ServiceObjType ON ServiceObjectType = _ServiceObjType.BusinessObjectType -- association [1..1]
LEFT OUTER JOIN I_TextObjectCategory AS _ReferenceTextObjectCategory ON ReferenceTextObjectCategory = _ReferenceTextObjectCategory.TextObjectCategory -- association [1..1]
LEFT OUTER JOIN I_TextObjectType AS _ReferenceTextObjectType ON ReferenceTextObjectCategory = _ReferenceTextObjectType.TextObjectCategory AND ReferenceTextObjectType = _ReferenceTextObjectType.TextObjectType -- association [1..1]
-- UNION ALL with additional select branch(es): crms4d_text
;
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