I_DocInfoRecdStatusText
Document Status Description
I_DocInfoRecdStatusText is a Basic CDS View that provides data about "Document Status Description" in SAP S/4HANA. It reads from 2 data sources (tdws, tdwst) and exposes 7 fields with key fields DocumentType, InternalDocumentStatus, Language. It has 2 associations to related views.
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_DocInfoRecdDocumentType | _DocumentType | $projection.DocumentType = _DocumentType.DocumentType |
| [1..1] | I_Language | _Language | $projection.Language = _Language.Language |
Annotations (17)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ICVDOCSTATUSTEXT | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ObjectModel.dataCategory | #TEXT | view | |
| VDM.viewType | #BASIC | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ClientHandling.type | #INHERITED | view | |
| ObjectModel.representativeKey | InternalDocumentStatus | view | |
| Analytics.dataExtraction.enabled | true | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| EndUserText.label | Document Status Description | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| VDM.lifecycle.status | #DEPRECATED | view | |
| VDM.lifecycle.successor | I_DocumentInfoRecordDocStatusT | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
@AbapCatalog.sqlViewName: 'ICVDOCSTATUSTEXT'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ObjectModel.dataCategory: #TEXT
@VDM.viewType: #BASIC
@ClientHandling.algorithm: #SESSION_VARIABLE
@ClientHandling.type : #INHERITED
@ObjectModel.representativeKey: 'InternalDocumentStatus'
@Analytics: { dataExtraction.enabled: true }
@ObjectModel.usageType: { serviceQuality: #A, sizeCategory: #S, dataClass: #CUSTOMIZING }
@EndUserText.label: 'Document Status Description'
@VDM.lifecycle: {
contract: {
type: #SAP_INTERNAL_API
},
status: #DEPRECATED,
successor: 'I_DocumentInfoRecordDocStatusT'
}
@Metadata.ignorePropagatedAnnotations:true
define view I_DocInfoRecdStatusText
as select from tdws as status
left outer join tdwst as status_text on status.dokst = status_text.dokst
--Get Document Type Association
association [1..1] to I_DocInfoRecdDocumentType as _DocumentType on $projection.DocumentType = _DocumentType.DocumentType
association [1..1] to I_Language as _Language on $projection.Language = _Language.Language
{
@ObjectModel.foreignKey.association: '_DocumentType'
key status.dokar as DocumentType,
@ObjectModel.text.element: 'DocumentStatusName'
key status.dokst as InternalDocumentStatus,
@Semantics.language: true
@ObjectModel.foreignKey.association: '_Language'
key status_text.cvlang as Language,
status_text.stabk as ExternalDocumentStatus,
@Semantics.text: true
status_text.dostx as DocumentStatusName,
//Associations
_Language,
_DocumentType
}
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