Deprecated SAP_INTERNAL_API
This CDS view is deprecated in S/4HANA. Use I_DocumentInfoRecordDocStatusT instead. View all deprecated CDS views →

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 SW Document Type
KEY InternalDocumentStatus tdws dokst Document Status
KEY Language tdwst cvlang Language
ExternalDocumentStatus tdwst stabk Status
DocumentStatusName tdwst dostx Status Text
_Language _Language
_DocumentType _DocumentType

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_DocInfoRecdStatusText.
-- 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.
-- SQL view name: ICVDOCSTATUSTEXT

CREATE VIEW I_DocInfoRecdStatusText AS
SELECT
  status.dokar AS DocumentType,
  status.dokst AS InternalDocumentStatus,
  status_text.cvlang AS Language,
  status_text.stabk AS ExternalDocumentStatus,
  status_text.dostx AS DocumentStatusName
FROM tdws AS status
LEFT OUTER JOIN tdwst AS status_text ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_DocInfoRecdDocumentType AS _DocumentType ON DocumentType = _DocumentType.DocumentType  -- association [1..1]
LEFT OUTER JOIN I_Language AS _Language ON Language = _Language.Language  -- association [1..1]
;