C_PurgDocStatusSubsetVH

DDL: C_PURGDOCSTATUSSUBSETVH SQL: CPURGDOCSTS Type: view CONSUMPTION

Purchasing Document Status

C_PurgDocStatusSubsetVH is a Consumption CDS View that provides data about "Purchasing Document Status" in SAP S/4HANA. It reads from 1 data source (I_PurgDocListStatus) and exposes 5 fields with key fields Status, PurchasingDocumentType.

Data Sources (1)

SourceAliasJoin Type
I_PurgDocListStatus I_PurgDocListStatus from

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName CPURGDOCSTS view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
Search.searchable true view
EndUserText.label Purchasing Document Status view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.representativeKey Status view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.dataCategory #VALUE_HELP view
VDM.viewType #CONSUMPTION view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY Status Status Workflow Status
KEY PurchasingDocumentType PurchasingDocumentType RFQ Type
StatusName StatusName Status
PurchasingDocumentTypeName Document Type
_DocType _DocType

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 C_PurgDocStatusSubsetVH.
-- 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: CPURGDOCSTS

CREATE VIEW C_PurgDocStatusSubsetVH AS
SELECT
  Status,
  PurchasingDocumentType,
  StatusName,
  _DocType._Text[1:Language = $session.system_language].PurchasingDocumentTypeName AS PurchasingDocumentTypeName
FROM I_PurgDocListStatus
;