A_PurchaseOrderItemReturn_2

DDL: A_PURCHASEORDERITEMRETURN_2 Type: view_entity CONSUMPTION

Return Purchase Order Item

A_PurchaseOrderItemReturn_2 is a Consumption CDS View that provides data about "Return Purchase Order Item" in SAP S/4HANA. It reads from 1 data source (R_PurchaseOrderItemReturnTP) and exposes 12 fields with key fields PurchaseOrder, PurchaseOrderItem.

Data Sources (1)

SourceAliasJoin Type
R_PurchaseOrderItemReturnTP R_PurchaseOrderItemReturnTP projection

Annotations (10)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #NOT_REQUIRED view
EndUserText.label Return Purchase Order Item view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
VDM.viewType #CONSUMPTION view
OData.entityType.name PurchaseOrderItemReturn_Type view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY PurchaseOrder PurchaseOrder Purchasing Document
KEY PurchaseOrderItem PurchaseOrderItem Purchasing Document Item
PurchaseOrderItemUniqueID PurchaseOrderItemUniqueID Document Item
PurchaseOrderType PurchaseOrderType PO Type
PurchasingOrganization PurchasingOrganization Purchasing Organization
PurchasingGroup PurchasingGroup Purchasing Group
Plant Plant Valuation Area
ReturnsFollowUpActivity ReturnsFollowUpActivity
ItemIsRejectedBySupplier ItemIsRejectedBySupplier Rejection Ind.
SupplierRetMatlAuthzn SupplierRetMatlAuthzn
SuplrRetMatlAuthznIsRequired SuplrRetMatlAuthznIsRequired
ReplacementMaterialIsRequested ReplacementMaterialIsRequested

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 A_PurchaseOrderItemReturn_2.
-- 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 A_PurchaseOrderItemReturn_2 AS
SELECT
  PurchaseOrder,
  PurchaseOrderItem,
  PurchaseOrderItemUniqueID,
  PurchaseOrderType,
  PurchasingOrganization,
  PurchasingGroup,
  Plant,
  ReturnsFollowUpActivity,
  ItemIsRejectedBySupplier,
  SupplierRetMatlAuthzn,
  SuplrRetMatlAuthznIsRequired,
  ReplacementMaterialIsRequested
FROM R_PurchaseOrderItemReturnTP
;