I_PPS_PurchasingDocumentType

DDL: I_PPS_PURCHASINGDOCUMENTTYPE Type: view_entity BASIC

Purchasing Document Type

I_PPS_PurchasingDocumentType is a Basic CDS View that provides data about "Purchasing Document Type" in SAP S/4HANA. It reads from 1 data source (I_PurchasingDocumentType) and exposes 4 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 (7)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Purchasing Document Type view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #CUSTOMIZING view
VDM.viewType #BASIC view

Fields (4)

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

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_PurchasingDocumentType.
-- 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.

CREATE VIEW I_PPS_PurchasingDocumentType 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..*]
;