I_PPS_PurchaseReqnDocumentType

DDL: I_PPS_PURCHASEREQNDOCUMENTTYPE Type: view_entity BASIC

Purchase Requisition Document Type

I_PPS_PurchaseReqnDocumentType is a Basic CDS View that provides data about "Purchase Requisition Document Type" in SAP S/4HANA. It reads from 1 data source (I_PurchasingDocumentType) and exposes 4 fields with key fields PurchasingDocumentCategory, PurchaseRequisitionType. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_PurchasingDocumentType I_PurchasingDocumentType from

Associations (1)

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

Annotations (8)

NameValueLevelField
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
EndUserText.label Purchase Requisition Document Type view
Metadata.ignorePropagatedAnnotations true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.usageType.serviceQuality #A 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 PurchaseRequisitionType PurchasingDocumentType RFQ Type
PPSPurgDocumentTypeIsDefault PPSPurgDocumentTypeIsDefault
_TextDoc _TextDocType

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_PurchaseReqnDocumentType.
-- 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_PurchaseReqnDocumentType AS
SELECT
  PurchasingDocumentCategory,
  PurchasingDocumentType AS PurchaseRequisitionType,
  PPSPurgDocumentTypeIsDefault
FROM I_PurchasingDocumentType
LEFT OUTER JOIN I_PurchasingDocumentTypeText AS _TextDocType ON _TextDocType.PurchasingDocumentCategory = PurchasingDocumentCategory AND _TextDocType.PurchasingDocumentType = PurchaseRequisitionType AND _TextDocType.Language = $session.system_language  -- association [1..1]
;