A_DfltStkSgmtPurchaseOrder

DDL: A_DFLTSTKSGMTPURCHASEORDER Type: view_entity COMPOSITE Package: RFM_SEGMENTATION_APIS

Default Stock Segment - Purchase Order

A_DfltStkSgmtPurchaseOrder is a Composite CDS View that provides data about "Default Stock Segment - Purchase Order" in SAP S/4HANA. It reads from 1 data source (R_DfltStkSgmtPurchaseOrderTP) and exposes 11 fields with key fields SegmentationRecordNumber, SegmentationStrategy. It is exposed through 1 OData service (API_DFLTSEGMTNMAINTENANCE). Part of development package RFM_SEGMENTATION_APIS.

Data Sources (1)

SourceAliasJoin Type
R_DfltStkSgmtPurchaseOrderTP R_DfltStkSgmtPurchaseOrderTP projection

Annotations (8)

NameValueLevelField
OData.entitySet.name DfltStkSgmtPurchaseOrder view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Default Stock Segment - Purchase Order view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MASTER view

OData Services (1)

ServiceBindingVersionContractRelease
API_DFLTSEGMTNMAINTENANCE API_DFLTSEGMTNMAINTENANCE V2 C2 C1

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY SegmentationRecordNumber SegmentationRecordNumber
KEY SegmentationStrategy SegmentationStrategy
ProductSegmentationStartDate ProductSegmentationStartDate
ProductSegmentationEndDate ProductSegmentationEndDate
PurchasingOrderType PurchasingOrderType
PurchasingOrganization PurchasingOrganization Purchasing Organization
PurchasingGroup PurchasingGroup Purchasing Group
Supplier Supplier Supplier
Plant Plant Valuation Area
ProdSgmtDefaultValueCode ProdSgmtDefaultValueCode
ProductSegmentationApplication ProductSegmentationApplication

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_DfltStkSgmtPurchaseOrder.
-- 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_DfltStkSgmtPurchaseOrder AS
SELECT
  SegmentationRecordNumber,
  SegmentationStrategy,
  ProductSegmentationStartDate,
  ProductSegmentationEndDate,
  PurchasingOrderType,
  PurchasingOrganization,
  PurchasingGroup,
  Supplier,
  Plant,
  ProdSgmtDefaultValueCode,
  ProductSegmentationApplication
FROM R_DfltStkSgmtPurchaseOrderTP
;