I_Textfileheader
Longtexts
I_Textfileheader is a Basic CDS View that provides data about "Longtexts" in SAP S/4HANA. It reads from 1 data source (stxh) and exposes 10 fields with key fields TechnicalObjectType, ArchitecturalObjectNumber, DocumentText, Language. It has 2 associations to related views. Part of development package VDM_MM_PUR.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| stxh | stxh | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_Language | _Language | $projection.Language = _Language.Language |
| [1..1] | I_TextObjectPlainLongText | _LongText | $projection.TechnicalObjectType = _LongText.TextObjectCategory and $projection.ArchitecturalObjectNumber = _LongText.TextObjectKey and $projection.DocumentText = _LongText.TextObjectType and $projection.Language = _LongText.Language |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ITEXTFILEHDR | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Longtexts | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view |
Fields (10)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | TechnicalObjectType | tdobject | Texts: Application Object | |
| KEY | ArchitecturalObjectNumber | tdname | Name | |
| KEY | DocumentText | tdid | Text ID | |
| KEY | Language | tdspras | Language | |
| _Language | _Language | |||
| CreatedByUser | tdfuser | |||
| PurReqnItemLongtext | _LongText | PlainLongText | ||
| FixedIndicator | ||||
| DisplayModeOfTextTypeInPurg | ||||
| TextIsAdoptedFromReference |
@AbapCatalog.sqlViewName: 'ITEXTFILEHDR'
@ClientHandling.algorithm: #SESSION_VARIABLE
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Longtexts'
@VDM.viewType: #BASIC
@ObjectModel.usageType.serviceQuality: #B
@ObjectModel.usageType.sizeCategory: #L
@ObjectModel.usageType.dataClass: #CUSTOMIZING
@VDM.lifecycle.contract.type: #SAP_INTERNAL_API
define view I_Textfileheader
as select from stxh
association [0..1] to I_Language as _Language on $projection.Language = _Language.Language
association [1..1] to I_TextObjectPlainLongText as _LongText on $projection.TechnicalObjectType = _LongText.TextObjectCategory
and $projection.ArchitecturalObjectNumber = _LongText.TextObjectKey
and $projection.DocumentText = _LongText.TextObjectType
and $projection.Language = _LongText.Language
{
@EndUserText.label: 'Texts: Application Object'
key tdobject as TechnicalObjectType,
@EndUserText.label: 'Name'
key tdname as ArchitecturalObjectNumber,
@EndUserText.label: 'Text ID'
key tdid as DocumentText,
@Semantics.language: true
@ObjectModel.foreignKey.association: '_Language'
@EndUserText.label: 'Language'
key tdspras as Language,
_Language as _Language,
tdfuser as CreatedByUser,
_LongText.PlainLongText as PurReqnItemLongtext,
cast('' as fixie) as FixedIndicator,
cast('' as mmpur_text_displaymode) as DisplayModeOfTextTypeInPurg,
cast('' as mmpur_t_text_isadopted) as TextIsAdoptedFromReference
}
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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