C_SalesDocumentItemDEX
Data Extraction for Sales Document Item
C_SalesDocumentItemDEX (Consumption)
Package: Explore, extend and adapt the SAP S/4HANA Cloud Public Edition with built-in and side-by-side extension capabilities.
SalesDocumentItem · Sales
C_SalesDocumentItemDEX is a Consumption CDS View (Fact) that provides data about "Data Extraction for Sales Document Item" in SAP S/4HANA. It reads from 1 data source (I_SalesDocumentItem) and exposes 150 fields with key fields SalesDocument, SalesDocumentItem. It has 2 associations to related views. Part of development package VDM_SD_DEX.
SAP Help Documentation
| Category | Sales Documents |
|---|---|
| Data Category | Consumption |
| Status | Released |
| Corresponding DataSource | 2CCSDSLSDOCITMDX |
This CDS view is app-independent, and is available for all external consumers who want to extract sales document item data to SAP Business Warehouse (SAP BW) or other external systems. To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .
Structure
Object types The following table lists the sales document categories (a subset of Sales and Distribution [SD] document categories) that you can access through this view. Sales Document Categories Description SD Document Category (VBTYP) Inquiry A Quotation B Order C Contract G Returns H Order without Charge I Credit Memo Request K Debit Memo Request L Attributes Provides sales document and sales document items, sales organization, sold-to party, ship-to party, bill-to party, and many more. Some important measures are: Order quantity Target quantity Confirmed delivered quantity Confirmed target quantity Item gross weight Item net weight Item volume Net amount Net price amount Net price quantity Tax amount Cost amount Subtotal amounts 1-6 Minimum delivery quantity Outline agreement target amount
SAP Business Warehouse (SAP BW) Extraction
Data extraction type Delta-enabled with Change Data Capture (CDC) Corresponding DataSource (Extractor) Note The corresponding DataSource (Extractor) and this CDS view may have different functionalities. In case you are interested in the details of the DataSource, see the related documentation on the SAP Help Portal at https://help.sap.com/viewer/p/BI_CONTENT_757 under Use SAP Library BI Content .
SAP API Hub
| Category | Consumption |
|---|---|
| State | Deprecated |
| Line of Business | Sales |
| Application Component | SD-ANA-2CL |
| Capabilities | Data Source for Data Extraction |
| Extensible (Key User) | Yes |
| Extensible (Developer) | No |
| Release State (Key User) | Released |
| Release State (Developer) | Released |
| Package | Sales for SAP S/4HANA Cloud Public Edition |
| Description | <p>This CDS view is app-independent, and is available for all external consumers who want to extract sales document item data to SAP Business Information Warehouse (SAP BW) or other external systems.</p> |
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 (1)
| Source | Alias | Join Type |
|---|---|---|
| I_SalesDocumentItem | SalesDocumentItem | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | E_SalesDocumentItemBasic | _ExtensionItem | $projection.SalesDocument = _ExtensionItem.SalesDocument and $projection.SalesDocumentItem = _ExtensionItem.SalesDocumentItem |
| [0..1] | E_SalesDocumentBasic | _ExtensionHeader | $projection.SalesDocument = _ExtensionHeader.SalesDocument |
Annotations (16)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CSDSLSDOCITMDX | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Data Extraction for Sales Document Item | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.representativeKey | SalesDocumentItem | view | |
| ObjectModel.sapObjectNodeType.name | SalesDocumentItem | view | |
| VDM.viewType | #CONSUMPTION | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.modelingPattern | #NONE | view | |
| Analytics.dataCategory | #FACT | view | |
| Analytics.dataExtraction.enabled | true | view |
Fields (150)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SalesDocument | I_SalesDocumentItem | SalesDocument | Sales Document |
| KEY | SalesDocumentItem | I_SalesDocumentItem | SalesDocumentItem | Sales Document Item |
| SDDocumentCategory | SalesDocument | SDDocumentCategory | SD Document Category | |
| SalesDocumentType | SalesDocument | SalesDocumentType | Sales Document Type | |
| SalesDocumentItemCategory | I_SalesDocumentItem | SalesDocumentItemCategory | Sales Document Item Category | |
| IsReturnsItem | I_SalesDocumentItem | IsReturnsItem | Returns Item | |
| CreationDate | I_SalesDocumentItem | CreationDate | Record Creation Date | |
| CreationTime | I_SalesDocumentItem | CreationTime | Time at Which Record Was Created | |
| LastChangeDate | I_SalesDocumentItem | LastChangeDate | Last Changed On | |
| SalesOrganization | SalesDocument | SalesOrganization | Sales Organization | |
| DistributionChannel | SalesDocument | DistributionChannel | Distribution Channel | |
| Division | I_SalesDocumentItem | Division | Internal Division ID | |
| SalesGroup | SalesDocument | SalesGroup | Sales Group | |
| SalesOffice | SalesDocument | SalesOffice | Sales Office | |
| InternationalArticleNumber | I_SalesDocumentItem | InternationalArticleNumber | International Article Number (EAN/UPC) | |
| Batch | I_SalesDocumentItem | Batch | Batch Number | |
| Material | I_SalesDocumentItem | Material | Material Number | |
| Product | I_SalesDocumentItem | Product | Product Sold | |
| OriginallyRequestedMaterial | I_SalesDocumentItem | OriginallyRequestedMaterial | Material Entered | |
| MaterialSubstitutionReason | I_SalesDocumentItem | MaterialSubstitutionReason | Reason for Material Substitution | |
| MaterialGroup | I_SalesDocumentItem | MaterialGroup | Material Group | |
| ProductGroup | I_SalesDocumentItem | ProductGroup | Product Sold Group | |
| AdditionalMaterialGroup1 | I_SalesDocumentItem | AdditionalMaterialGroup1 | Material Group 1 | |
| AdditionalMaterialGroup2 | I_SalesDocumentItem | AdditionalMaterialGroup2 | Material Group 2 | |
| AdditionalMaterialGroup3 | I_SalesDocumentItem | AdditionalMaterialGroup3 | Material Group 3 | |
| AdditionalMaterialGroup4 | I_SalesDocumentItem | AdditionalMaterialGroup4 | Material Group 4 | |
| AdditionalMaterialGroup5 | I_SalesDocumentItem | AdditionalMaterialGroup5 | Material Group 5 | |
| SoldToParty | SalesDocument | SoldToParty | Sold-to Party | |
| AdditionalCustomerGroup1 | SalesDocument | AdditionalCustomerGroup1 | Customer Group 1 | |
| AdditionalCustomerGroup2 | SalesDocument | AdditionalCustomerGroup2 | Customer Group 2 | |
| AdditionalCustomerGroup3 | SalesDocument | AdditionalCustomerGroup3 | Customer Group 3 | |
| AdditionalCustomerGroup4 | SalesDocument | AdditionalCustomerGroup4 | Customer Group 4 | |
| AdditionalCustomerGroup5 | SalesDocument | AdditionalCustomerGroup5 | Customer Group 5 | |
| ShipToParty | I_SalesDocumentItem | ShipToParty | Ship-To Party (obsolete) | |
| PayerParty | I_SalesDocumentItem | PayerParty | Payer | |
| BillToParty | I_SalesDocumentItem | BillToParty | Inv. Recipient | |
| SDDocumentReason | SalesDocument | SDDocumentReason | Order Reason (Reason for the Business Transaction) | |
| SalesDocumentDate | SalesDocument | SalesDocumentDate | Document Date (Date Received/Sent) | |
| OrderQuantity | I_SalesDocumentItem | OrderQuantity | Cumulative Order Quantity in Sales Unit | |
| OrderQuantityUnit | I_SalesDocumentItem | OrderQuantityUnit | Sales Unit | |
| TargetQuantity | I_SalesDocumentItem | TargetQuantity | Target Quantity in Sales Units | |
| TargetQuantityUnit | I_SalesDocumentItem | TargetQuantityUnit | Target Quantity UoM | |
| TargetToBaseQuantityDnmntr | I_SalesDocumentItem | TargetToBaseQuantityDnmntr | Factor for Converting Sales Units to Base Units (Target Qty) | |
| TargetToBaseQuantityNmrtr | I_SalesDocumentItem | TargetToBaseQuantityNmrtr | Factor for Converting Sales Units to Base Units (Target Qty) | |
| OrderToBaseQuantityDnmntr | I_SalesDocumentItem | OrderToBaseQuantityDnmntr | Denominator (divisor) for conversion of sales Qty into SKU | |
| OrderToBaseQuantityNmrtr | I_SalesDocumentItem | OrderToBaseQuantityNmrtr | Numerator (factor) for conversion of sales quantity into SKU | |
| ConfdDelivQtyInOrderQtyUnit | I_SalesDocumentItem | ConfdDelivQtyInOrderQtyUnit | Cumulative Confirmed Quantity in Sales Unit | |
| TargetDelivQtyInOrderQtyUnit | I_SalesDocumentItem | TargetDelivQtyInOrderQtyUnit | Cumulative Required Delivery Qty (All Dlv-Relev.Sched.Lines) | |
| ConfdDeliveryQtyInBaseUnit | I_SalesDocumentItem | ConfdDeliveryQtyInBaseUnit | Cumulative Confirmed Quantity in Base Unit | |
| BaseUnit | I_SalesDocumentItem | BaseUnit | Base Unit of Measure | |
| RequestedQuantityInBaseUnit | Requested Order Quantity in Base Unit | |||
| ItemGrossWeight | Gross Weight of the Item | |||
| ItemNetWeight | I_SalesDocumentItem | ItemNetWeight | Net Weight of the Item | |
| ItemWeightUnit | I_SalesDocumentItem | ItemWeightUnit | Unit of Weight | |
| ItemVolume | I_SalesDocumentItem | ItemVolume | Volume of the item | |
| ItemVolumeUnit | I_SalesDocumentItem | ItemVolumeUnit | Volume Unit | |
| ServicesRenderedDate | I_SalesDocumentItem | ServicesRenderedDate | Date on which services are rendered | |
| SalesDistrict | I_SalesDocumentItem | SalesDistrict | Sales District | |
| CustomerGroup | I_SalesDocumentItem | CustomerGroup | Customer Group | |
| HdrOrderProbabilityInPercent | SalesDocument | HdrOrderProbabilityInPercent | Sales probability | |
| ItemOrderProbabilityInPercent | I_SalesDocumentItem | ItemOrderProbabilityInPercent | Order Probability of the Item | |
| SalesDocumentRjcnReason | I_SalesDocumentItem | SalesDocumentRjcnReason | Reason for Rejection of Sales Documents | |
| PricingDate | I_SalesDocumentItem | PricingDate | Date for Pricing and Exchange Rate | |
| ExchangeRateDate | I_SalesDocumentItem | ExchangeRateDate | Translation Date | |
| PriceDetnExchangeRate | I_SalesDocumentItem | PriceDetnExchangeRate | Exchange Rate for Price Determination | |
| StatisticalValueControl | I_SalesDocumentItem | StatisticalValueControl | Statistical Values | |
| NetAmount | I_SalesDocumentItem | NetAmount | Net Value of the Document Item in Document Currency | |
| TransactionCurrency | I_SalesDocumentItem | TransactionCurrency | Transaction Currency | |
| SalesOrganizationCurrency | Statistics currency | |||
| NetPriceAmount | I_SalesDocumentItem | NetPriceAmount | Net Price | |
| NetPriceQuantity | I_SalesDocumentItem | NetPriceQuantity | Condition Pricing Unit | |
| NetPriceQuantityUnit | I_SalesDocumentItem | NetPriceQuantityUnit | SettlmtPrcUnit | |
| TaxAmount | I_SalesDocumentItem | TaxAmount | Tax Amount in Document Currency | |
| CostAmount | I_SalesDocumentItem | CostAmount | Cost in Document Currency | |
| Subtotal1Amount | I_SalesDocumentItem | Subtotal1Amount | Subtotal 1 from Pricing Procedure for Price Element | |
| Subtotal2Amount | I_SalesDocumentItem | Subtotal2Amount | Subtotal 2 from Pricing Procedure for Price Element | |
| Subtotal3Amount | I_SalesDocumentItem | Subtotal3Amount | Subtotal 3 from Pricing Procedure for Price Element | |
| Subtotal4Amount | I_SalesDocumentItem | Subtotal4Amount | Subtotal 4 from Pricing Procedure for Price Element | |
| Subtotal5Amount | I_SalesDocumentItem | Subtotal5Amount | Subtotal 5 from Pricing Procedure for Price Element | |
| Subtotal6Amount | I_SalesDocumentItem | Subtotal6Amount | Subtotal 6 from Pricing Procedure for Price Element | |
| ShippingPoint | I_SalesDocumentItem | ShippingPoint | Shipping Point / Receiving Point | |
| ShippingType | I_SalesDocumentItem | ShippingType | Shipping Type | |
| DeliveryPriority | I_SalesDocumentItem | DeliveryPriority | Delivery Priority | |
| InventorySpecialStockType | I_SalesDocumentItem | InventorySpecialStockType | Special Stock Indicator | |
| RequestedDeliveryDate | SalesDocument | RequestedDeliveryDate | Requested Delivery Date | |
| ShippingCondition | SalesDocument | ShippingCondition | Shipping Conditions | |
| DeliveryBlockReason | SalesDocument | DeliveryBlockReason | Delivery Block (Document Header) | |
| Plant | I_SalesDocumentItem | Plant | Plant (Own or External) | |
| StorageLocation | I_SalesDocumentItem | StorageLocation | Storage Location | |
| Route | I_SalesDocumentItem | Route | Vehicle route | |
| IncotermsClassification | I_SalesDocumentItem | IncotermsClassification | Incoterms (Part 1) | |
| IncotermsVersion | I_SalesDocumentItem | IncotermsVersion | Incoterms Version | |
| IncotermsTransferLocation | I_SalesDocumentItem | IncotermsTransferLocation | Incoterms (Part 2) | |
| IncotermsLocation1 | I_SalesDocumentItem | IncotermsLocation1 | Incoterms Location 1 | |
| IncotermsLocation2 | I_SalesDocumentItem | IncotermsLocation2 | Incoterms Location 2 | |
| MinDeliveryQtyInBaseUnit | I_SalesDocumentItem | MinDeliveryQtyInBaseUnit | Minimum Delivery Quantity in Delivery Note Processing | |
| UnlimitedOverdeliveryIsAllowed | I_SalesDocumentItem | UnlimitedOverdeliveryIsAllowed | Unlimited Overdelivery Allowed | |
| OverdelivTolrtdLmtRatioInPct | I_SalesDocumentItem | OverdelivTolrtdLmtRatioInPct | Overdelivery Tolerance | |
| UnderdelivTolrtdLmtRatioInPct | I_SalesDocumentItem | UnderdelivTolrtdLmtRatioInPct | Underdelivery Tolerance | |
| PartialDeliveryIsAllowed | I_SalesDocumentItem | PartialDeliveryIsAllowed | Partial Delivery at Item Level | |
| BindingPeriodValidityStartDate | SalesDocument | BindingPeriodValidityStartDate | Quotation/Inquiry is Valid From | |
| BindingPeriodValidityEndDate | SalesDocument | BindingPeriodValidityEndDate | Date Until Which Bid/Quotation is Binding (Valid-To Date) | |
| CompletionRule | Completion Rule for Quotation / Contract | |||
| OutlineAgreementTargetAmount | Target Value for Outline Agreement in Document Currency | |||
| BillingDocumentDate | I_SalesDocumentItem | BillingDocumentDate | Billing Date | |
| BillingCompanyCode | SalesDocument | BillingCompanyCode | Company Code to Be Billed | |
| HeaderBillingBlockReason | SalesDocument | HeaderBillingBlockReason | Billing Block in SD Document | |
| ItemBillingBlockReason | I_SalesDocumentItem | ItemBillingBlockReason | Billing Block for Item | |
| ItemIsBillingRelevant | Relevant for Billing | |||
| FiscalYear | Fiscal Year | |||
| FiscalPeriod | I_SalesDocumentItem | FiscalPeriod | Posting Period | |
| CustomerAccountAssignmentGroup | I_SalesDocumentItem | CustomerAccountAssignmentGroup | Account Assignment Group for Customer | |
| ExchangeRateType | SalesDocument | ExchangeRateType | Exchange Rate Type | |
| Currency | CompanyCode | Currency | Valuation Crcy | |
| FiscalYearVariant | CompanyCode | FiscalYearVariant | Fiscal Year Variant | |
| BusinessArea | I_SalesDocumentItem | BusinessArea | Business Area | |
| ProfitCenter | I_SalesDocumentItem | ProfitCenter | Profit Center | |
| OrderID | I_SalesDocumentItem | OrderID | Order Number | |
| ProfitabilitySegment | Deprecated: Profitability Segment | |||
| ProfitabilitySegment_2 | ProfitabilitySegment_2 | Profitability Segment | ||
| ControllingArea | SalesDocument | ControllingArea | Controlling Area | |
| ReferenceSDDocument | I_SalesDocumentItem | ReferenceSDDocument | Document Number of Reference Document | |
| ReferenceSDDocumentItem | I_SalesDocumentItem | ReferenceSDDocumentItem | Item Number of the Reference Item | |
| ReferenceSDDocumentCategory | I_SalesDocumentItem | ReferenceSDDocumentCategory | Category of Reference Document | |
| OriginSDDocument | I_SalesDocumentItem | OriginSDDocument | Originating Document | |
| OriginSDDocumentItem | I_SalesDocumentItem | OriginSDDocumentItem | Originating Item | |
| OverallSDProcessStatus | SalesDocument | OverallSDProcessStatus | Overall Processing Status (Header/All Items) | |
| OverallTotalDeliveryStatus | SalesDocument | OverallTotalDeliveryStatus | Overall Delivery Status (All Items) | |
| OverallOrdReltdBillgStatus | SalesDocument | OverallOrdReltdBillgStatus | Order-Related Billing Status (All Items) | |
| TotalCreditCheckStatus | SalesDocument | TotalCreditCheckStatus | Overall Status of Credit Checks | |
| OverallSDDocumentRejectionSts | SalesDocument | OverallSDDocumentRejectionSts | Rejection Status (All Items) | |
| OverallTotalSDDocRefStatus | SalesDocument | OverallTotalSDDocRefStatus | Overall Reference Status (All Items) | |
| OverallSDDocReferenceStatus | SalesDocument | OverallSDDocReferenceStatus | Reference Status (All Items) | |
| OverallDelivConfStatus | Delivery Confirmation Status (All Items) | |||
| OverallDeliveryStatus | SalesDocument | OverallDeliveryStatus | Delivery Status (All Items) | |
| DeliveryBlockStatus | Delivery Block Status (Item) | |||
| BillingBlockStatus | I_SalesDocumentItem | BillingBlockStatus | Billing Block Status (Item) | |
| TotalSDDocReferenceStatus | I_SalesDocumentItem | TotalSDDocReferenceStatus | Overall Reference Status (Item) | |
| SDDocReferenceStatus | I_SalesDocumentItem | SDDocReferenceStatus | Reference Status (Item) | |
| SDDocumentRejectionStatus | I_SalesDocumentItem | SDDocumentRejectionStatus | Rejection Status (Item) | |
| ItemGeneralIncompletionStatus | I_SalesDocumentItem | ItemGeneralIncompletionStatus | Incompletion Status (Item) | |
| ItemBillingIncompletionStatus | I_SalesDocumentItem | ItemBillingIncompletionStatus | Billing Incompletion Status (Item) | |
| PricingIncompletionStatus | I_SalesDocumentItem | PricingIncompletionStatus | Pricing Incompletion Status (Item) | |
| ItemDeliveryIncompletionStatus | I_SalesDocumentItem | ItemDeliveryIncompletionStatus | Delivery Incompletion Status (Item) | |
| DeliveryConfirmationStatus | Delivery Confirmation Status (Item) | |||
| OrderRelatedBillingStatus | I_SalesDocumentItem | OrderRelatedBillingStatus | Order-Related Billing Status (Item) | |
| SDProcessStatus | I_SalesDocumentItem | SDProcessStatus | Overall Processing Status (Item) | |
| TotalDeliveryStatus | I_SalesDocumentItem | TotalDeliveryStatus | Overall Delivery Status (Item) | |
| DeliveryStatus | I_SalesDocumentItem | DeliveryStatus | Delivery Status (Item) | |
| 19_SalesDocument |
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_SalesDocumentItemDEX.
-- 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: CSDSLSDOCITMDX
CREATE VIEW C_SalesDocumentItemDEX AS
SELECT
SalesDocumentItem.SalesDocument AS SalesDocument,
SalesDocumentItem.SalesDocumentItem AS SalesDocumentItem,
SalesDocument.SDDocumentCategory AS SDDocumentCategory,
SalesDocument.SalesDocumentType AS SalesDocumentType,
SalesDocumentItem.SalesDocumentItemCategory AS SalesDocumentItemCategory,
SalesDocumentItem.IsReturnsItem AS IsReturnsItem,
SalesDocumentItem.CreationDate AS CreationDate,
SalesDocumentItem.CreationTime AS CreationTime,
SalesDocumentItem.LastChangeDate AS LastChangeDate,
SalesDocument.SalesOrganization AS SalesOrganization,
SalesDocument.DistributionChannel AS DistributionChannel,
SalesDocumentItem.Division AS Division,
SalesDocument.SalesGroup AS SalesGroup,
SalesDocument.SalesOffice AS SalesOffice,
SalesDocumentItem.InternationalArticleNumber AS InternationalArticleNumber,
SalesDocumentItem.Batch AS Batch,
SalesDocumentItem.Material AS Material,
SalesDocumentItem.Product AS Product,
SalesDocumentItem.OriginallyRequestedMaterial AS OriginallyRequestedMaterial,
SalesDocumentItem.MaterialSubstitutionReason AS MaterialSubstitutionReason,
SalesDocumentItem.MaterialGroup AS MaterialGroup,
SalesDocumentItem.ProductGroup AS ProductGroup,
SalesDocumentItem.AdditionalMaterialGroup1 AS AdditionalMaterialGroup1,
SalesDocumentItem.AdditionalMaterialGroup2 AS AdditionalMaterialGroup2,
SalesDocumentItem.AdditionalMaterialGroup3 AS AdditionalMaterialGroup3,
SalesDocumentItem.AdditionalMaterialGroup4 AS AdditionalMaterialGroup4,
SalesDocumentItem.AdditionalMaterialGroup5 AS AdditionalMaterialGroup5,
SalesDocument.SoldToParty AS SoldToParty,
SalesDocument.AdditionalCustomerGroup1 AS AdditionalCustomerGroup1,
SalesDocument.AdditionalCustomerGroup2 AS AdditionalCustomerGroup2,
SalesDocument.AdditionalCustomerGroup3 AS AdditionalCustomerGroup3,
SalesDocument.AdditionalCustomerGroup4 AS AdditionalCustomerGroup4,
SalesDocument.AdditionalCustomerGroup5 AS AdditionalCustomerGroup5,
SalesDocumentItem.ShipToParty AS ShipToParty,
SalesDocumentItem.PayerParty AS PayerParty,
SalesDocumentItem.BillToParty AS BillToParty,
SalesDocument.SDDocumentReason AS SDDocumentReason,
SalesDocument.SalesDocumentDate AS SalesDocumentDate,
SalesDocumentItem.OrderQuantity AS OrderQuantity,
SalesDocumentItem.OrderQuantityUnit AS OrderQuantityUnit,
SalesDocumentItem.TargetQuantity AS TargetQuantity,
SalesDocumentItem.TargetQuantityUnit AS TargetQuantityUnit,
SalesDocumentItem.TargetToBaseQuantityDnmntr AS TargetToBaseQuantityDnmntr,
SalesDocumentItem.TargetToBaseQuantityNmrtr AS TargetToBaseQuantityNmrtr,
SalesDocumentItem.OrderToBaseQuantityDnmntr AS OrderToBaseQuantityDnmntr,
SalesDocumentItem.OrderToBaseQuantityNmrtr AS OrderToBaseQuantityNmrtr,
SalesDocumentItem.ConfdDelivQtyInOrderQtyUnit AS ConfdDelivQtyInOrderQtyUnit,
SalesDocumentItem.TargetDelivQtyInOrderQtyUnit AS TargetDelivQtyInOrderQtyUnit,
SalesDocumentItem.ConfdDeliveryQtyInBaseUnit AS ConfdDeliveryQtyInBaseUnit,
SalesDocumentItem.BaseUnit AS BaseUnit,
SalesDocumentItem.ItemNetWeight AS ItemNetWeight,
SalesDocumentItem.ItemWeightUnit AS ItemWeightUnit,
SalesDocumentItem.ItemVolume AS ItemVolume,
SalesDocumentItem.ItemVolumeUnit AS ItemVolumeUnit,
SalesDocumentItem.ServicesRenderedDate AS ServicesRenderedDate,
SalesDocumentItem.SalesDistrict AS SalesDistrict,
SalesDocumentItem.CustomerGroup AS CustomerGroup,
SalesDocument.HdrOrderProbabilityInPercent AS HdrOrderProbabilityInPercent,
SalesDocumentItem.ItemOrderProbabilityInPercent AS ItemOrderProbabilityInPercent,
SalesDocumentItem.SalesDocumentRjcnReason AS SalesDocumentRjcnReason,
SalesDocumentItem.PricingDate AS PricingDate,
SalesDocumentItem.ExchangeRateDate AS ExchangeRateDate,
SalesDocumentItem.PriceDetnExchangeRate AS PriceDetnExchangeRate,
SalesDocumentItem.StatisticalValueControl AS StatisticalValueControl,
SalesDocumentItem.NetAmount AS NetAmount,
SalesDocumentItem.TransactionCurrency AS TransactionCurrency,
SalesDocumentItem._SalesOrganization.SalesOrganizationCurrency AS SalesOrganizationCurrency,
SalesDocumentItem.NetPriceAmount AS NetPriceAmount,
SalesDocumentItem.NetPriceQuantity AS NetPriceQuantity,
SalesDocumentItem.NetPriceQuantityUnit AS NetPriceQuantityUnit,
SalesDocumentItem.TaxAmount AS TaxAmount,
SalesDocumentItem.CostAmount AS CostAmount,
SalesDocumentItem.Subtotal1Amount AS Subtotal1Amount,
SalesDocumentItem.Subtotal2Amount AS Subtotal2Amount,
SalesDocumentItem.Subtotal3Amount AS Subtotal3Amount,
SalesDocumentItem.Subtotal4Amount AS Subtotal4Amount,
SalesDocumentItem.Subtotal5Amount AS Subtotal5Amount,
SalesDocumentItem.Subtotal6Amount AS Subtotal6Amount,
SalesDocumentItem.ShippingPoint AS ShippingPoint,
SalesDocumentItem.ShippingType AS ShippingType,
SalesDocumentItem.DeliveryPriority AS DeliveryPriority,
SalesDocumentItem.InventorySpecialStockType AS InventorySpecialStockType,
SalesDocument.RequestedDeliveryDate AS RequestedDeliveryDate,
SalesDocument.ShippingCondition AS ShippingCondition,
SalesDocument.DeliveryBlockReason AS DeliveryBlockReason,
SalesDocumentItem.Plant AS Plant,
SalesDocumentItem.StorageLocation AS StorageLocation,
SalesDocumentItem.Route AS Route,
SalesDocumentItem.IncotermsClassification AS IncotermsClassification,
SalesDocumentItem.IncotermsVersion AS IncotermsVersion,
SalesDocumentItem.IncotermsTransferLocation AS IncotermsTransferLocation,
SalesDocumentItem.IncotermsLocation1 AS IncotermsLocation1,
SalesDocumentItem.IncotermsLocation2 AS IncotermsLocation2,
SalesDocumentItem.MinDeliveryQtyInBaseUnit AS MinDeliveryQtyInBaseUnit,
SalesDocumentItem.UnlimitedOverdeliveryIsAllowed AS UnlimitedOverdeliveryIsAllowed,
SalesDocumentItem.OverdelivTolrtdLmtRatioInPct AS OverdelivTolrtdLmtRatioInPct,
SalesDocumentItem.UnderdelivTolrtdLmtRatioInPct AS UnderdelivTolrtdLmtRatioInPct,
SalesDocumentItem.PartialDeliveryIsAllowed AS PartialDeliveryIsAllowed,
SalesDocument.BindingPeriodValidityStartDate AS BindingPeriodValidityStartDate,
SalesDocument.BindingPeriodValidityEndDate AS BindingPeriodValidityEndDate,
SalesDocumentItem.BillingDocumentDate AS BillingDocumentDate,
SalesDocument.BillingCompanyCode AS BillingCompanyCode,
SalesDocument.HeaderBillingBlockReason AS HeaderBillingBlockReason,
SalesDocumentItem.ItemBillingBlockReason AS ItemBillingBlockReason,
SalesDocumentItem.FiscalPeriod AS FiscalPeriod,
SalesDocumentItem.CustomerAccountAssignmentGroup AS CustomerAccountAssignmentGroup,
SalesDocument.ExchangeRateType AS ExchangeRateType,
CompanyCode.Currency AS Currency,
CompanyCode.FiscalYearVariant AS FiscalYearVariant,
SalesDocumentItem.BusinessArea AS BusinessArea,
SalesDocumentItem.ProfitCenter AS ProfitCenter,
SalesDocumentItem.OrderID AS OrderID,
ProfitabilitySegment_2,
SalesDocument.ControllingArea AS ControllingArea,
SalesDocumentItem.ReferenceSDDocument AS ReferenceSDDocument,
SalesDocumentItem.ReferenceSDDocumentItem AS ReferenceSDDocumentItem,
SalesDocumentItem.ReferenceSDDocumentCategory AS ReferenceSDDocumentCategory,
SalesDocumentItem.OriginSDDocument AS OriginSDDocument,
SalesDocumentItem.OriginSDDocumentItem AS OriginSDDocumentItem,
SalesDocument.OverallSDProcessStatus AS OverallSDProcessStatus,
SalesDocument.OverallTotalDeliveryStatus AS OverallTotalDeliveryStatus,
SalesDocument.OverallOrdReltdBillgStatus AS OverallOrdReltdBillgStatus,
SalesDocument.TotalCreditCheckStatus AS TotalCreditCheckStatus,
SalesDocument.OverallSDDocumentRejectionSts AS OverallSDDocumentRejectionSts,
SalesDocument.OverallTotalSDDocRefStatus AS OverallTotalSDDocRefStatus,
SalesDocument.OverallSDDocReferenceStatus AS OverallSDDocReferenceStatus,
SalesDocument.OverallDeliveryStatus AS OverallDeliveryStatus,
SalesDocumentItem.BillingBlockStatus AS BillingBlockStatus,
SalesDocumentItem.TotalSDDocReferenceStatus AS TotalSDDocReferenceStatus,
SalesDocumentItem.SDDocReferenceStatus AS SDDocReferenceStatus,
SalesDocumentItem.SDDocumentRejectionStatus AS SDDocumentRejectionStatus,
SalesDocumentItem.ItemGeneralIncompletionStatus AS ItemGeneralIncompletionStatus,
SalesDocumentItem.ItemBillingIncompletionStatus AS ItemBillingIncompletionStatus,
SalesDocumentItem.PricingIncompletionStatus AS PricingIncompletionStatus,
SalesDocumentItem.ItemDeliveryIncompletionStatus AS ItemDeliveryIncompletionStatus,
SalesDocumentItem.OrderRelatedBillingStatus AS OrderRelatedBillingStatus,
SalesDocumentItem.SDProcessStatus AS SDProcessStatus,
SalesDocumentItem.TotalDeliveryStatus AS TotalDeliveryStatus,
SalesDocumentItem.DeliveryStatus AS DeliveryStatus
FROM I_SalesDocumentItem AS SalesDocumentItem
LEFT OUTER JOIN E_SalesDocumentItemBasic AS _ExtensionItem ON SalesDocument = _ExtensionItem.SalesDocument AND SalesDocumentItem = _ExtensionItem.SalesDocumentItem -- association [0..1]
LEFT OUTER JOIN E_SalesDocumentBasic AS _ExtensionHeader ON SalesDocument = _ExtensionHeader.SalesDocument -- 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