I_PPS_PurOrdDocType

DDL: I_PPS_PURORDDOCTYPE Type: view_entity BASIC

PPS Relevant Purchase Order Types

I_PPS_PurOrdDocType is a Basic CDS View that provides data about "PPS Relevant Purchase Order Types" in SAP S/4HANA. It reads from 1 data source (I_PurchasingDocumentType) and exposes 6 fields with key fields PurchasingDocumentCategory, PurchaseOrderType. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_PurchasingDocumentType I_PurchasingDocumentType from

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_PurchasingDocumentTypeText _Text $projection.PurchasingDocumentCategory = _Text.PurchasingDocumentCategory and $projection.PurchasingDocumentType = _Text.PurchasingDocumentType and _Text.Language = $session.system_language

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label PPS Relevant Purchase Order Types view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #CUSTOMIZING view
VDM.viewType #BASIC view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY PurchasingDocumentCategory PurchasingDocumentCategory Doc. Category
KEY PurchaseOrderType RFQ Type
PurchasingDocumentType PurchasingDocumentType RFQ Type
PPSPurgDocTypeIsDrctOrdEnabled
PPSIsMultipleSuppliersEnabled PPSIsMultipleSuppliersEnabled
_Text _Text

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_PurOrdDocType.
-- 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_PurOrdDocType AS
SELECT
  PurchasingDocumentCategory,
  cast( PurchasingDocumentType as pps_e_pur_doc_type ) AS PurchaseOrderType,
  PurchasingDocumentType,
  cast ( PPSPurgDocTypeIsDrctOrdEnabled as pps_e_direct_order ) AS PPSPurgDocTypeIsDrctOrdEnabled,
  PPSIsMultipleSuppliersEnabled
FROM I_PurchasingDocumentType
LEFT OUTER JOIN I_PurchasingDocumentTypeText AS _Text ON PurchasingDocumentCategory = _Text.PurchasingDocumentCategory AND PurchasingDocumentType = _Text.PurchasingDocumentType AND _Text.Language = $session.system_language  -- association [1..1]
;