I_PPS_PurgDocTypeVH

DDL: I_PPS_PURGDOCTYPEVH SQL: IPPSDOCTYPVH Type: view_entity COMPOSITE

Purchasing Document Type

I_PPS_PurgDocTypeVH is a Composite CDS View that provides data about "Purchasing Document Type" in SAP S/4HANA. It reads from 1 data source (I_PurchasingDocumentType) and exposes 5 fields with key fields PurchasingDocumentCategory, PurchasingDocumentType. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_PurchasingDocumentType I_PurchasingDocumentType from

Associations (2)

CardinalityTargetAliasCondition
[0..*] I_PurchasingObjectCategoryText _DocCategoryText $projection.PurchasingDocumentCategory = _DocCategoryText.PurchasingDocumentCategory
[0..*] I_PurchasingDocumentTypeText _DocTypeText $projection.PurchasingDocumentCategory = _DocTypeText.PurchasingDocumentCategory and $projection.PurchasingDocumentType = _DocTypeText.PurchasingDocumentType

Annotations (10)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.representativeKey PurchasingDocumentType view
Metadata.ignorePropagatedAnnotations true view
EndUserText.label Purchasing Document Type view
ObjectModel.dataCategory #VALUE_HELP view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #META view
Search.searchable true view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY PurchasingDocumentCategory PurchasingDocumentCategory Doc. Category
KEY PurchasingDocumentType PurchasingDocumentType RFQ Type
PurchasingDocumentDescription
PurchasingDocumentTypeName
_Category _Category

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_PurgDocTypeVH.
-- 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: IPPSDOCTYPVH

CREATE VIEW I_PPS_PurgDocTypeVH AS
SELECT
  PurchasingDocumentCategory,
  PurchasingDocumentType,
  _DocCategoryText[1: Language = $session.system_language].PurchasingDocumentCategoryName AS PurchasingDocumentDescription,
  _DocTypeText[1: Language = $session.system_language].PurchasingDocumentTypeName AS PurchasingDocumentTypeName
FROM I_PurchasingDocumentType
LEFT OUTER JOIN I_PurchasingObjectCategoryText AS _DocCategoryText ON PurchasingDocumentCategory = _DocCategoryText.PurchasingDocumentCategory  -- association [0..*]
LEFT OUTER JOIN I_PurchasingDocumentTypeText AS _DocTypeText ON PurchasingDocumentCategory = _DocTypeText.PurchasingDocumentCategory AND PurchasingDocumentType = _DocTypeText.PurchasingDocumentType  -- association [0..*]
;