I_DocInfoRecdStatusText

DDL: I_DOCINFORECDSTATUSTEXT SQL: ICVDOCSTATUSTEXT Type: view BASIC

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.

Data Sources (2)

SourceAliasJoin Type
tdws status from
tdwst status_text left_outer

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_DocInfoRecdDocumentType _DocumentType $projection.DocumentType = _DocumentType.DocumentType
[1..1] I_Language _Language $projection.Language = _Language.Language

Annotations (17)

NameValueLevelField
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

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY DocumentType tdws dokar
KEY InternalDocumentStatus tdws dokst
KEY Language tdwst cvlang
ExternalDocumentStatus tdwst stabk
DocumentStatusName tdwst dostx
_Language _Language
_DocumentType _DocumentType
@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
}