P_SlsDocItemPrdtvTrngData
P_SlsDocItemPrdtvTrngData is a Composite CDS View in SAP S/4HANA. It reads from 3 data sources (P_SlsDocItemPrdtvTrngData1, I_SalesDocumentItem, I_SalesDocument) and exposes 146 fields with key fields SalesDocument, SalesDocumentItem.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| P_SlsDocItemPrdtvTrngData1 | DelivCrtnDate | inner |
| I_SalesDocumentItem | Item | from |
| I_SalesDocument | SalesDocument | inner |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.private | true | view | |
| VDM.viewType | #COMPOSITE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.sqlViewName | PSLSDOCITEMPTD | view |
Fields (146)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SalesDocument | I_SalesDocumentItem | SalesDocument | SD Document |
| KEY | SalesDocumentItem | I_SalesDocumentItem | SalesDocumentItem | Sales Document Item |
| DeliveryDelayInDays | ||||
| SDDocumentCategory | I_SalesDocumentItem | SDDocumentCategory | Document Cat. | |
| SalesDocumentItemCategory | I_SalesDocumentItem | SalesDocumentItemCategory | Item Category | |
| SalesDocumentItemType | I_SalesDocumentItem | SalesDocumentItemType | Item Type | |
| CompletionRule | I_SalesDocumentItem | CompletionRule | Completion Rule | |
| SalesDocumentType | I_SalesDocument | SalesDocumentType | Sales Doc. Type | |
| SalesDocumentProcessingType | I_SalesDocument | SalesDocumentProcessingType | ||
| ItemCreatedByUser | I_SalesDocumentItem | CreatedByUser | User Name | |
| ItemCreationDate | I_SalesDocumentItem | CreationDate | Time Stamp | |
| ItemCreationTime | I_SalesDocumentItem | CreationTime | Time of Change | |
| ItemLastChangeDate | I_SalesDocumentItem | LastChangeDate | Time Stamp | |
| CreatedByUser | I_SalesDocument | CreatedByUser | User Name | |
| LastChangedByUser | I_SalesDocument | LastChangedByUser | User Name | |
| CreationDate | I_SalesDocument | CreationDate | Time Stamp | |
| CreationTime | I_SalesDocument | CreationTime | Time of Change | |
| LastChangeDate | I_SalesDocument | LastChangeDate | Time Stamp | |
| LastChangeDateTime | I_SalesDocument | LastChangeDateTime | Timestamp | |
| ItemCreationDateYear | ||||
| ItemCreationCalendarMonth | ||||
| ItemCreationCalendarWeek | ||||
| Division | I_SalesDocumentItem | Division | Internal Division ID | |
| SalesOrganization | I_SalesDocument | SalesOrganization | Sales Organization | |
| DistributionChannel | I_SalesDocument | DistributionChannel | RefDistCh-Cust/Mat. | |
| OrganizationDivision | ||||
| SalesGroup | I_SalesDocument | SalesGroup | Sales Group | |
| SalesOffice | I_SalesDocument | SalesOffice | Sales Office | |
| Material | I_SalesDocumentItem | Material | Vehicle Model | |
| OriginallyRequestedMaterial | I_SalesDocumentItem | OriginallyRequestedMaterial | MaterialEntered | |
| MaterialByCustomer | I_SalesDocumentItem | MaterialByCustomer | Customer Mat. | |
| InternationalArticleNumber | I_SalesDocumentItem | InternationalArticleNumber | EAN/UPC | |
| Batch | I_SalesDocumentItem | Batch | Lot No. | |
| ProductHierarchyNode | I_SalesDocumentItem | ProductHierarchyNode | Prod. Hierarchy | |
| ProductCatalog | I_SalesDocumentItem | ProductCatalog | Catalog | |
| MaterialSubstitutionReason | I_SalesDocumentItem | MaterialSubstitutionReason | Reason | |
| MaterialGroup | I_SalesDocumentItem | MaterialGroup | Product Group | |
| AdditionalMaterialGroup1 | I_SalesDocumentItem | AdditionalMaterialGroup1 | MaterialGroup 1 | |
| AdditionalMaterialGroup2 | I_SalesDocumentItem | AdditionalMaterialGroup2 | MaterialGroup 2 | |
| AdditionalMaterialGroup3 | I_SalesDocumentItem | AdditionalMaterialGroup3 | MaterialGroup 3 | |
| AdditionalMaterialGroup4 | I_SalesDocumentItem | AdditionalMaterialGroup4 | MaterialGroup 4 | |
| AdditionalMaterialGroup5 | I_SalesDocumentItem | AdditionalMaterialGroup5 | MaterialGroup 5 | |
| ProductConfiguration | I_SalesDocumentItem | ProductConfiguration | Object Number | |
| MRPArea | I_SalesDocumentItem | MRPArea | MRP Area | |
| BillOfMaterial | I_SalesDocumentItem | BillOfMaterial | BOM | |
| ProdAvailabilityCheckGroup | I_SalesDocumentItem | ProdAvailabilityCheckGroup | Avail. check | |
| SoldToParty | I_SalesDocument | SoldToParty | Sold-to Party | |
| ShipToParty | ||||
| SalesDocumentItemText | I_SalesDocumentItem | SalesDocumentItemText | Item Descr. | |
| OrderQuantity | I_SalesDocumentItem | OrderQuantity | Quantity | |
| OrderQuantityUnit | I_SalesDocumentItem | OrderQuantityUnit | Sales Unit | |
| ConfdDelivQtyInOrderQtyUnit | I_SalesDocumentItem | ConfdDelivQtyInOrderQtyUnit | Confd Quantity | |
| TargetDelivQtyInOrderQtyUnit | I_SalesDocumentItem | TargetDelivQtyInOrderQtyUnit | Subitem Qty | |
| ConfdDeliveryQtyInBaseUnit | I_SalesDocumentItem | ConfdDeliveryQtyInBaseUnit | CumltvConfdQty | |
| BaseUnit | I_SalesDocumentItem | BaseUnit | Unit of Measure | |
| RequestedQuantity | I_SalesDocumentItem | RequestedQuantity | Requested Quantity | |
| RequestedQuantityUnit | I_SalesDocumentItem | RequestedQuantityUnit | Requested Quantity Unit | |
| RequestedQuantityInBaseUnit | I_SalesDocumentItem | RequestedQuantityInBaseUnit | Requested Qty | |
| ItemGrossWeight | I_SalesDocumentItem | ItemGrossWeight | Gross Weight | |
| ItemNetWeight | I_SalesDocumentItem | ItemNetWeight | Net Weight | |
| ItemWeightUnit | I_SalesDocumentItem | ItemWeightUnit | Unit of Weight | |
| ItemVolume | I_SalesDocumentItem | ItemVolume | Volume | |
| ItemVolumeUnit | I_SalesDocumentItem | ItemVolumeUnit | Volume Unit | |
| SalesDistrict | I_SalesDocumentItem | SalesDistrict | Sales District | |
| SalesDeal | I_SalesDocumentItem | SalesDeal | Sales Deal | |
| SalesPromotion | ||||
| RetailPromotion | ||||
| CustomerGroup | I_SalesDocumentItem | CustomerGroup | Customer Group | |
| RequirementSegment | I_SalesDocumentItem | RequirementSegment | Req. Segment | |
| QuantityIsFixed | I_SalesDocumentItem | QuantityIsFixed | Qty. is fixed | |
| AdditionalCustomerGroup1 | I_SalesDocument | AdditionalCustomerGroup1 | Customer Grp 1 | |
| AdditionalCustomerGroup2 | I_SalesDocument | AdditionalCustomerGroup2 | Customer Grp 2 | |
| AdditionalCustomerGroup3 | I_SalesDocument | AdditionalCustomerGroup3 | Customer Grp 3 | |
| AdditionalCustomerGroup4 | I_SalesDocument | AdditionalCustomerGroup4 | Customer Grp 4 | |
| AdditionalCustomerGroup5 | I_SalesDocument | AdditionalCustomerGroup5 | Customer Grp 5 | |
| CreditControlArea | I_SalesDocument | CreditControlArea | Credit Control Area | |
| SalesDocumentDate | I_SalesDocument | SalesDocumentDate | Document Date | |
| SDDocumentReason | I_SalesDocument | SDDocumentReason | Order Reason | |
| SDDocumentCollectiveNumber | I_SalesDocument | SDDocumentCollectiveNumber | ||
| CustomerPurchaseOrderType | I_SalesDocument | CustomerPurchaseOrderType | ||
| CustomerPurchaseOrderDate | I_SalesDocument | CustomerPurchaseOrderDate | Purchase Order Date | |
| CustomerPurchaseOrderSuplmnt | I_SalesDocument | CustomerPurchaseOrderSuplmnt | ||
| NetAmount | I_SalesDocumentItem | NetAmount | Stated Amount | |
| TransactionCurrency | I_SalesDocumentItem | TransactionCurrency | Transaction Currency | |
| MaterialPricingGroup | I_SalesDocumentItem | MaterialPricingGroup | ||
| NetPriceAmount | I_SalesDocumentItem | NetPriceAmount | Net Price | |
| NetPriceQuantity | I_SalesDocumentItem | NetPriceQuantity | Price Unit | |
| NetPriceQuantityUnit | I_SalesDocumentItem | NetPriceQuantityUnit | SettlmtPrcUnit | |
| TaxAmount | I_SalesDocumentItem | TaxAmount | Tax Amt in Rptg Crcy | |
| CostAmount | I_SalesDocumentItem | CostAmount | Cost | |
| Subtotal1Amount | I_SalesDocumentItem | Subtotal1Amount | Subtotal 1 Amount | |
| Subtotal2Amount | I_SalesDocumentItem | Subtotal2Amount | Subtotal 2 Amount | |
| Subtotal3Amount | I_SalesDocumentItem | Subtotal3Amount | Subtotal 3 Amount | |
| Subtotal4Amount | I_SalesDocumentItem | Subtotal4Amount | Subtotal 4 Amount | |
| Subtotal5Amount | I_SalesDocumentItem | Subtotal5Amount | Subtotal 5 Amount | |
| Subtotal6Amount | I_SalesDocumentItem | Subtotal6Amount | Subtotal 6 Amount | |
| SalesDocumentCondition | I_SalesDocumentItem | SalesDocumentCondition | Doc. Condition | |
| TotalNetAmount | I_SalesDocument | TotalNetAmount | Total Net Amount | |
| ShippingPoint | I_SalesDocumentItem | ShippingPoint | Shipping Point | |
| ShippingType | I_SalesDocumentItem | ShippingType | Shipping Type | |
| InventorySpecialStockType | I_SalesDocumentItem | InventorySpecialStockType | Special Stock Type | |
| DeliveryPriority | I_SalesDocumentItem | DeliveryPriority | Delivery Prior. | |
| Plant | I_SalesDocumentItem | Plant | Valuation Area | |
| StorageLocation | I_SalesDocumentItem | StorageLocation | StorageLocation | |
| Route | I_SalesDocumentItem | Route | Vehicle route | |
| DeliveryGroup | I_SalesDocumentItem | DeliveryGroup | Delivery Group | |
| DeliveryDateQuantityIsFixed | I_SalesDocumentItem | DeliveryDateQuantityIsFixed | Fixed Date | |
| PartialDeliveryIsAllowed | I_SalesDocumentItem | PartialDeliveryIsAllowed | Partial Deliv. | |
| MaxNmbrOfPartialDelivery | I_SalesDocumentItem | MaxNmbrOfPartialDelivery | Max.Part.Deliv. | |
| UnlimitedOverdeliveryIsAllowed | I_SalesDocumentItem | UnlimitedOverdeliveryIsAllowed | Unlimited Tol. | |
| OverdelivTolrtdLmtRatioInPct | I_SalesDocumentItem | OverdelivTolrtdLmtRatioInPct | Overdeliv. Tol. | |
| UnderdelivTolrtdLmtRatioInPct | I_SalesDocumentItem | UnderdelivTolrtdLmtRatioInPct | Underdel. Tol. | |
| MinDeliveryQtyInBaseUnit | I_SalesDocumentItem | MinDeliveryQtyInBaseUnit | Min. Dely Qty | |
| OpenDeliveryLeadingUnitCode | I_SalesDocumentItem | OpenDeliveryLeadingUnitCode | Units meas. use | |
| ShippingCondition | I_SalesDocument | ShippingCondition | Shipping Conditions | |
| CompleteDeliveryIsDefined | I_SalesDocument | CompleteDeliveryIsDefined | Complete Dlv. | |
| ProductSeasonYear | I_SalesDocumentItem | ProductSeasonYear | Season Year | |
| ProductSeason | I_SalesDocumentItem | ProductSeason | Season | |
| ProductCollection | I_SalesDocumentItem | ProductCollection | Collection | |
| ProductTheme | I_SalesDocumentItem | ProductTheme | Theme | |
| FashionCancelDate | I_SalesDocumentItem | FashionCancelDate | Cancel Date | |
| ProductCharacteristic1 | I_SalesDocumentItem | ProductCharacteristic1 | Characteristic 1 | |
| ProductCharacteristic2 | I_SalesDocumentItem | ProductCharacteristic2 | Characteristic 2 | |
| ProductCharacteristic3 | I_SalesDocumentItem | ProductCharacteristic3 | Characteristic 3 | |
| ShippingGroupNumber | I_SalesDocumentItem | ShippingGroupNumber | PSST Group | |
| ShippingGroupRule | I_SalesDocumentItem | ShippingGroupRule | PSST Grouping Rule | |
| BillingCompanyCode | I_SalesDocument | BillingCompanyCode | CCodeToBeBilled | |
| IncotermsVersion | I_SalesDocumentItem | IncotermsVersion | Inco. Version | |
| IncotermsClassification | I_SalesDocumentItem | IncotermsClassification | Incoterms | |
| IncotermsTransferLocation | I_SalesDocumentItem | IncotermsTransferLocation | Incoterms 2 | |
| IncotermsLocation1 | I_SalesDocumentItem | IncotermsLocation1 | Inco. Location1 | |
| IncotermsLocation2 | I_SalesDocumentItem | IncotermsLocation2 | Inco. Location2 | |
| CustomerPaymentTerms | I_SalesDocumentItem | CustomerPaymentTerms | Pyt Terms | |
| PaymentMethod | I_SalesDocumentItem | PaymentMethod | Pymt Meth. | |
| BusinessArea | I_SalesDocumentItem | BusinessArea | Business Area | |
| ProfitCenter | I_SalesDocumentItem | ProfitCenter | Profit Center | |
| WBSElement | I_SalesDocumentItem | WBSElement | WBS Internal ID | |
| WBSElementInternalID | I_SalesDocumentItem | WBSElementInternalID | WBS Internal ID | |
| OrderID | I_SalesDocumentItem | OrderID | Order ID | |
| ProfitabilitySegment | I_SalesDocumentItem | ProfitabilitySegment_2 | Profit. segment | |
| CostCenterBusinessArea | ||||
| CostCenter | I_SalesDocument | CostCenter | Cost Center | |
| ControllingArea | I_SalesDocument | ControllingArea | Controlling Area | |
| HigherLevelItem | I_SalesDocumentItem | HigherLevelItem | Higher-Lev.Item | |
| ValueContract | I_SalesDocumentItem | ValueContract | Value Contract No. | |
| ValueContractItem | I_SalesDocumentItem | ValueContractItem | Val. Cont.Item |
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 P_SlsDocItemPrdtvTrngData.
-- 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: PSLSDOCITEMPTD
CREATE VIEW P_SlsDocItemPrdtvTrngData AS
SELECT
Item.SalesDocument AS SalesDocument,
Item.SalesDocumentItem AS SalesDocumentItem,
cast( dats_days_between(Item._SlsDocItemEnhancedFields._DeliveryCreationDate.DeliveryCreationDate , DelivCrtnDate.DelivDocItemCreationDate) as deliverycreationdelay ) AS DeliveryDelayInDays,
Item.SDDocumentCategory AS SDDocumentCategory,
Item.SalesDocumentItemCategory AS SalesDocumentItemCategory,
Item.SalesDocumentItemType AS SalesDocumentItemType,
Item.CompletionRule AS CompletionRule,
SalesDocument.SalesDocumentType AS SalesDocumentType,
SalesDocument.SalesDocumentProcessingType AS SalesDocumentProcessingType,
Item.CreatedByUser AS ItemCreatedByUser,
Item.CreationDate AS ItemCreationDate,
Item.CreationTime AS ItemCreationTime,
Item.LastChangeDate AS ItemLastChangeDate,
SalesDocument.CreatedByUser AS CreatedByUser,
SalesDocument.LastChangedByUser AS LastChangedByUser,
SalesDocument.CreationDate AS CreationDate,
SalesDocument.CreationTime AS CreationTime,
SalesDocument.LastChangeDate AS LastChangeDate,
SalesDocument.LastChangeDateTime AS LastChangeDateTime,
cast (CalendarDate.CalendarYear as creation_date_year) AS ItemCreationDateYear,
cast (CalendarDate.CalendarMonth as creation_date_month) AS ItemCreationCalendarMonth,
cast (CalendarDate.CalendarWeek as creation_date_week) AS ItemCreationCalendarWeek,
Item.Division AS Division,
SalesDocument.SalesOrganization AS SalesOrganization,
SalesDocument.DistributionChannel AS DistributionChannel,
cast (SalesDocument.OrganizationDivision as organization_division) AS OrganizationDivision,
SalesDocument.SalesGroup AS SalesGroup,
SalesDocument.SalesOffice AS SalesOffice,
Item.Material AS Material,
Item.OriginallyRequestedMaterial AS OriginallyRequestedMaterial,
Item.MaterialByCustomer AS MaterialByCustomer,
Item.InternationalArticleNumber AS InternationalArticleNumber,
Item.Batch AS Batch,
Item.ProductHierarchyNode AS ProductHierarchyNode,
Item.ProductCatalog AS ProductCatalog,
Item.MaterialSubstitutionReason AS MaterialSubstitutionReason,
Item.MaterialGroup AS MaterialGroup,
Item.AdditionalMaterialGroup1 AS AdditionalMaterialGroup1,
Item.AdditionalMaterialGroup2 AS AdditionalMaterialGroup2,
Item.AdditionalMaterialGroup3 AS AdditionalMaterialGroup3,
Item.AdditionalMaterialGroup4 AS AdditionalMaterialGroup4,
Item.AdditionalMaterialGroup5 AS AdditionalMaterialGroup5,
Item.ProductConfiguration AS ProductConfiguration,
Item.MRPArea AS MRPArea,
Item.BillOfMaterial AS BillOfMaterial,
Item.ProdAvailabilityCheckGroup AS ProdAvailabilityCheckGroup,
SalesDocument.SoldToParty AS SoldToParty,
cast( coalesce(ItemShipToParty.Customer, HeaderShipToParty.Customer)as kunwe) AS ShipToParty,
Item.SalesDocumentItemText AS SalesDocumentItemText,
Item.OrderQuantity AS OrderQuantity,
Item.OrderQuantityUnit AS OrderQuantityUnit,
Item.ConfdDelivQtyInOrderQtyUnit AS ConfdDelivQtyInOrderQtyUnit,
Item.TargetDelivQtyInOrderQtyUnit AS TargetDelivQtyInOrderQtyUnit,
Item.ConfdDeliveryQtyInBaseUnit AS ConfdDeliveryQtyInBaseUnit,
Item.BaseUnit AS BaseUnit,
Item.RequestedQuantity AS RequestedQuantity,
Item.RequestedQuantityUnit AS RequestedQuantityUnit,
Item.RequestedQuantityInBaseUnit AS RequestedQuantityInBaseUnit,
Item.ItemGrossWeight AS ItemGrossWeight,
Item.ItemNetWeight AS ItemNetWeight,
Item.ItemWeightUnit AS ItemWeightUnit,
Item.ItemVolume AS ItemVolume,
Item.ItemVolumeUnit AS ItemVolumeUnit,
Item.SalesDistrict AS SalesDistrict,
Item.SalesDeal AS SalesDeal,
cast (Item.SalesPromotion as sales_promotion) AS SalesPromotion,
cast (Item.RetailPromotion as retail_promotion) AS RetailPromotion,
Item.CustomerGroup AS CustomerGroup,
Item.RequirementSegment AS RequirementSegment,
Item.QuantityIsFixed AS QuantityIsFixed,
SalesDocument.AdditionalCustomerGroup1 AS AdditionalCustomerGroup1,
SalesDocument.AdditionalCustomerGroup2 AS AdditionalCustomerGroup2,
SalesDocument.AdditionalCustomerGroup3 AS AdditionalCustomerGroup3,
SalesDocument.AdditionalCustomerGroup4 AS AdditionalCustomerGroup4,
SalesDocument.AdditionalCustomerGroup5 AS AdditionalCustomerGroup5,
SalesDocument.CreditControlArea AS CreditControlArea,
SalesDocument.SalesDocumentDate AS SalesDocumentDate,
SalesDocument.SDDocumentReason AS SDDocumentReason,
SalesDocument.SDDocumentCollectiveNumber AS SDDocumentCollectiveNumber,
SalesDocument.CustomerPurchaseOrderType AS CustomerPurchaseOrderType,
SalesDocument.CustomerPurchaseOrderDate AS CustomerPurchaseOrderDate,
SalesDocument.CustomerPurchaseOrderSuplmnt AS CustomerPurchaseOrderSuplmnt,
Item.NetAmount AS NetAmount,
Item.TransactionCurrency AS TransactionCurrency,
Item.MaterialPricingGroup AS MaterialPricingGroup,
Item.NetPriceAmount AS NetPriceAmount,
Item.NetPriceQuantity AS NetPriceQuantity,
Item.NetPriceQuantityUnit AS NetPriceQuantityUnit,
Item.TaxAmount AS TaxAmount,
Item.CostAmount AS CostAmount,
Item.Subtotal1Amount AS Subtotal1Amount,
Item.Subtotal2Amount AS Subtotal2Amount,
Item.Subtotal3Amount AS Subtotal3Amount,
Item.Subtotal4Amount AS Subtotal4Amount,
Item.Subtotal5Amount AS Subtotal5Amount,
Item.Subtotal6Amount AS Subtotal6Amount,
Item.SalesDocumentCondition AS SalesDocumentCondition,
SalesDocument.TotalNetAmount AS TotalNetAmount,
Item.ShippingPoint AS ShippingPoint,
Item.ShippingType AS ShippingType,
Item.InventorySpecialStockType AS InventorySpecialStockType,
Item.DeliveryPriority AS DeliveryPriority,
Item.Plant AS Plant,
Item.StorageLocation AS StorageLocation,
Item.Route AS Route,
Item.DeliveryGroup AS DeliveryGroup,
Item.DeliveryDateQuantityIsFixed AS DeliveryDateQuantityIsFixed,
Item.PartialDeliveryIsAllowed AS PartialDeliveryIsAllowed,
Item.MaxNmbrOfPartialDelivery AS MaxNmbrOfPartialDelivery,
Item.UnlimitedOverdeliveryIsAllowed AS UnlimitedOverdeliveryIsAllowed,
Item.OverdelivTolrtdLmtRatioInPct AS OverdelivTolrtdLmtRatioInPct,
Item.UnderdelivTolrtdLmtRatioInPct AS UnderdelivTolrtdLmtRatioInPct,
Item.MinDeliveryQtyInBaseUnit AS MinDeliveryQtyInBaseUnit,
Item.OpenDeliveryLeadingUnitCode AS OpenDeliveryLeadingUnitCode,
SalesDocument.ShippingCondition AS ShippingCondition,
SalesDocument.CompleteDeliveryIsDefined AS CompleteDeliveryIsDefined,
Item.ProductSeasonYear AS ProductSeasonYear,
Item.ProductSeason AS ProductSeason,
Item.ProductCollection AS ProductCollection,
Item.ProductTheme AS ProductTheme,
Item.FashionCancelDate AS FashionCancelDate,
Item.ProductCharacteristic1 AS ProductCharacteristic1,
Item.ProductCharacteristic2 AS ProductCharacteristic2,
Item.ProductCharacteristic3 AS ProductCharacteristic3,
Item.ShippingGroupNumber AS ShippingGroupNumber,
Item.ShippingGroupRule AS ShippingGroupRule,
SalesDocument.BillingCompanyCode AS BillingCompanyCode,
Item.IncotermsVersion AS IncotermsVersion,
Item.IncotermsClassification AS IncotermsClassification,
Item.IncotermsTransferLocation AS IncotermsTransferLocation,
Item.IncotermsLocation1 AS IncotermsLocation1,
Item.IncotermsLocation2 AS IncotermsLocation2,
Item.CustomerPaymentTerms AS CustomerPaymentTerms,
Item.PaymentMethod AS PaymentMethod,
Item.BusinessArea AS BusinessArea,
Item.ProfitCenter AS ProfitCenter,
Item.WBSElement AS WBSElement,
Item.WBSElementInternalID AS WBSElementInternalID,
Item.OrderID AS OrderID,
Item.ProfitabilitySegment_2 AS ProfitabilitySegment,
cast (SalesDocument.CostCenterBusinessArea as business_area_cost_center) AS CostCenterBusinessArea,
SalesDocument.CostCenter AS CostCenter,
SalesDocument.ControllingArea AS ControllingArea,
Item.HigherLevelItem AS HigherLevelItem,
Item.ValueContract AS ValueContract,
Item.ValueContractItem AS ValueContractItem
FROM I_SalesDocumentItem AS Item
INNER JOIN P_SlsDocItemPrdtvTrngData1 AS DelivCrtnDate ON /* join condition not captured in parsed metadata */
INNER JOIN I_SalesDocument AS SalesDocument ON /* join condition not captured in parsed metadata */
;
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