I_SrvcDocHeaderLongText

DDL: I_SRVCDOCHEADERLONGTEXT Type: view_entity BASIC

ESH Long text search

I_SrvcDocHeaderLongText is a Basic CDS View that provides data about "ESH Long text search" in SAP S/4HANA. It reads from 1 data source (crms4d_text) and exposes 11 fields with key field ServiceDocumentLongTextUUID. It has 4 associations to related views.

SAP Help Documentation

CategoryCommon CDS Views for Service
Purpose
This CDS view displays the long texts that are associated with the service transaction header. To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .

Prerequisites
Authorizations Users who want to use this CDS view don't need any special authorization. You can use the Display Restriction Types app to find out in which business catalogs these restriction types are included.

Structure
Important Fields Important fields in this view include the following: Field Name Description ServiceDocumentLongText Service Transaction Long Text SrvcDocLongTextMimeType Service Transaction Long Text Mime Type

View on SAP Help Portal →

Data Sources (1)

SourceAliasJoin Type
crms4d_text ServiceDocumentText from

Associations (4)

CardinalityTargetAliasCondition
[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

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label ESH Long text search 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 (11)

KeyFieldSource TableSource FieldDescription
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
ServiceDocumentLongText crms4d_text text_content Text Content
_TextObjectCategory _TextObjectCategory
_TextObjectType _TextObjectType
_Language _Language
_ServiceObjType _ServiceObjType

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_SrvcDocHeaderLongText.
-- 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_SrvcDocHeaderLongText 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.text_content AS ServiceDocumentLongText
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]
;