I_PPS_PurgHistDocumentCategory

DDL: I_PPS_PURGHISTDOCUMENTCATEGORY SQL: IPPSXPOPDC Type: view BASIC

Domain Values for Document Categories

I_PPS_PurgHistDocumentCategory is a Basic CDS View that provides data about "Domain Values for Document Categories" in SAP S/4HANA. It reads from 1 data source (dd07t) and exposes 7 fields with key fields PurchasingDocumentCategory, ABAPDomain, Language, DomainActivationState, DomainVersion.

Data Sources (1)

SourceAliasJoin Type
dd07t dd07t from

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName IPPSXPOPDC view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Domain Values for Document Categories view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #META view
VDM.viewType #BASIC view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY PurchasingDocumentCategory
KEY ABAPDomain domname Domain
KEY Language ddlanguage Lang.
KEY DomainActivationState as4local Activation State
KEY DomainVersion as4vers Version
KEY ValuePositionNumber valpos Value key
PPSPurgHistDocumentCategory

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_PPS_PurgHistDocumentCategory.
-- 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: IPPSXPOPDC

CREATE VIEW I_PPS_PurgHistDocumentCategory AS
SELECT
  '*' AS PurchasingDocumentCategory,
  domname AS ABAPDomain,
  ddlanguage AS Language,
  as4local AS DomainActivationState,
  as4vers AS DomainVersion,
  valpos AS ValuePositionNumber,
  cast ( right ( domvalue_l , 1 ) as bstyp preserving type ) AS PPSPurgHistDocumentCategory
FROM dd07t
;