I_SalesOrderItem
Sales Order Item
I_SalesOrderItem (Basic)
Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.
SalesOrderItem · Sales
I_SalesOrderItem is a Basic CDS View (Dimension) that provides data about "Sales Order Item" in SAP S/4HANA. It reads from 1 data source (I_SalesDocumentItem) and exposes 298 fields with key fields SalesOrder, SalesOrderItem. It has 14 associations to related views.
SAP API Hub
| State | C1 |
|---|---|
| Line of Business | Sales |
| Application Component | SD-SLS-SO |
| Capabilities | Analytical Dimension, Association Target for Defining CDS Entities, Data Source in SQL Select, Data Source for Defining CDS Entities, Data Source for Data Extraction |
| Package | Sales for SAP S/4HANA Cloud Private Edition |
| Description | <p>This CDS view provides the prerequisites for answering questions about all relevant aspects of sales order items.</p> |
Documentation
- Analytics with CDS Views — Build Analytics for S/4HANA Cloud Private Edition ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA Cloud Private Edition Private Edition CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA Cloud Private Edition and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP Extensibility Explorer for SAP S/4HANA Cloud Private Edition — Explore SAP S/4HANA Cloud Private Edition Extensibility options by leveraging the sample scenarios from SAP
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA Cloud Private Edition
- View Browser — Search, browse and tag CDS Views
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_SalesDocumentItem | SalesDocumentItem | from |
Associations (14)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_BusinessAreaText | _BusinessAreaText | $projection.BusinessArea = _BusinessAreaText.BusinessArea |
| [0..*] | I_MaterialText | _MaterialText | $projection.Material = _MaterialText.Material |
| [0..*] | I_ProductText | _ProductText | $projection.Product = _ProductText.Product |
| [0..*] | I_MaterialText | _OrigMaterialText | $projection.OriginallyRequestedMaterial = _OrigMaterialText.Material |
| [0..*] | I_ShippingPointText | _ShippingPointText | $projection.ShippingPoint = _ShippingPointText.ShippingPoint |
| [1..1] | I_SalesOrder | _SalesOrder | $projection.SalesOrder = _SalesOrder.SalesOrder |
| [0..*] | I_SalesOrderScheduleLine | _ScheduleLine | $projection.SalesOrder = _ScheduleLine.SalesOrder and $projection.SalesOrderItem = _ScheduleLine.SalesOrderItem |
| [0..*] | I_SalesOrderItemPartner | _Partner | $projection.SalesOrder = _Partner.SalesOrder and $projection.SalesOrderItem = _Partner.SalesOrderItem |
| [0..*] | I_SalesOrderItemPricingElement | _PricingElement | $projection.SalesOrder = _PricingElement.SalesOrder and $projection.SalesOrderItem = _PricingElement.SalesOrderItem |
| [0..1] | I_SalesOrderItem | _HigherLevelItem | $projection.SalesOrder = _HigherLevelItem.SalesOrder and $projection.HigherLevelItem = _HigherLevelItem.SalesOrderItem |
| [0..1] | I_SalesOrderItemBillingPlan | _ItemBillingPlan | $projection.SalesOrder = _ItemBillingPlan.SalesOrder and $projection.SalesOrderItem = _ItemBillingPlan.SalesOrderItem and $projection.BillingPlan = _ItemBillingPlan.BillingPlan |
| [0..*] | I_SalesOrderItmPrecdgProcFlow | _PrecedingProcFlowDocItem | _PrecedingProcFlowDocItem.SalesOrder = $projection.SalesOrder and _PrecedingProcFlowDocItem.SalesOrderItem = $projection.SalesOrderItem |
| [0..*] | I_SalesOrderItmSubsqntProcFlow | _SubsequentProcFlowDocItem | _SubsequentProcFlowDocItem.SalesOrder = $projection.SalesOrder and _SubsequentProcFlowDocItem.SalesOrderItem = $projection.SalesOrderItem |
| [0..1] | E_SalesDocumentItemBasic | _Extension | SalesDocumentItem.SalesDocument = _Extension.SalesDocument and SalesDocumentItem.SalesDocumentItem = _Extension.SalesDocumentItem |
Annotations (17)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Sales Order Item | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AbapCatalog.sqlViewName | ISDSLSORDERITEM | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ObjectModel.representativeKey | SalesOrderItem | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| Metadata.allowExtensions | true | view | |
| ObjectModel.sapObjectNodeType.name | SalesOrderItem | view | |
| Analytics.dataExtraction.enabled | true | view |
Fields (298)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SalesOrder | SD Document | ||
| KEY | SalesOrderItem | Sales Document Item | ||
| SalesOrderItemUUID | SalesDocumentItemUUID | GUID in 'CHAR' Format in Uppercase | ||
| SalesOrderItemCategory | SalesDocumentItemCategory | Sales Document Item Category | ||
| SalesOrderItemType | SalesDocumentItemType | Item Type | ||
| IsReturnsItem | IsReturnsItem | Returns Item | ||
| CreatedByUser | CreatedByUser | Name of Person Responsible for Creating the Object | ||
| CreationDate | CreationDate | Record Created On | ||
| CreationTime | CreationTime | Time at Which Record Was Created | ||
| LastChangeDate | LastChangeDate | Last Changed On | ||
| Division | Division | Internal Division ID | ||
| Material | Material | Material Number | ||
| Product | Product | Product Number | ||
| OriginallyRequestedMaterial | OriginallyRequestedMaterial | Material Entered | ||
| MaterialByCustomer | MaterialByCustomer | Material Number Used by Customer | ||
| InternationalArticleNumber | InternationalArticleNumber | International Article Number (EAN/UPC) | ||
| Batch | Batch | Batch Number | ||
| ProductHierarchyNode | ProductHierarchyNode | Product Hierarchy | ||
| ProductCatalog | ProductCatalog | Product Catalog Number | ||
| MaterialSubstitutionReason | MaterialSubstitutionReason | Reason for Material Substitution | ||
| MaterialGroup | MaterialGroup | Material Group | ||
| ProductGroup | ProductGroup | Product Sold Group | ||
| MaterialPricingGroup | MaterialPricingGroup | Product Price Group | ||
| AdditionalMaterialGroup1 | AdditionalMaterialGroup1 | Material Group 1 | ||
| AdditionalMaterialGroup2 | AdditionalMaterialGroup2 | Material Group 2 | ||
| AdditionalMaterialGroup3 | AdditionalMaterialGroup3 | Material Group 3 | ||
| AdditionalMaterialGroup4 | AdditionalMaterialGroup4 | Material Group 4 | ||
| AdditionalMaterialGroup5 | AdditionalMaterialGroup5 | Material Group 5 | ||
| Plant | Plant | Plant (Own or External) | ||
| OriginalPlant | OriginalPlant | Original Plant in Plant Substitution | ||
| StorageLocation | StorageLocation | Storage Location | ||
| DeliveryGroup | DeliveryGroup | Delivery Group (Items are delivered together) | ||
| ProductConfiguration | ProductConfiguration | Object Number | ||
| BOMExplosionDate | BOMExplosionDate | Key Date of the Bill of Material | ||
| SalesOrderItemText | SalesDocumentItemText | Short text for sales order item | ||
| PurchaseOrderByCustomer | PurchaseOrderByCustomer | Purchase Order Number | ||
| PurchaseOrderByShipToParty | PurchaseOrderByShipToParty | Ship-to Party's Customer Reference | ||
| CustomerPurchaseOrderDate | CustomerPurchaseOrderDate | Customer Reference Date | ||
| UnderlyingPurchaseOrderItem | UnderlyingPurchaseOrderItem | Item Number of the Underlying Purchase Order | ||
| ExternalItemID | ExternalItemID | External Item ID | ||
| OrderQuantity | OrderQuantity | Cumulative order quantity in sales units | ||
| OrderQuantityUnit | OrderQuantityUnit | Sales Unit | ||
| OrderToBaseQuantityDnmntr | OrderToBaseQuantityDnmntr | Denominator (divisor) for conversion of sales Qty into SKU | ||
| OrderToBaseQuantityNmrtr | OrderToBaseQuantityNmrtr | Numerator (factor) for conversion of sales quantity into SKU | ||
| TargetQuantity | TargetQuantity | Target Quantity in Sales Units | ||
| TargetQuantityUnit | TargetQuantityUnit | Target Quantity UoM | ||
| TargetToBaseQuantityDnmntr | TargetToBaseQuantityDnmntr | Factor for Converting Sales Units to Base Units (Target Qty) | ||
| TargetToBaseQuantityNmrtr | TargetToBaseQuantityNmrtr | Factor for Converting Sales Units to Base Units (Target Qty) | ||
| ConfdDelivQtyInOrderQtyUnit | ConfdDelivQtyInOrderQtyUnit | Cumulative Confirmed Quantity in Sales Unit | ||
| TargetDelivQtyInOrderQtyUnit | TargetDelivQtyInOrderQtyUnit | Cumulative Required Delivery Qty (All Dlv-Relev.Sched.Lines) | ||
| ConfdDeliveryQtyInBaseUnit | ConfdDeliveryQtyInBaseUnit | Cumulative Confirmed Quantity in Base Unit | ||
| BaseUnit | BaseUnit | Base Unit of Measure | ||
| CommittedDelivQtyInOrdQtyUnit | CommittedDelivQtyInOrdQtyUnit | Committed Delivery Quantity in Order Quantity Unit | ||
| CommittedDelivCreationDate | CommittedDelivCreationDate | Deliv. Creation Date in Order to Meet Committed Deliv. Date | ||
| CommittedDeliveryDate | CommittedDeliveryDate | Delivery Date that the Supplier has Committed to | ||
| RequestedQuantity | RequestedQuantity | Requested Quantity | ||
| RequestedQuantityUnit | RequestedQuantityUnit | Unit of the Requested Quantity | ||
| RequestedQuantityInBaseUnit | RequestedQuantityInBaseUnit | Requested Order Quantity in Base Unit | ||
| ItemGrossWeight | ItemGrossWeight | Gross Weight of the Item | ||
| ItemNetWeight | ItemNetWeight | Net Weight of the Item | ||
| ItemWeightUnit | ItemWeightUnit | Unit of Weight | ||
| ItemVolume | ItemVolume | Volume of the item | ||
| ItemVolumeUnit | ItemVolumeUnit | Volume Unit | ||
| ServicesRenderedDate | ServicesRenderedDate | Date on which services are rendered | ||
| SalesDistrict | SalesDistrict | Sales District | ||
| SalesDeal | SalesDeal | Sales Deal | ||
| SalesPromotion | SalesPromotion | Promotion | ||
| RetailPromotion | RetailPromotion | Retail Promotion | ||
| CustomerGroup | CustomerGroup | Customer Group | ||
| SalesDocumentRjcnReason | SalesDocumentRjcnReason | Reason for Rejection of Sales Documents | ||
| RequirementSegment | RequirementSegment | Requirement Segment | ||
| SlsDocIsRlvtForProofOfDeliv | SlsDocIsRlvtForProofOfDeliv | Relevant for POD processing | ||
| NetAmount | NetAmount | Net Value of the Document Item in Document Currency | ||
| TransactionCurrency | TransactionCurrency | Transaction Currency | ||
| PricingDate | PricingDate | Date for Pricing and Exchange Rate | ||
| PricingReferenceMaterial | PricingReferenceMaterial | Pricing Reference Material | ||
| ExchangeRateDate | ExchangeRateDate | Translation Date | ||
| PriceDetnExchangeRate | PriceDetnExchangeRate | Exchange Rate for Price Determination | ||
| NetPriceAmount | NetPriceAmount | Net Price | ||
| NetPriceQuantity | NetPriceQuantity | Condition Pricing Unit | ||
| NetPriceQuantityUnit | NetPriceQuantityUnit | SettlmtPrcUnit | ||
| StatisticalValueControl | StatisticalValueControl | Statistical Values | ||
| SalesDocumentItemProcgCode | SalesDocumentItemProcgCode | Item Processing Code | ||
| TaxAmount | TaxAmount | Tax Amount in Document Currency | ||
| ProductTaxClassification1 | ProductTaxClassification1 | Tax Classification for Material | ||
| ProductTaxClassification2 | ProductTaxClassification2 | Tax Classification for Material | ||
| ProductTaxClassification3 | ProductTaxClassification3 | Tax Classification for Material | ||
| ProductTaxClassification4 | ProductTaxClassification4 | Tax Classification for Material | ||
| ProductTaxClassification5 | ProductTaxClassification5 | Tax Classification for Material | ||
| ProductTaxClassification6 | ProductTaxClassification6 | Tax Classification for Material | ||
| ProductTaxClassification7 | ProductTaxClassification7 | Tax Classification for Material | ||
| ProductTaxClassification8 | ProductTaxClassification8 | Tax Classification for Material | ||
| ProductTaxClassification9 | ProductTaxClassification9 | Tax Classification for Material | ||
| MatlAccountAssignmentGroup | MatlAccountAssignmentGroup | Account Assignment Group for Material | ||
| CostAmount | CostAmount | Cost in Document Currency | ||
| Subtotal1Amount | Subtotal1Amount | Subtotal 1 from Pricing Procedure for Price Element | ||
| Subtotal2Amount | Subtotal2Amount | Subtotal 2 from Pricing Procedure for Price Element | ||
| Subtotal3Amount | Subtotal3Amount | Subtotal 3 from Pricing Procedure for Price Element | ||
| Subtotal4Amount | Subtotal4Amount | Subtotal 4 from Pricing Procedure for Price Element | ||
| Subtotal5Amount | Subtotal5Amount | Subtotal 5 from Pricing Procedure for Price Element | ||
| Subtotal6Amount | Subtotal6Amount | Subtotal 6 from Pricing Procedure for Price Element | ||
| SalesOrderCondition | SalesDocumentCondition | Number of the Document Condition | ||
| CustomerPriceGroup | CustomerPriceGroup | Customer Price Group | ||
| CustomerConditionGroup1 | CustomerConditionGroup1 | Customer condition group 1 | ||
| CustomerConditionGroup2 | CustomerConditionGroup2 | Customer condition group 2 | ||
| CustomerConditionGroup3 | CustomerConditionGroup3 | Customer condition group 3 | ||
| CustomerConditionGroup4 | CustomerConditionGroup4 | Customer condition group 4 | ||
| CustomerConditionGroup5 | CustomerConditionGroup5 | Customer condition group 5 | ||
| ShippingPoint | ShippingPoint | Shipping Point / Receiving Point | ||
| ShippingType | ShippingType | Shipping Type | ||
| InventorySpecialStockType | InventorySpecialStockType | Special Stock Indicator | ||
| DeliveryPriority | DeliveryPriority | Delivery Priority | ||
| Route | Route | Vehicle route | ||
| DeliveryDateQuantityIsFixed | DeliveryDateQuantityIsFixed | Delivery Date and Quantity Fixed | ||
| DeliveryDateTypeRule | DeliveryDateTypeRule | Delivery Date Rule | ||
| PartialDeliveryIsAllowed | PartialDeliveryIsAllowed | Partial Delivery at Item Level | ||
| MaxNmbrOfPartialDelivery | MaxNmbrOfPartialDelivery | Number of Allowed Partial Deliveries | ||
| UnlimitedOverdeliveryIsAllowed | UnlimitedOverdeliveryIsAllowed | Unlimited Overdelivery Allowed | ||
| OverdelivTolrtdLmtRatioInPct | OverdelivTolrtdLmtRatioInPct | Overdelivery Tolerance | ||
| UnderdelivTolrtdLmtRatioInPct | UnderdelivTolrtdLmtRatioInPct | Underdelivery Tolerance | ||
| MinDeliveryQtyInBaseUnit | MinDeliveryQtyInBaseUnit | Minimum Delivery Quantity in Delivery Note Processing | ||
| OpenDeliveryLeadingUnitCode | OpenDeliveryLeadingUnitCode | ID: Leading unit of measure for completing a transaction | ||
| ItemIsDeliveryRelevant | ItemIsDeliveryRelevant | Item Is Relevant for Delivery | ||
| ReceivingPoint | ReceivingPoint | Receiving Point | ||
| IncotermsVersion | IncotermsVersion | Incoterms Version | ||
| IncotermsClassification | IncotermsClassification | Incoterms (Part 1) | ||
| IncotermsTransferLocation | IncotermsTransferLocation | Incoterms (Part 2) | ||
| IncotermsLocation1 | IncotermsLocation1 | Incoterms Location 1 | ||
| IncotermsLocation2 | IncotermsLocation2 | Incoterms Location 2 | ||
| OrderCombinationIsAllowed | I_SalesDocumentItem | OrderCombinationIsAllowed | Order Combination | |
| CustomerPaymentTerms | CustomerPaymentTerms | Terms of Payment Key | ||
| PaymentMethod | PaymentMethod | Payment Method | ||
| FixedValueDate | FixedValueDate | Fixed Value Date | ||
| AdditionalValueDays | AdditionalValueDays | Additional Value Days | ||
| ProductSeasonYear | ProductSeasonYear | Season Year | ||
| ProductSeason | ProductSeason | Season | ||
| ProductCollection | ProductCollection | Fashion Collection | ||
| ProductTheme | ProductTheme | Fashion Theme | ||
| FashionCancelDate | FashionCancelDate | Cancellation Date | ||
| ProductCharacteristic1 | ProductCharacteristic1 | Characteristic Value 1 | ||
| ProductCharacteristic2 | ProductCharacteristic2 | Characteristic Value 2 | ||
| ProductCharacteristic3 | ProductCharacteristic3 | Characteristic Value 3 | ||
| ShippingGroupNumber | ShippingGroupNumber | PSST Group | ||
| ShippingGroupRule | ShippingGroupRule | PSST Grouping Rule | ||
| BillingDocumentDate | BillingDocumentDate | Billing Date | ||
| ItemIsBillingRelevant | ItemIsBillingRelevant | Relevant for Billing | ||
| ItemBillingBlockReason | ItemBillingBlockReason | Billing Block for Item | ||
| BillingPlan | BillingPlan | Billing Plan Number / Invoicing Plan Number | ||
| FiscalYear | FiscalYear | G/L Fiscal Year | ||
| FiscalPeriod | FiscalPeriod | Posting Period | ||
| CustomerAccountAssignmentGroup | CustomerAccountAssignmentGroup | Account Assignment Group for Customer | ||
| BusinessArea | BusinessArea | Business Area | ||
| ControllingArea | ControllingArea | Controlling Area | ||
| ProfitCenter | ProfitCenter | Profit Center | ||
| WBSElement | WBSElement | Work Breakdown Structure Element (WBS Element) | ||
| WBSElementInternalID | WBSElementInternalID | WBS Internal ID | ||
| OrderID | OrderID | Order Number | ||
| ControllingObject | ControllingObject | Object Number at Item Level | ||
| ProfitabilitySegment | ProfitabilitySegment | Deprecated: Profitability Segment | ||
| ProfitabilitySegment_2 | ProfitabilitySegment_2 | Profitability Segment | ||
| OriginSDDocument | OriginSDDocument | Originating Document | ||
| OriginSDDocumentItem | OriginSDDocumentItem | Originating Item | ||
| AccountingExchangeRate | AccountingExchangeRate | Exchange Rate for Postings to Financial Accounting | ||
| ContractAccount | ContractAccount | Contract Account Number | ||
| ReferenceSDDocument | ReferenceSDDocument | Document Number of Reference Document | ||
| ReferenceSDDocumentItem | ReferenceSDDocumentItem | Item number of the reference item | ||
| ReferenceSDDocumentCategory | ReferenceSDDocumentCategory | Reference Document Category | ||
| HigherLevelItem | HigherLevelItem | Higher-Level Item in Bill of Material Structures | ||
| HigherLevelItemUsage | HigherLevelItemUsage | ID for higher-level item usage | ||
| CorrespncExternalReference | CorrespncExternalReference | Correspondence External Reference | ||
| POCorrespncExternalReference | POCorrespncExternalReference | Purchase Order Correspondence External Reference | ||
| SDProcessStatus | SDProcessStatus | Overall Processing Status (Item) | ||
| DeliveryConfirmationStatus | DeliveryConfirmationStatus | Delivery Confirmation Status (Item) | ||
| PurchaseConfirmationStatus | PurchaseConfirmationStatus | Purchasing Confirmation Status | ||
| TotalDeliveryStatus | TotalDeliveryStatus | Overall Delivery Status (Item) | ||
| DeliveryStatus | DeliveryStatus | Delivery Status (Item) | ||
| DeliveryBlockStatus | DeliveryBlockStatus | Delivery Block Status (Item) | ||
| OrderRelatedBillingStatus | OrderRelatedBillingStatus | Order-Related Billing Status (Item) | ||
| BillingBlockStatus | BillingBlockStatus | Billing Block Status (Item) | ||
| ItemGeneralIncompletionStatus | ItemGeneralIncompletionStatus | Incompletion Status (Item) | ||
| ItemBillingIncompletionStatus | ItemBillingIncompletionStatus | Billing Incompletion Status (Item) | ||
| PricingIncompletionStatus | PricingIncompletionStatus | Pricing Incompletion Status (Item) | ||
| ItemDeliveryIncompletionStatus | ItemDeliveryIncompletionStatus | Delivery Incompletion Status (Item) | ||
| SDDocReferenceStatus | SDDocReferenceStatus | Reference Status (Item) | ||
| SDDocumentRejectionStatus | SDDocumentRejectionStatus | Rejection Status (Item) | ||
| TotalSDDocReferenceStatus | TotalSDDocReferenceStatus | Overall Reference Status (Item) | ||
| ChmlCmplncStatus | ChmlCmplncStatus | Product Marketability Status (Item) | ||
| DangerousGoodsStatus | DangerousGoodsStatus | Dangerous Goods Status (Item) | ||
| SafetyDataSheetStatus | SafetyDataSheetStatus | Safety Data Sheet Status (Item) | ||
| SlsOrderItemDownPaymentStatus | ContractItemDownPaymentStatus | Down Payment Status | ||
| TrdCmplncEmbargoSts | TrdCmplncEmbargoSts | Embargo Status (Item) | ||
| TrdCmplncSnctndListChkSts | TrdCmplncSnctndListChkSts | Screening Status (Item) | ||
| OvrlTrdCmplncLegalCtrlChkSts | OvrlTrdCmplncLegalCtrlChkSts | Legal Control Status (All Schedule Lines) | ||
| AltvBsdConfSubstitutionStatus | AltvBsdConfSubstitutionStatus | Substitution Status for Alternative-Based Confirmation (ABC) | ||
| OmniChannelSalesPromotion | OmniChannelSalesPromotion | ID for Omnichannel Sales Promotion | ||
| OmniChannelSalesPromotionRule | OmniChannelSalesPromotionRule | Free Goods ID of Omnichannel Sales Promotions | ||
| ConsumptionPosting | ConsumptionPosting | Consumption Posting | ||
| CappedNetAmount | CappedNetAmount | Net Amount Cap | ||
| CappedNetAmtAlertThldInPct | CappedNetAmtAlertThldInPct | Notification Threshold (in Pct) for Exceeded Net Amount Cap | ||
| TotalStandAloneSellingPrice | I_SalesDocumentItem | TotalStandAloneSellingPrice | IFRS 15: Standalone Selling Price | |
| _SalesOrder | _SalesOrder | |||
| _ScheduleLine | _ScheduleLine | |||
| _Partner | _Partner | |||
| _PricingElement | _PricingElement | |||
| _ItemBillingPlan | _ItemBillingPlan | |||
| _ItemCategory | _ItemCategory | |||
| _CreatedByUser | _CreatedByUser | |||
| _Division | _Division | |||
| _Material | _Material | |||
| _Product | _Product | |||
| _OriginallyRequestedMaterial | _OriginallyRequestedMaterial | |||
| _MaterialPlant | _MaterialPlant | |||
| _Batch | _Batch | |||
| _ProductHierarchyNode | _ProductHierarchyNode | |||
| _MaterialSubstitutionReason | _MaterialSubstitutionReason | |||
| _MaterialGroup | _MaterialGroup | |||
| _ProductGroup | _ProductGroup | |||
| _MaterialPricingGroup | _MaterialPricingGroup | |||
| _AdditionalMaterialGroup1 | _AdditionalMaterialGroup1 | |||
| _AdditionalMaterialGroup2 | _AdditionalMaterialGroup2 | |||
| _AdditionalMaterialGroup3 | _AdditionalMaterialGroup3 | |||
| _AdditionalMaterialGroup4 | _AdditionalMaterialGroup4 | |||
| _AdditionalMaterialGroup5 | _AdditionalMaterialGroup5 | |||
| _MatlAccountAssignmentGroup | _MatlAccountAssignmentGroup | |||
| _Plant | _Plant | |||
| _OriginalPlant | _OriginalPlant | |||
| _StorageLocation | _StorageLocation | |||
| _OrderQuantityUnit | _OrderQuantityUnit | |||
| _BaseUnit | _BaseUnit | |||
| _TargetQuantityUnit | _TargetQuantityUnit | |||
| _RequestedQuantityUnit | _RequestedQuantityUnit | |||
| _ItemWeightUnit | _ItemWeightUnit | |||
| _ItemVolumeUnit | _ItemVolumeUnit | |||
| _SalesDistrict | _SalesDistrict | |||
| _SalesDeal | _SalesDeal | |||
| _CustomerGroup | _CustomerGroup | |||
| _CustomerPriceGroup | _CustomerPriceGroup | |||
| _SalesDocumentRjcnReason | _SalesDocumentRjcnReason | |||
| _TransactionCurrency | _TransactionCurrency | |||
| _NetPriceQuantityUnit | _NetPriceQuantityUnit | |||
| _StatisticalValueControl | _StatisticalValueControl | |||
| _ShippingPoint | _ShippingPoint | |||
| _ShippingType | _ShippingType | |||
| _DeliveryPriority | _DeliveryPriority | |||
| _DeliveryDateTypeRule | _DeliveryDateTypeRule | |||
| _PartialDeliveryItem | _PartialDeliveryItem | |||
| _Route | _Route | |||
| _IncotermsClassification | _IncotermsClassification | |||
| _IncotermsVersion | _IncotermsVersion | |||
| _ItemIsBillingRelevant | _ItemIsBillingRelevant | |||
| _ItemBillingBlockReason | _ItemBillingBlockReason | |||
| _CustomerPaymentTerms | _CustomerPaymentTerms | |||
| _ConditionGroup1 | _ConditionGroup1 | |||
| _ConditionGroup2 | _ConditionGroup2 | |||
| _ConditionGroup3 | _ConditionGroup3 | |||
| _ConditionGroup4 | _ConditionGroup4 | |||
| _ConditionGroup5 | _ConditionGroup5 | |||
| _CustomerAccountAssgmtGroup | _CustomerAccountAssgmtGroup | |||
| _BusinessArea | _BusinessArea | |||
| _ProfitCenter | _ProfitCenter | |||
| _WBSElementBasicData | _WBSElementBasicData | |||
| _WBSElementBasicData_2 | _WBSElementBasicData_2 | |||
| _ReferenceSDDocument | _ReferenceSDDocument | |||
| _ReferenceSDDocumentItem | _ReferenceSDDocumentItem | |||
| _ReferenceSDDocumentCategory | _ReferenceSDDocumentCategory | |||
| _HigherLevelItem | _HigherLevelItem | |||
| _SDProcessStatus | _SDProcessStatus | |||
| _DeliveryConfirmationStatus | _DeliveryConfirmationStatus | |||
| _PurchaseConfirmationStatus | _PurchaseConfirmationStatus | |||
| _TotalDeliveryStatus | _TotalDeliveryStatus | |||
| _DeliveryStatus | _DeliveryStatus | |||
| _DeliveryBlockStatus | _DeliveryBlockStatus | |||
| _ItemDownPaymentStatus | _ContractItemDownPaymentStatus | |||
| _OrderRelatedBillingStatus | _OrderRelatedBillingStatus | |||
| _BillingBlockStatus | _BillingBlockStatus | |||
| _ItemGeneralIncompletionStatus | _ItemGeneralIncompletionStatus | |||
| _ItemBillingIncompletionStatus | _ItemBillingIncompletionStatus | |||
| _PricingIncompletionStatus | _PricingIncompletionStatus | |||
| _ItemDelivIncompletionSts | _ItemDelivIncompletionSts | |||
| _SDDocReferenceStatus | _SDDocReferenceStatus | |||
| _SDDocumentRejectionStatus | _SDDocumentRejectionStatus | |||
| _TotalSDDocReferenceStatus | _TotalSDDocReferenceStatus | |||
| _ChmlCmplncStatus | _ChmlCmplncStatus | |||
| _DangerousGoodsStatus | _DangerousGoodsStatus | |||
| _SafetyDataSheetStatus | _SafetyDataSheetStatus | |||
| _OvrlTrdCmplncLegalCtrlChkSts | _OvrlTrdCmplncLegalCtrlChkSts | |||
| _AltvBsdConfSubstitutionSts | _AltvBsdConfSubstitutionSts | |||
| _TrdCmplncSnctndListChkSts | _TrdCmplncSnctndListChkSts | |||
| _TrdCmplncEmbargoSts | _TrdCmplncEmbargoSts | |||
| _BillingPlan | _BillingPlan | |||
| _PrecedingProcFlowDocItem | _PrecedingProcFlowDocItem | |||
| _SubsequentProcFlowDocItem | _SubsequentProcFlowDocItem | |||
| _ConsumptionPosting | _ConsumptionPosting | |||
| _BusinessAreaText | _BusinessAreaText | |||
| _MaterialText | _MaterialText | |||
| _ProductText | _ProductText | |||
| _OrigMaterialText | _OrigMaterialText | |||
| _ShippingPointText | _ShippingPointText |
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_SalesOrderItem.
-- 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_SalesOrderItem AS
SELECT
cast(SalesDocument as vdm_sales_order preserving type) AS SalesOrder,
cast(SalesDocumentItem as sales_order_item preserving type) AS SalesOrderItem,
SalesDocumentItemUUID AS SalesOrderItemUUID,
SalesDocumentItemCategory AS SalesOrderItemCategory,
SalesDocumentItemType AS SalesOrderItemType,
IsReturnsItem,
CreatedByUser,
CreationDate,
CreationTime,
LastChangeDate,
Division,
Material,
Product,
OriginallyRequestedMaterial,
MaterialByCustomer,
InternationalArticleNumber,
Batch,
ProductHierarchyNode,
ProductCatalog,
MaterialSubstitutionReason,
MaterialGroup,
ProductGroup,
MaterialPricingGroup,
AdditionalMaterialGroup1,
AdditionalMaterialGroup2,
AdditionalMaterialGroup3,
AdditionalMaterialGroup4,
AdditionalMaterialGroup5,
Plant,
OriginalPlant,
StorageLocation,
DeliveryGroup,
ProductConfiguration,
BOMExplosionDate,
SalesDocumentItemText AS SalesOrderItemText,
PurchaseOrderByCustomer,
PurchaseOrderByShipToParty,
CustomerPurchaseOrderDate,
UnderlyingPurchaseOrderItem,
ExternalItemID,
OrderQuantity,
OrderQuantityUnit,
OrderToBaseQuantityDnmntr,
OrderToBaseQuantityNmrtr,
TargetQuantity,
TargetQuantityUnit,
TargetToBaseQuantityDnmntr,
TargetToBaseQuantityNmrtr,
ConfdDelivQtyInOrderQtyUnit,
TargetDelivQtyInOrderQtyUnit,
ConfdDeliveryQtyInBaseUnit,
BaseUnit,
CommittedDelivQtyInOrdQtyUnit,
CommittedDelivCreationDate,
CommittedDeliveryDate,
RequestedQuantity,
RequestedQuantityUnit,
RequestedQuantityInBaseUnit,
ItemGrossWeight,
ItemNetWeight,
ItemWeightUnit,
ItemVolume,
ItemVolumeUnit,
ServicesRenderedDate,
SalesDistrict,
SalesDeal,
SalesPromotion,
RetailPromotion,
CustomerGroup,
SalesDocumentRjcnReason,
RequirementSegment,
SlsDocIsRlvtForProofOfDeliv,
NetAmount,
TransactionCurrency,
PricingDate,
PricingReferenceMaterial,
ExchangeRateDate,
PriceDetnExchangeRate,
NetPriceAmount,
NetPriceQuantity,
NetPriceQuantityUnit,
StatisticalValueControl,
SalesDocumentItemProcgCode,
TaxAmount,
ProductTaxClassification1,
ProductTaxClassification2,
ProductTaxClassification3,
ProductTaxClassification4,
ProductTaxClassification5,
ProductTaxClassification6,
ProductTaxClassification7,
ProductTaxClassification8,
ProductTaxClassification9,
MatlAccountAssignmentGroup,
CostAmount,
Subtotal1Amount,
Subtotal2Amount,
Subtotal3Amount,
Subtotal4Amount,
Subtotal5Amount,
Subtotal6Amount,
SalesDocumentCondition AS SalesOrderCondition,
CustomerPriceGroup,
CustomerConditionGroup1,
CustomerConditionGroup2,
CustomerConditionGroup3,
CustomerConditionGroup4,
CustomerConditionGroup5,
ShippingPoint,
ShippingType,
InventorySpecialStockType,
DeliveryPriority,
Route,
DeliveryDateQuantityIsFixed,
DeliveryDateTypeRule,
PartialDeliveryIsAllowed,
MaxNmbrOfPartialDelivery,
UnlimitedOverdeliveryIsAllowed,
OverdelivTolrtdLmtRatioInPct,
UnderdelivTolrtdLmtRatioInPct,
MinDeliveryQtyInBaseUnit,
OpenDeliveryLeadingUnitCode,
ItemIsDeliveryRelevant,
ReceivingPoint,
IncotermsVersion,
IncotermsClassification,
IncotermsTransferLocation,
IncotermsLocation1,
IncotermsLocation2,
SalesDocumentItem.OrderCombinationIsAllowed AS OrderCombinationIsAllowed,
CustomerPaymentTerms,
PaymentMethod,
FixedValueDate,
AdditionalValueDays,
ProductSeasonYear,
ProductSeason,
ProductCollection,
ProductTheme,
FashionCancelDate,
ProductCharacteristic1,
ProductCharacteristic2,
ProductCharacteristic3,
ShippingGroupNumber,
ShippingGroupRule,
BillingDocumentDate,
ItemIsBillingRelevant,
ItemBillingBlockReason,
BillingPlan,
FiscalYear,
FiscalPeriod,
CustomerAccountAssignmentGroup,
BusinessArea,
ControllingArea,
ProfitCenter,
WBSElement,
WBSElementInternalID,
OrderID,
ControllingObject,
ProfitabilitySegment,
ProfitabilitySegment_2,
OriginSDDocument,
OriginSDDocumentItem,
AccountingExchangeRate,
ContractAccount,
ReferenceSDDocument,
ReferenceSDDocumentItem,
ReferenceSDDocumentCategory,
HigherLevelItem,
HigherLevelItemUsage,
CorrespncExternalReference,
POCorrespncExternalReference,
SDProcessStatus,
DeliveryConfirmationStatus,
PurchaseConfirmationStatus,
TotalDeliveryStatus,
DeliveryStatus,
DeliveryBlockStatus,
OrderRelatedBillingStatus,
BillingBlockStatus,
ItemGeneralIncompletionStatus,
ItemBillingIncompletionStatus,
PricingIncompletionStatus,
ItemDeliveryIncompletionStatus,
SDDocReferenceStatus,
SDDocumentRejectionStatus,
TotalSDDocReferenceStatus,
ChmlCmplncStatus,
DangerousGoodsStatus,
SafetyDataSheetStatus,
ContractItemDownPaymentStatus AS SlsOrderItemDownPaymentStatus,
TrdCmplncEmbargoSts,
TrdCmplncSnctndListChkSts,
OvrlTrdCmplncLegalCtrlChkSts,
AltvBsdConfSubstitutionStatus,
OmniChannelSalesPromotion,
OmniChannelSalesPromotionRule,
ConsumptionPosting,
CappedNetAmount,
CappedNetAmtAlertThldInPct,
SalesDocumentItem.TotalStandAloneSellingPrice AS TotalStandAloneSellingPrice
FROM I_SalesDocumentItem AS SalesDocumentItem
LEFT OUTER JOIN I_BusinessAreaText AS _BusinessAreaText ON BusinessArea = _BusinessAreaText.BusinessArea -- association [0..*]
LEFT OUTER JOIN I_MaterialText AS _MaterialText ON Material = _MaterialText.Material -- association [0..*]
LEFT OUTER JOIN I_ProductText AS _ProductText ON Product = _ProductText.Product -- association [0..*]
LEFT OUTER JOIN I_MaterialText AS _OrigMaterialText ON OriginallyRequestedMaterial = _OrigMaterialText.Material -- association [0..*]
LEFT OUTER JOIN I_ShippingPointText AS _ShippingPointText ON ShippingPoint = _ShippingPointText.ShippingPoint -- association [0..*]
LEFT OUTER JOIN I_SalesOrder AS _SalesOrder ON SalesOrder = _SalesOrder.SalesOrder -- association [1..1]
LEFT OUTER JOIN I_SalesOrderScheduleLine AS _ScheduleLine ON SalesOrder = _ScheduleLine.SalesOrder AND SalesOrderItem = _ScheduleLine.SalesOrderItem -- association [0..*]
LEFT OUTER JOIN I_SalesOrderItemPartner AS _Partner ON SalesOrder = _Partner.SalesOrder AND SalesOrderItem = _Partner.SalesOrderItem -- association [0..*]
LEFT OUTER JOIN I_SalesOrderItemPricingElement AS _PricingElement ON SalesOrder = _PricingElement.SalesOrder AND SalesOrderItem = _PricingElement.SalesOrderItem -- association [0..*]
LEFT OUTER JOIN I_SalesOrderItem AS _HigherLevelItem ON SalesOrder = _HigherLevelItem.SalesOrder AND HigherLevelItem = _HigherLevelItem.SalesOrderItem -- association [0..1]
LEFT OUTER JOIN I_SalesOrderItemBillingPlan AS _ItemBillingPlan ON SalesOrder = _ItemBillingPlan.SalesOrder AND SalesOrderItem = _ItemBillingPlan.SalesOrderItem AND BillingPlan = _ItemBillingPlan.BillingPlan -- association [0..1]
LEFT OUTER JOIN I_SalesOrderItmPrecdgProcFlow AS _PrecedingProcFlowDocItem ON _PrecedingProcFlowDocItem.SalesOrder = SalesOrder AND _PrecedingProcFlowDocItem.SalesOrderItem = SalesOrderItem -- association [0..*]
LEFT OUTER JOIN I_SalesOrderItmSubsqntProcFlow AS _SubsequentProcFlowDocItem ON _SubsequentProcFlowDocItem.SalesOrder = SalesOrder AND _SubsequentProcFlowDocItem.SalesOrderItem = SalesOrderItem -- association [0..*]
LEFT OUTER JOIN E_SalesDocumentItemBasic AS _Extension ON SalesDocumentItem.SalesDocument = _Extension.SalesDocument AND SalesDocumentItem.SalesDocumentItem = _Extension.SalesDocumentItem -- association [0..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