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

I_DocInfoRecdDocumentStatus

DDL: I_DOCINFORECDDOCUMENTSTATUS SQL: ICVDOCUMENSTATUS Type: view BASIC

Document Status

I_DocInfoRecdDocumentStatus is a Basic CDS View (Dimension) that provides data about "Document Status" 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 (16)

NameValueLevelField
AbapCatalog.sqlViewName ICVDOCUMENSTATUS view
AbapCatalog.compiler.compareFilter true view
EndUserText.label Document Status view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.allowExtensions true view
Analytics.dataCategory #DIMENSION view
Analytics.dataExtraction.enabled true view
VDM.viewType #BASIC view
ObjectModel.representativeKey InternalDocumentStatus view
AccessControl.authorizationCheck #CHECK view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #CUSTOMIZING view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
VDM.lifecycle.status #DEPRECATED view
VDM.lifecycle.successor I_DocumentInfoRecordDocStatus view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY DocumentType tdws dokar SW Document Type
KEY InternalDocumentStatus tdws dokst Internal Document Status
KEY Language tdwst cvlang Language
ExternalDocumentStatus tdwst stabk External Document Status
DocumentStatusName tdwst dostx Document Status Description
_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_DocInfoRecdDocumentStatus.
-- 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: ICVDOCUMENSTATUS

CREATE VIEW I_DocInfoRecdDocumentStatus 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]
;