C_RelPurOrdStkTranspOrdDlvr

DDL: C_RELPURORDSTKTRANSPORDDLVR SQL: CRELPOSTODELV Type: view CONSUMPTION

Reltd Purchase Order/Stk Transport Order

C_RelPurOrdStkTranspOrdDlvr is a Consumption CDS View that provides data about "Reltd Purchase Order/Stk Transport Order" in SAP S/4HANA. It reads from 1 data source (I_PurchasingDocumentItem) and exposes 10 fields with key fields PurchaseOrder, PurchasingDocumentItem.

Data Sources (1)

SourceAliasJoin Type
I_PurchasingDocumentItem PurchasingDocumentItem from

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName CRELPOSTODELV view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #CONSUMPTION view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Reltd Purchase Order/Stk Transport Order view
Search.searchable true view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
UI.headerInfo.typeName Purchase Order view
UI.headerInfo.typeNamePlural Purchase Orders view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY PurchaseOrder I_PurchasingDocumentItem PurchasingDocument Purchasing Document
KEY PurchasingDocumentItem I_PurchasingDocumentItem PurchasingDocumentItem Purchasing Doc. Item
PurchaseOrderItem
PurchasingOrganization
PurchasingGroup
Plant I_PurchasingDocumentItem Plant Valuation Area
PurchasingDocumentCategory I_PurchasingDocumentItem PurchasingDocumentCategory Doc. Category
_PurchasingDocument I_PurchasingDocumentItem _PurchasingDocument
_PurgDocumentCategory I_PurchasingDocumentItem _PurgDocumentCategory
_PurchasingGroup

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 C_RelPurOrdStkTranspOrdDlvr.
-- 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: CRELPOSTODELV

CREATE VIEW C_RelPurOrdStkTranspOrdDlvr AS
SELECT
  PurchasingDocumentItem.PurchasingDocument AS PurchaseOrder,
  PurchasingDocumentItem.PurchasingDocumentItem AS PurchasingDocumentItem,
  cast(ltrim(PurchasingDocumentItem.PurchasingDocumentItem , '0') as ebelp) AS PurchaseOrderItem,
  PurchasingDocumentItem._PurchasingDocument.PurchasingOrganization AS PurchasingOrganization,
  PurchasingDocumentItem._PurchasingDocument.PurchasingGroup AS PurchasingGroup,
  PurchasingDocumentItem.Plant AS Plant,
  PurchasingDocumentItem.PurchasingDocumentCategory AS PurchasingDocumentCategory,
  PurchasingDocumentItem._PurchasingDocument AS _PurchasingDocument,
  PurchasingDocumentItem._PurgDocumentCategory AS _PurgDocumentCategory,
  PurchasingDocumentItem._PurchasingDocument._PurchasingGroup AS _PurchasingGroup
FROM I_PurchasingDocumentItem AS PurchasingDocumentItem
;