I_StockTransportOrderItem
Stock Transport Order Item
I_StockTransportOrderItem (Basic)
Package: Explore, extend and adapt the SAP S/4HANA Cloud Public Edition with built-in and side-by-side extension capabilities.
Sourcing & Procurement
I_StockTransportOrderItem is a Basic CDS View that provides data about "Stock Transport Order Item" in SAP S/4HANA. It reads from 2 data sources (I_PurchaseOrderItem, I_StockTransportOrder) and exposes 102 fields with key fields PurchaseOrder, PurchaseOrderItem. It has 4 associations to related views. Part of development package VDM_MM_PUR_PO_STO.
SAP API Hub
| Category | Basic |
|---|---|
| State | Deprecated |
| Line of Business | Sourcing & Procurement |
| Application Component | MM-PUR-PO-2CL |
| Capabilities | Data Source for Search,Data Source in SQL Select,Data Source for Defining CDS Entities,Association Target for Defining CDS Entities |
| Extensible (Key User) | Yes |
| Extensible (Developer) | No |
| Release State (Key User) | Released |
| Release State (Developer) | Not Released |
| Package | Sourcing and Procurement for SAP S/4HANA Cloud Public Edition |
Documentation
- Analytics with CDS Views — Build Analytics for S/4HANA Cloud Public Edition ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA Cloud Public Edition CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA Cloud Public Edition and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Custom Communication Scenarios — Create custom communication scenarios to configure custom communication arrangement
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA Cloud Public Edition
- View Browser — Search, browse and tag CDS Views
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_PurchaseOrderItem | I_PurchaseOrderItem | from |
| I_StockTransportOrder | I_StockTransportOrder | inner |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_StockTransportOrder | _StockTransportOrder | $projection.PurchaseOrder = _StockTransportOrder.PurchaseOrder |
| [1..*] | I_StockTransptOrdScheduleLine | _StockTransptOrdScheduleLine | $projection.PurchaseOrder = _StockTransptOrdScheduleLine.PurchaseOrder and $projection.PurchaseOrderItem = _StockTransptOrdScheduleLine.PurchaseOrderItem |
| [1..1] | I_StockTransportOrderShipping | _StockTransportShipping | $projection.PurchaseOrder = _StockTransportShipping.PurchaseOrder and $projection.PurchaseOrderItem = _StockTransportShipping.PurchaseOrderItem |
| [1..1] | E_PurchasingDocumentItem | _PurchaseOrderItemExtension | $projection.PurchaseOrder = _PurchaseOrderItemExtension.PurchasingDocument and $projection.PurchaseOrderItem = _PurchaseOrderItemExtension.PurchasingDocumentItem |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ISTOCKITEM | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Stock Transport Order Item | view | |
| VDM.viewType | #BASIC | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.representativeKey | PurchaseOrderItem | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (102)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PurchaseOrder | Stock Transport Order | ||
| KEY | PurchaseOrderItem | Stock Transport Order Item | ||
| PurchaseOrderItemUniqueID | PurchaseOrderItemUniqueID | Concatenation of EBELN and EBELP | ||
| PurchaseOrderCategory | PurchaseOrderCategory | Purchasing Document Category | ||
| DocumentCurrency | I_PurchaseOrderItem | DocumentCurrency | Document Currency | |
| PurchasingDocumentDeletionCode | I_PurchaseOrderItem | PurchasingDocumentDeletionCode | Deletion Indicator in Purchasing Document | |
| MaterialGroup | MaterialGroup | Material Group | ||
| Material | Material | Material Number | ||
| ManufacturerMaterial | ManufacturerMaterial | Material number | ||
| MaterialType | MaterialType | Material Type | ||
| CompanyCode | I_PurchaseOrderItem | CompanyCode | Receiver Company Code | |
| ReceivingPlant | Plant | Valuation Area | ||
| ManualDeliveryAddressID | ManualDeliveryAddressID | Manual address number in purchasing document item | ||
| ReferenceDeliveryAddressID | ReferenceDeliveryAddressID | Number of delivery address | ||
| Customer | Customer | Sold-to Party | ||
| CrossPlantConfigurableProduct | CrossPlantConfigurableProduct | Cross-Plant Configurable Material | ||
| ReceivingStorageLocation | StorageLocation | Storage Location | ||
| PurchaseOrderQuantityUnit | PurchaseOrderQuantityUnit | Purchase Order Unit of Measure | ||
| OrderItemQtyToBaseQtyNmrtr | OrderItemQtyToBaseQtyNmrtr | Numerator for Conversion of Order Unit to Base Unit | ||
| OrderItemQtyToBaseQtyDnmntr | OrderItemQtyToBaseQtyDnmntr | Denominator for Conversion of Order Unit to Base Unit | ||
| NetPriceQuantity | NetPriceQuantity | Price Unit | ||
| IsCompletelyDelivered | IsCompletelyDelivered | "Delivery Completed" Indicator | ||
| IsFinallyInvoiced | IsFinallyInvoiced | Final Invoice Indicator | ||
| GoodsReceiptIsExpected | GoodsReceiptIsExpected | Goods Receipt Indicator | ||
| OutwardDeliveryIsComplete | OutwardDeliveryIsComplete | "Outward Delivery Completed" Indicator | ||
| InvoiceIsExpected | InvoiceIsExpected | Invoice Receipt Indicator | ||
| InvoiceIsGoodsReceiptBased | InvoiceIsGoodsReceiptBased | Indicator: GR-Based Invoice Verification | ||
| PurchaseRequisition | PurchaseRequisition | Purchase Requisition Number | ||
| PurchaseRequisitionItem | PurchaseRequisitionItem | Item Number of Purchase Requisition | ||
| EvaldRcptSettlmtIsAllowed | EvaldRcptSettlmtIsAllowed | Evaluated Receipt Settlement (ERS) | ||
| UnlimitedOverdeliveryIsAllowed | UnlimitedOverdeliveryIsAllowed | Unlimited Overdelivery Allowed | ||
| OverdelivTolrtdLmtRatioInPct | OverdelivTolrtdLmtRatioInPct | Overdelivery Tolerance | ||
| UnderdelivTolrtdLmtRatioInPct | UnderdelivTolrtdLmtRatioInPct | Underdelivery Tolerance | ||
| RequisitionerName | RequisitionerName | Name of requisitioner/requester | ||
| BaseUnit | BaseUnit | Base Unit of Measure | ||
| PurchaseOrderItemCategory | PurchaseOrderItemCategory | Item category in purchasing document | ||
| ProfitCenter | ProfitCenter | Profit Center | ||
| OrderPriceUnit | OrderPriceUnit | Order Price Unit (Purchasing) | ||
| ItemVolumeUnit | ItemVolumeUnit | Volume Unit | ||
| ItemWeightUnit | ItemWeightUnit | Unit of Weight | ||
| PartialInvoiceDistribution | PartialInvoiceDistribution | Partial invoice indicator | ||
| PricingDateControl | PricingDateControl | Price Determination (Pricing) Date Control | ||
| DeliveryDocumentType | DeliveryDocumentType | Delivery Type for Returns to Supplier | ||
| IssuingStorageLocation | IssuingStorageLocation | Issuing Storage Location for Stock Transport Order | ||
| IsStatisticalItem | IsStatisticalItem | Statisticl.Indicator | ||
| PurchasingParentItem | PurchasingParentItem | Higher-Level Item in Purchasing Documents | ||
| IsReturnsItem | IsReturnsItem | Returns Item | ||
| SupplierConfirmationControlKey | SupplierConfirmationControlKey | Confirmation Control Key | ||
| PriceIsToBePrinted | PriceIsToBePrinted | Price Printout | ||
| AccountAssignmentCategory | AccountAssignmentCategory | Account Assignment Category | ||
| PurchasingInfoRecord | PurchasingInfoRecord | Purchasing Info Record Number | ||
| NetAmount | NetAmount | Net Order Value in PO Currency | ||
| EffectiveAmount | EffectiveAmount | Effective value of item | ||
| OrderQuantity | OrderQuantity | Purchase Order Quantity | ||
| NetPriceAmount | NetPriceAmount | Net Price in Purchasing Document (in Document Currency) | ||
| ItemVolume | ItemVolume | Volume | ||
| ItemNetWeight | ItemNetWeight | Net Weight | ||
| OrderPriceUnitToOrderUnitNmrtr | OrderPriceUnitToOrderUnitNmrtr | Numerator for Conversion of Order Price Unit into Order Unit | ||
| OrdPriceUnitToOrderUnitDnmntr | OrdPriceUnitToOrderUnitDnmntr | Denominator for Conv. of Order Price Unit into Order Unit | ||
| GoodsReceiptIsNonValuated | GoodsReceiptIsNonValuated | Goods Receipt, Non-Valuated | ||
| TaxCode | TaxCode | Tax on Sales/Purchases Code | ||
| TaxJurisdiction | TaxJurisdiction | Tax Jurisdiction | ||
| ValuationType | ValuationType | Valuation Type | ||
| EarmarkedFundsDocument | EarmarkedFundsDocument | Document Number for Earmarked Funds | ||
| EarmarkedFunds | EarmarkedFunds | Document Number for Earmarked Funds | ||
| EarmarkedFundsDocumentItem | EarmarkedFundsDocumentItem | Earmarked Funds: Document Item | ||
| EarmarkedFundsItem | EarmarkedFundsItem | Earmarked Funds: Document Item | ||
| ExpectedOverallLimitAmount | ExpectedOverallLimitAmount | Expected Value of Overall Limit | ||
| OverallLimitAmount | OverallLimitAmount | Overall Limit | ||
| PartialDeliveryIsAllowed | PartialDeliveryIsAllowed | Partial Delivery at Item Level (Stock Transfer) | ||
| PlannedDeliveryDurationInDays | PlannedDeliveryDurationInDays | Planned Delivery Time in Days | ||
| GoodsReceiptDurationInDays | GoodsReceiptDurationInDays | Goods receipt processing time in days | ||
| RequirementSegment | RequirementSegment | Requirement Segment | ||
| PurchasingOrderReason | PurchasingOrderReason | Reason for Ordering | ||
| IncotermsClassification | IncotermsClassification | Incoterms (Part 1) | ||
| IncotermsTransferLocation | IncotermsTransferLocation | Incoterms (Part 2) | ||
| IncotermsLocation1 | IncotermsLocation1 | Incoterms Location 1 | ||
| IncotermsLocation2 | IncotermsLocation2 | Incoterms Location 2 | ||
| CreationTime | I_PurchaseOrderItem | CreationTime | Purchasing Document Creation Time | |
| CreationDate | I_PurchaseOrderItem | CreationDate | Purchasing Document Creation Date | |
| _StockTransportOrder | _StockTransportOrder | |||
| _StockTransptOrdScheduleLine | _StockTransptOrdScheduleLine | |||
| _StockTransportShipping | _StockTransportShipping | |||
| _CompanyCode | I_PurchaseOrderItem | _CompanyCode | ||
| _Plant | _Plant | |||
| _StorageLocation | _StorageLocation | |||
| _Material | _Material | |||
| _ManufacturerMaterial | _ManufacturerMaterial | |||
| _MaterialGroup | _MaterialGroup | |||
| _OrderPriceUnit | _OrderPriceUnit | |||
| _ManualDeliveryAddress | _ManualDeliveryAddress | |||
| _ManualDeliveryAddress_2 | _ManualDeliveryAddress_2 | |||
| _ReferenceDeliveryAddress_2 | _ReferenceDeliveryAddress_2 | |||
| _ReferenceDeliveryAddress | _ReferenceDeliveryAddress | |||
| _PurgDocumentCategory | _PurgDocumentCategory | |||
| _PurgDocumentItemCategory | _PurgDocumentItemCategory | |||
| _PurchaseRequisitionItem | _PurchaseRequisitionItem | |||
| _PurchasingInfoRecord | _PurchasingInfoRecord | |||
| _Customer | _Customer | |||
| _PurchaseRequisition | _PurchaseRequisition | |||
| _OrderQuantityUnit | _OrderQuantityUnit | |||
| _IncotermsClassification | _IncotermsClassification |
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_StockTransportOrderItem.
-- 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: ISTOCKITEM
CREATE VIEW I_StockTransportOrderItem AS
SELECT
cast (I_PurchaseOrderItem.PurchaseOrder as vdm_stocktransportorder preserving type) AS PurchaseOrder,
cast (PurchaseOrderItem as vdm_stocktransportorderitem preserving type) AS PurchaseOrderItem,
PurchaseOrderItemUniqueID,
PurchaseOrderCategory,
I_PurchaseOrderItem.DocumentCurrency AS DocumentCurrency,
I_PurchaseOrderItem.PurchasingDocumentDeletionCode AS PurchasingDocumentDeletionCode,
MaterialGroup,
Material,
ManufacturerMaterial,
MaterialType,
I_PurchaseOrderItem.CompanyCode AS CompanyCode,
Plant AS ReceivingPlant,
ManualDeliveryAddressID,
ReferenceDeliveryAddressID,
Customer,
CrossPlantConfigurableProduct,
StorageLocation AS ReceivingStorageLocation,
PurchaseOrderQuantityUnit,
OrderItemQtyToBaseQtyNmrtr,
OrderItemQtyToBaseQtyDnmntr,
NetPriceQuantity,
IsCompletelyDelivered,
IsFinallyInvoiced,
GoodsReceiptIsExpected,
OutwardDeliveryIsComplete,
InvoiceIsExpected,
InvoiceIsGoodsReceiptBased,
PurchaseRequisition,
PurchaseRequisitionItem,
EvaldRcptSettlmtIsAllowed,
UnlimitedOverdeliveryIsAllowed,
OverdelivTolrtdLmtRatioInPct,
UnderdelivTolrtdLmtRatioInPct,
RequisitionerName,
BaseUnit,
PurchaseOrderItemCategory,
ProfitCenter,
OrderPriceUnit,
ItemVolumeUnit,
ItemWeightUnit,
PartialInvoiceDistribution,
PricingDateControl,
DeliveryDocumentType,
IssuingStorageLocation,
IsStatisticalItem,
PurchasingParentItem,
IsReturnsItem,
SupplierConfirmationControlKey,
PriceIsToBePrinted,
AccountAssignmentCategory,
PurchasingInfoRecord,
NetAmount,
EffectiveAmount,
OrderQuantity,
NetPriceAmount,
ItemVolume,
ItemNetWeight,
OrderPriceUnitToOrderUnitNmrtr,
OrdPriceUnitToOrderUnitDnmntr,
GoodsReceiptIsNonValuated,
TaxCode,
TaxJurisdiction,
ValuationType,
EarmarkedFundsDocument,
EarmarkedFunds,
EarmarkedFundsDocumentItem,
EarmarkedFundsItem,
ExpectedOverallLimitAmount,
OverallLimitAmount,
PartialDeliveryIsAllowed,
PlannedDeliveryDurationInDays,
GoodsReceiptDurationInDays,
RequirementSegment,
PurchasingOrderReason,
IncotermsClassification,
IncotermsTransferLocation,
IncotermsLocation1,
IncotermsLocation2,
I_PurchaseOrderItem.CreationTime AS CreationTime,
I_PurchaseOrderItem.CreationDate AS CreationDate,
I_PurchaseOrderItem._CompanyCode AS _CompanyCode
FROM I_PurchaseOrderItem
INNER JOIN I_StockTransportOrder ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_StockTransportOrder AS _StockTransportOrder ON PurchaseOrder = _StockTransportOrder.PurchaseOrder -- association [1..1]
LEFT OUTER JOIN I_StockTransptOrdScheduleLine AS _StockTransptOrdScheduleLine ON PurchaseOrder = _StockTransptOrdScheduleLine.PurchaseOrder AND PurchaseOrderItem = _StockTransptOrdScheduleLine.PurchaseOrderItem -- association [1..*]
LEFT OUTER JOIN I_StockTransportOrderShipping AS _StockTransportShipping ON PurchaseOrder = _StockTransportShipping.PurchaseOrder AND PurchaseOrderItem = _StockTransportShipping.PurchaseOrderItem -- association [1..1]
LEFT OUTER JOIN E_PurchasingDocumentItem AS _PurchaseOrderItemExtension ON PurchaseOrder = _PurchaseOrderItemExtension.PurchasingDocument AND PurchaseOrderItem = _PurchaseOrderItemExtension.PurchasingDocumentItem -- association [1..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA