Deprecated
This CDS view is deprecated in S/4HANA. Use I_SalesQuotationItemCube_2 instead. View all deprecated CDS views →

I_SalesQuotationItemCube

DDL: I_SALESQUOTATIONITEMCUBE Type: view COMPOSITE

Sales Quotation Item - Cube

I_SalesQuotationItemCube is a Composite CDS View (Cube) that provides data about "Sales Quotation Item - Cube" in SAP S/4HANA. It reads from 1 data source (I_SalesQuotationItemAnalytics) and exposes 207 fields with key fields SalesQuotation, SalesQuotationItem. It has 4 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_SalesQuotationItemAnalytics SDIA from

Associations (4)

CardinalityTargetAliasCondition
[1..1] I_SalesQuotation _SalesQuotation $projection.SalesQuotation = _SalesQuotation.SalesQuotation
[0..1] I_SalesQuotationType _SalesQuotationType $projection.SalesQuotationType = _SalesQuotationType.SalesQuotationType
[0..1] I_Product _Product $projection.Product = _Product.Product
[0..1] E_SalesDocumentItemBasic _Extension SDIA.SalesDocument = _Extension.SalesDocument and SDIA.SalesDocumentItem = _Extension.SalesDocumentItem

Annotations (15)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Sales Quotation Item - Cube view
VDM.viewType #COMPOSITE view
VDM.lifecycle.status #DEPRECATED view
VDM.lifecycle.successor I_SalesQuotationItemCube_2 view
AccessControl.authorizationCheck #CHECK view
AbapCatalog.sqlViewName ISDSLSQTANITMC view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #L view
Analytics.dataCategory #CUBE view
Metadata.ignorePropagatedAnnotations true view
Metadata.allowExtensions true view

Fields (207)

KeyFieldSource TableSource FieldDescription
KEY SalesQuotation
_SalesQuotation _SalesQuotation
KEY SalesQuotationItem
SalesQuotationType I_SalesQuotationItemAnalytics SalesDocumentType Sales Doc. Type
_SalesQuotationType _SalesQuotationType
SalesQuotationItemType I_SalesQuotationItemAnalytics SalesDocumentItemType
SalesQuotationItemCategory I_SalesQuotationItemAnalytics SalesDocumentItemCategory Item Category
_ItemCategory I_SalesQuotationItemAnalytics _ItemCategory
CreatedByUser I_SalesQuotationItemAnalytics CreatedByUser User Name
_CreatedByUser I_SalesQuotationItemAnalytics _CreatedByUser
CreationDate I_SalesQuotationItemAnalytics CreationDate Time Stamp
CreationTime I_SalesQuotationItemAnalytics CreationTime Time of Change
LastChangeDate I_SalesQuotationItemAnalytics LastChangeDate Time Stamp
CreationDateYear
CreationDateYearQuarter
CreationDateYearMonth
SalesQuotationDateYear
SalesQuotationDateYearQuarter
SalesQuotationDateYearMonth
BindingPeriodValidityStartDate I_SalesQuotationItemAnalytics BindingPeriodValidityStartDate
BindingPeriodValidityEndDate I_SalesQuotationItemAnalytics BindingPeriodValidityEndDate Binding Period
SalesOrganization I_SalesQuotationItemAnalytics SalesOrganization Sales Organization
_SalesOrganization I_SalesQuotationItemAnalytics _SalesOrganization
DistributionChannel I_SalesQuotationItemAnalytics DistributionChannel RefDistCh-Cust/Mat.
_DistributionChannel I_SalesQuotationItemAnalytics _DistributionChannel
OrganizationDivision
_OrganizationDivision I_SalesQuotationItemAnalytics _OrganizationDivision
Division I_SalesQuotationItemAnalytics Division Internal Division ID
_Division I_SalesQuotationItemAnalytics _Division
SalesOffice I_SalesQuotationItemAnalytics SalesOffice Sales Office
_SalesOffice I_SalesQuotationItemAnalytics _SalesOffice
SalesGroup I_SalesQuotationItemAnalytics SalesGroup Sales Group
_SalesGroup I_SalesQuotationItemAnalytics _SalesGroup
SoldToParty I_SalesQuotationItemAnalytics SoldToParty Sold-to Party
_SoldToParty I_SalesQuotationItemAnalytics _SoldToParty
ShipToParty I_SalesQuotationItemAnalytics ShipToParty Ship-To Party (obsolete)
_ShipToParty I_SalesQuotationItemAnalytics _ShipToParty
CustomerGroup I_SalesQuotationItemAnalytics CustomerGroup Customer Group
_CustomerGroup I_SalesQuotationItemAnalytics _CustomerGroup
AdditionalCustomerGroup1 I_SalesQuotationItemAnalytics AdditionalCustomerGroup1 Customer Grp 1
_AdditionalCustomerGroup1 I_SalesQuotationItemAnalytics _AdditionalCustomerGroup1
AdditionalCustomerGroup2 I_SalesQuotationItemAnalytics AdditionalCustomerGroup2 Customer Grp 2
_AdditionalCustomerGroup2 I_SalesQuotationItemAnalytics _AdditionalCustomerGroup2
AdditionalCustomerGroup3 I_SalesQuotationItemAnalytics AdditionalCustomerGroup3 Customer Grp 3
_AdditionalCustomerGroup3 I_SalesQuotationItemAnalytics _AdditionalCustomerGroup3
AdditionalCustomerGroup4 I_SalesQuotationItemAnalytics AdditionalCustomerGroup4 Customer Grp 4
_AdditionalCustomerGroup4 I_SalesQuotationItemAnalytics _AdditionalCustomerGroup4
AdditionalCustomerGroup5 I_SalesQuotationItemAnalytics AdditionalCustomerGroup5 Customer Grp 5
_AdditionalCustomerGroup5 I_SalesQuotationItemAnalytics _AdditionalCustomerGroup5
SalesQuotationDate SalesDocumentDate Document Date
SDDocumentReason I_SalesQuotationItemAnalytics SDDocumentReason Order Reason
_SDDocumentReason I_SalesQuotationItemAnalytics _SDDocumentReason
CustomerPurchaseOrderType I_SalesQuotationItemAnalytics CustomerPurchaseOrderType
PurchaseOrderByCustomer I_SalesQuotationItemAnalytics PurchaseOrderByCustomer Purchase Order Number
CustomerPurchaseOrderDate I_SalesQuotationItemAnalytics CustomerPurchaseOrderDate Purchase Order Date
RequestedDeliveryDate I_SalesQuotationItemAnalytics RequestedDeliveryDate Requested Delivery Date
SalesQuotationItemText I_SalesQuotationItemAnalytics SalesDocumentItemText Item Descr.
SalesDocumentRjcnReason I_SalesQuotationItemAnalytics SalesDocumentRjcnReason RejectionReason
_SalesDocumentRjcnReason I_SalesQuotationItemAnalytics _SalesDocumentRjcnReason
SlsQtanToOrdProbltyInPercent I_SalesQuotationItemAnalytics SlsQtanToOrdProbltyInPercent
ShippingCondition I_SalesQuotationItemAnalytics ShippingCondition Shipping Conditions
_ShippingCondition I_SalesQuotationItemAnalytics _ShippingCondition
CompleteDeliveryIsDefined I_SalesQuotationItemAnalytics CompleteDeliveryIsDefined Complete Dlv.
DeliveryBlockReason I_SalesQuotationItemAnalytics DeliveryBlockReason Delivery Block
_DeliveryBlockReason I_SalesQuotationItemAnalytics _DeliveryBlockReason
ShippingPoint I_SalesQuotationItemAnalytics ShippingPoint Shipping Point
_ShippingPoint I_SalesQuotationItemAnalytics _ShippingPoint
DeliveryPriority I_SalesQuotationItemAnalytics DeliveryPriority Delivery Prior.
_DeliveryPriority I_SalesQuotationItemAnalytics _DeliveryPriority
ShippingType I_SalesQuotationItemAnalytics ShippingType Shipping Type
_ShippingType I_SalesQuotationItemAnalytics _ShippingType
Route I_SalesQuotationItemAnalytics Route Vehicle route
Material
Product I_SalesQuotationItemAnalytics Product Product Sold
_Product _Product
OriginallyRequestedMaterial I_SalesQuotationItemAnalytics OriginallyRequestedMaterial
MaterialByCustomer I_SalesQuotationItemAnalytics MaterialByCustomer Customer Mat.
MaterialGroup I_SalesQuotationItemAnalytics MaterialGroup Product Group
ProductGroup I_SalesQuotationItemAnalytics ProductGroup Product Sold Group
AdditionalMaterialGroup1 I_SalesQuotationItemAnalytics AdditionalMaterialGroup1 MaterialGroup 1
_AdditionalMaterialGroup1 I_SalesQuotationItemAnalytics _AdditionalMaterialGroup1
AdditionalMaterialGroup2 I_SalesQuotationItemAnalytics AdditionalMaterialGroup2 MaterialGroup 2
_AdditionalMaterialGroup2 I_SalesQuotationItemAnalytics _AdditionalMaterialGroup2
AdditionalMaterialGroup3 I_SalesQuotationItemAnalytics AdditionalMaterialGroup3 MaterialGroup 3
_AdditionalMaterialGroup3 I_SalesQuotationItemAnalytics _AdditionalMaterialGroup3
AdditionalMaterialGroup4 I_SalesQuotationItemAnalytics AdditionalMaterialGroup4 MaterialGroup 4
_AdditionalMaterialGroup4 I_SalesQuotationItemAnalytics _AdditionalMaterialGroup4
AdditionalMaterialGroup5 I_SalesQuotationItemAnalytics AdditionalMaterialGroup5 MaterialGroup 5
_AdditionalMaterialGroup5 I_SalesQuotationItemAnalytics _AdditionalMaterialGroup5
Plant I_SalesQuotationItemAnalytics Plant Valuation Area
_Plant I_SalesQuotationItemAnalytics _Plant
StorageLocation I_SalesQuotationItemAnalytics StorageLocation StorageLocation
_StorageLocation I_SalesQuotationItemAnalytics _StorageLocation
ItemWeightUnit I_SalesQuotationItemAnalytics ItemWeightUnit Unit of Weight
_ItemWeightUnit I_SalesQuotationItemAnalytics _ItemWeightUnit
ItemGrossWeight I_SalesQuotationItemAnalytics ItemGrossWeight Gross Weight
ItemNetWeight I_SalesQuotationItemAnalytics ItemNetWeight Net Weight
ItemVolumeUnit I_SalesQuotationItemAnalytics ItemVolumeUnit Volume Unit
_ItemVolumeUnit I_SalesQuotationItemAnalytics _ItemVolumeUnit
ItemVolume I_SalesQuotationItemAnalytics ItemVolume Volume
PricingDate I_SalesQuotationItemAnalytics PricingDate Pricing Date
SalesDistrict I_SalesQuotationItemAnalytics SalesDistrict Sales District
_SalesDistrict I_SalesQuotationItemAnalytics _SalesDistrict
ExchangeRateDate I_SalesQuotationItemAnalytics ExchangeRateDate Translatn Date
PriceDetnExchangeRate I_SalesQuotationItemAnalytics PriceDetnExchangeRate Exchange Rate
TaxAmount I_SalesQuotationItemAnalytics TaxAmount Tax Amt in Rptg Crcy
CostAmount I_SalesQuotationItemAnalytics CostAmount
Subtotal1Amount I_SalesQuotationItemAnalytics Subtotal1Amount Subtotal 1 Amount
Subtotal2Amount I_SalesQuotationItemAnalytics Subtotal2Amount Subtotal 2 Amount
Subtotal3Amount I_SalesQuotationItemAnalytics Subtotal3Amount Subtotal 3 Amount
Subtotal4Amount I_SalesQuotationItemAnalytics Subtotal4Amount Subtotal 4 Amount
Subtotal5Amount I_SalesQuotationItemAnalytics Subtotal5Amount Subtotal 5 Amount
Subtotal6Amount I_SalesQuotationItemAnalytics Subtotal6Amount Subtotal 6 Amount
BaseUnit I_SalesQuotationItemAnalytics BaseUnit Unit of Measure
_BaseUnit I_SalesQuotationItemAnalytics _BaseUnit
TransactionCurrency I_SalesQuotationItemAnalytics TransactionCurrency Transaction Currency
_TransactionCurrency I_SalesQuotationItemAnalytics _TransactionCurrency
IncotermsVersion I_SalesQuotationItemAnalytics IncotermsVersion Inco. Version
IncotermsClassification I_SalesQuotationItemAnalytics IncotermsClassification Incoterms
_IncotermsClassification I_SalesQuotationItemAnalytics _IncotermsClassification
IncotermsTransferLocation I_SalesQuotationItemAnalytics IncotermsTransferLocation Incoterms 2
IncotermsLocation1 I_SalesQuotationItemAnalytics IncotermsLocation1 Inco. Location1
IncotermsLocation2 I_SalesQuotationItemAnalytics IncotermsLocation2 Inco. Location2
CustomerPaymentTerms I_SalesQuotationItemAnalytics CustomerPaymentTerms Pyt Terms
_CustomerPaymentTerms I_SalesQuotationItemAnalytics _CustomerPaymentTerms
PaymentMethod I_SalesQuotationItemAnalytics PaymentMethod Pymt Meth.
FixedValueDate I_SalesQuotationItemAnalytics FixedValueDate Fixed Val. Date
AdditionalValueDays I_SalesQuotationItemAnalytics AdditionalValueDays Add. Value Days
BillingCompanyCode I_SalesQuotationItemAnalytics BillingCompanyCode CCodeToBeBilled
_BillingCompanyCode I_SalesQuotationItemAnalytics _BillingCompanyCode
BillingDocumentDate I_SalesQuotationItemAnalytics BillingDocumentDate Billing Date
FiscalYear I_SalesQuotationItemAnalytics FiscalYear G/L Fiscal Year
FiscalPeriod I_SalesQuotationItemAnalytics FiscalPeriod Tax period
BusinessArea I_SalesQuotationItemAnalytics BusinessArea Business Area
_BusinessArea I_SalesQuotationItemAnalytics _BusinessArea
ProfitCenter I_SalesQuotationItemAnalytics ProfitCenter Profit Center
CustomerAccountAssignmentGroup I_SalesQuotationItemAnalytics CustomerAccountAssignmentGroup AccAssmtGrpCust
SalesQuotationNetAmount I_SalesQuotationItemAnalytics SalesQuotationNetAmount
SalesQuotationQuantity I_SalesQuotationItemAnalytics SalesQuotationQuantity
ReferenceSDDocument I_SalesQuotationItemAnalytics ReferenceSDDocument Reference Doc.
_ReferenceSDDocument I_SalesQuotationItemAnalytics _ReferenceSDDocument
ReferenceSDDocumentItem I_SalesQuotationItemAnalytics ReferenceSDDocumentItem Reference Item
_ReferenceSDDocumentItem I_SalesQuotationItemAnalytics _ReferenceSDDocumentItem
ReferenceSDDocumentCategory I_SalesQuotationItemAnalytics ReferenceSDDocumentCategory Prec.Doc.Categ.
_ReferenceSDDocumentCategory I_SalesQuotationItemAnalytics _ReferenceSDDocumentCategory
OverallSDProcessStatus
_OverallSDProcessStatus I_SalesQuotationItemAnalytics _OverallSDProcessStatus
OverallSDDocumentRejectionSts
_OverallSDDocumentRejectionSts I_SalesQuotationItemAnalytics _OverallSDDocumentRejectionSts
TotalBlockStatus I_SalesQuotationItemAnalytics TotalBlockStatus
_TotalBlockStatus I_SalesQuotationItemAnalytics _TotalBlockStatus
OverallDelivConfStatus
_OverallDelivConfStatus I_SalesQuotationItemAnalytics _OverallDelivConfStatus
OverallTotalDeliveryStatus
_OverallTotalDeliveryStatus I_SalesQuotationItemAnalytics _OverallTotalDeliveryStatus
OverallDeliveryStatus
_OverallDeliveryStatus I_SalesQuotationItemAnalytics _OverallDeliveryStatus
OverallDeliveryBlockStatus
_OverallDeliveryBlockStatus I_SalesQuotationItemAnalytics _OverallDeliveryBlockStatus
OverallOrdReltdBillgStatus I_SalesQuotationItemAnalytics OverallOrdReltdBillgStatus
_OverallOrdReltdBillgStatus I_SalesQuotationItemAnalytics _OverallOrdReltdBillgStatus
OverallBillingBlockStatus
_OverallBillingBlockStatus I_SalesQuotationItemAnalytics _OverallBillingBlockStatus
OverallTotalSDDocRefStatus I_SalesQuotationItemAnalytics OverallTotalSDDocRefStatus
_OverallTotalSDDocRefStatus I_SalesQuotationItemAnalytics _OverallTotalSDDocRefStatus
OverallSDDocReferenceStatus
_OverallSDDocReferenceStatus I_SalesQuotationItemAnalytics _OverallSDDocReferenceStatus
HdrGeneralIncompletionStatus
_HdrGeneralIncompletionStatus I_SalesQuotationItemAnalytics _HdrGeneralIncompletionStatus
HeaderDelivIncompletionStatus I_SalesQuotationItemAnalytics HeaderDelivIncompletionStatus
_HeaderDelivIncompletionStatus I_SalesQuotationItemAnalytics _HeaderDelivIncompletionStatus
HeaderBillgIncompletionStatus I_SalesQuotationItemAnalytics HeaderBillgIncompletionStatus
_HeaderBillgIncompletionStatus I_SalesQuotationItemAnalytics _HeaderBillgIncompletionStatus
OvrlItmGeneralIncompletionSts
_OvrlItmGeneralIncompletionSts I_SalesQuotationItemAnalytics _OvrlItmGeneralIncompletionSts
OvrlItmBillingIncompletionSts
_OvrlItmBillingIncompletionSts I_SalesQuotationItemAnalytics _OvrlItmBillingIncompletionSts
OvrlItmDelivIncompletionSts
_OvrlItmDelivIncompletionSts I_SalesQuotationItemAnalytics _OvrlItmDelivIncompletionSts
SDProcessStatus
_SDProcessStatus I_SalesQuotationItemAnalytics _SDProcessStatus
DeliveryConfirmationStatus
_DeliveryConfirmationStatus I_SalesQuotationItemAnalytics _DeliveryConfirmationStatus
TotalDeliveryStatus I_SalesQuotationItemAnalytics TotalDeliveryStatus
_TotalDeliveryStatus I_SalesQuotationItemAnalytics _TotalDeliveryStatus
DeliveryStatus I_SalesQuotationItemAnalytics DeliveryStatus Delivery Status
_DeliveryStatus I_SalesQuotationItemAnalytics _DeliveryStatus
DeliveryBlockStatus I_SalesQuotationItemAnalytics DeliveryBlockStatus
_DeliveryBlockStatus I_SalesQuotationItemAnalytics _DeliveryBlockStatus
OrderRelatedBillingStatus I_SalesQuotationItemAnalytics OrderRelatedBillingStatus
_OrderRelatedBillingStatus I_SalesQuotationItemAnalytics _OrderRelatedBillingStatus
BillingBlockStatus I_SalesQuotationItemAnalytics BillingBlockStatus
_BillingBlockStatus I_SalesQuotationItemAnalytics _BillingBlockStatus
ItemGeneralIncompletionStatus
_ItemGeneralIncompletionStatus I_SalesQuotationItemAnalytics _ItemGeneralIncompletionStatus
ItemBillingIncompletionStatus
_ItemBillingIncompletionStatus I_SalesQuotationItemAnalytics _ItemBillingIncompletionStatus
ItemDeliveryIncompletionStatus
_ItemDelivIncompletionSts I_SalesQuotationItemAnalytics _ItemDelivIncompletionSts
SDDocumentRejectionStatus
_SDDocumentRejectionStatus I_SalesQuotationItemAnalytics _SDDocumentRejectionStatus
TotalSDDocReferenceStatus I_SalesQuotationItemAnalytics TotalSDDocReferenceStatus
_TotalSDDocReferenceStatus I_SalesQuotationItemAnalytics _TotalSDDocReferenceStatus
PurchaseConfirmationStatus
_PurchaseConfirmationStatus I_SalesQuotationItemAnalytics _PurchaseConfirmationStatus
PricingIncompletionStatus
_PricingIncompletionStatus I_SalesQuotationItemAnalytics _PricingIncompletionStatus

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_SalesQuotationItemCube.
-- 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_SalesQuotationItemCube AS
SELECT
  cast(SDIA.SalesDocument as sales_quotation preserving type) AS SalesQuotation,
  cast(SDIA.SalesDocumentItem as sales_quotation_item preserving type) AS SalesQuotationItem,
  SDIA.SalesDocumentType AS SalesQuotationType,
  SDIA.SalesDocumentItemType AS SalesQuotationItemType,
  SDIA.SalesDocumentItemCategory AS SalesQuotationItemCategory,
  SDIA._ItemCategory AS _ItemCategory,
  SDIA.CreatedByUser AS CreatedByUser,
  SDIA._CreatedByUser AS _CreatedByUser,
  SDIA.CreationDate AS CreationDate,
  SDIA.CreationTime AS CreationTime,
  SDIA.LastChangeDate AS LastChangeDate,
  cast(CalendarDate.CalendarYear as creation_date_year) AS CreationDateYear,
  cast(CalendarDate.YearQuarter as creation_date_year_quarter) AS CreationDateYearQuarter,
  cast(CalendarDate.YearMonth as creation_date_year_month) AS CreationDateYearMonth,
  cast(CalendarDateSalesQuotation.CalendarYear as sales_quotation_date_year) AS SalesQuotationDateYear,
  cast(CalendarDateSalesQuotation.YearQuarter as sales_qtan_date_year_quarter) AS SalesQuotationDateYearQuarter,
  cast(CalendarDateSalesQuotation.YearMonth as sales_qtan_date_year_month) AS SalesQuotationDateYearMonth,
  SDIA.BindingPeriodValidityStartDate AS BindingPeriodValidityStartDate,
  SDIA.BindingPeriodValidityEndDate AS BindingPeriodValidityEndDate,
  SDIA.SalesOrganization AS SalesOrganization,
  SDIA._SalesOrganization AS _SalesOrganization,
  SDIA.DistributionChannel AS DistributionChannel,
  SDIA._DistributionChannel AS _DistributionChannel,
  cast(SDIA.OrganizationDivision as organization_division preserving type ) AS OrganizationDivision,
  SDIA._OrganizationDivision AS _OrganizationDivision,
  SDIA.Division AS Division,
  SDIA._Division AS _Division,
  SDIA.SalesOffice AS SalesOffice,
  SDIA._SalesOffice AS _SalesOffice,
  SDIA.SalesGroup AS SalesGroup,
  SDIA._SalesGroup AS _SalesGroup,
  SDIA.SoldToParty AS SoldToParty,
  SDIA._SoldToParty AS _SoldToParty,
  SDIA.ShipToParty AS ShipToParty,
  SDIA._ShipToParty AS _ShipToParty,
  SDIA.CustomerGroup AS CustomerGroup,
  SDIA._CustomerGroup AS _CustomerGroup,
  SDIA.AdditionalCustomerGroup1 AS AdditionalCustomerGroup1,
  SDIA._AdditionalCustomerGroup1 AS _AdditionalCustomerGroup1,
  SDIA.AdditionalCustomerGroup2 AS AdditionalCustomerGroup2,
  SDIA._AdditionalCustomerGroup2 AS _AdditionalCustomerGroup2,
  SDIA.AdditionalCustomerGroup3 AS AdditionalCustomerGroup3,
  SDIA._AdditionalCustomerGroup3 AS _AdditionalCustomerGroup3,
  SDIA.AdditionalCustomerGroup4 AS AdditionalCustomerGroup4,
  SDIA._AdditionalCustomerGroup4 AS _AdditionalCustomerGroup4,
  SDIA.AdditionalCustomerGroup5 AS AdditionalCustomerGroup5,
  SDIA._AdditionalCustomerGroup5 AS _AdditionalCustomerGroup5,
  SalesDocumentDate AS SalesQuotationDate,
  SDIA.SDDocumentReason AS SDDocumentReason,
  SDIA._SDDocumentReason AS _SDDocumentReason,
  SDIA.CustomerPurchaseOrderType AS CustomerPurchaseOrderType,
  SDIA.PurchaseOrderByCustomer AS PurchaseOrderByCustomer,
  SDIA.CustomerPurchaseOrderDate AS CustomerPurchaseOrderDate,
  SDIA.RequestedDeliveryDate AS RequestedDeliveryDate,
  SDIA.SalesDocumentItemText AS SalesQuotationItemText,
  SDIA.SalesDocumentRjcnReason AS SalesDocumentRjcnReason,
  SDIA._SalesDocumentRjcnReason AS _SalesDocumentRjcnReason,
  SDIA.SlsQtanToOrdProbltyInPercent AS SlsQtanToOrdProbltyInPercent,
  SDIA.ShippingCondition AS ShippingCondition,
  SDIA._ShippingCondition AS _ShippingCondition,
  SDIA.CompleteDeliveryIsDefined AS CompleteDeliveryIsDefined,
  SDIA.DeliveryBlockReason AS DeliveryBlockReason,
  SDIA._DeliveryBlockReason AS _DeliveryBlockReason,
  SDIA.ShippingPoint AS ShippingPoint,
  SDIA._ShippingPoint AS _ShippingPoint,
  SDIA.DeliveryPriority AS DeliveryPriority,
  SDIA._DeliveryPriority AS _DeliveryPriority,
  SDIA.ShippingType AS ShippingType,
  SDIA._ShippingType AS _ShippingType,
  SDIA.Route AS Route,
  SDIA.Product AS Product,
  SDIA.OriginallyRequestedMaterial AS OriginallyRequestedMaterial,
  SDIA.MaterialByCustomer AS MaterialByCustomer,
  SDIA.MaterialGroup AS MaterialGroup,
  SDIA.ProductGroup AS ProductGroup,
  SDIA.AdditionalMaterialGroup1 AS AdditionalMaterialGroup1,
  SDIA._AdditionalMaterialGroup1 AS _AdditionalMaterialGroup1,
  SDIA.AdditionalMaterialGroup2 AS AdditionalMaterialGroup2,
  SDIA._AdditionalMaterialGroup2 AS _AdditionalMaterialGroup2,
  SDIA.AdditionalMaterialGroup3 AS AdditionalMaterialGroup3,
  SDIA._AdditionalMaterialGroup3 AS _AdditionalMaterialGroup3,
  SDIA.AdditionalMaterialGroup4 AS AdditionalMaterialGroup4,
  SDIA._AdditionalMaterialGroup4 AS _AdditionalMaterialGroup4,
  SDIA.AdditionalMaterialGroup5 AS AdditionalMaterialGroup5,
  SDIA._AdditionalMaterialGroup5 AS _AdditionalMaterialGroup5,
  SDIA.Plant AS Plant,
  SDIA._Plant AS _Plant,
  SDIA.StorageLocation AS StorageLocation,
  SDIA._StorageLocation AS _StorageLocation,
  SDIA.ItemWeightUnit AS ItemWeightUnit,
  SDIA._ItemWeightUnit AS _ItemWeightUnit,
  SDIA.ItemGrossWeight AS ItemGrossWeight,
  SDIA.ItemNetWeight AS ItemNetWeight,
  SDIA.ItemVolumeUnit AS ItemVolumeUnit,
  SDIA._ItemVolumeUnit AS _ItemVolumeUnit,
  SDIA.ItemVolume AS ItemVolume,
  SDIA.PricingDate AS PricingDate,
  SDIA.SalesDistrict AS SalesDistrict,
  SDIA._SalesDistrict AS _SalesDistrict,
  SDIA.ExchangeRateDate AS ExchangeRateDate,
  SDIA.PriceDetnExchangeRate AS PriceDetnExchangeRate,
  SDIA.TaxAmount AS TaxAmount,
  SDIA.CostAmount AS CostAmount,
  SDIA.Subtotal1Amount AS Subtotal1Amount,
  SDIA.Subtotal2Amount AS Subtotal2Amount,
  SDIA.Subtotal3Amount AS Subtotal3Amount,
  SDIA.Subtotal4Amount AS Subtotal4Amount,
  SDIA.Subtotal5Amount AS Subtotal5Amount,
  SDIA.Subtotal6Amount AS Subtotal6Amount,
  SDIA.BaseUnit AS BaseUnit,
  SDIA._BaseUnit AS _BaseUnit,
  SDIA.TransactionCurrency AS TransactionCurrency,
  SDIA._TransactionCurrency AS _TransactionCurrency,
  SDIA.IncotermsVersion AS IncotermsVersion,
  SDIA.IncotermsClassification AS IncotermsClassification,
  SDIA._IncotermsClassification AS _IncotermsClassification,
  SDIA.IncotermsTransferLocation AS IncotermsTransferLocation,
  SDIA.IncotermsLocation1 AS IncotermsLocation1,
  SDIA.IncotermsLocation2 AS IncotermsLocation2,
  SDIA.CustomerPaymentTerms AS CustomerPaymentTerms,
  SDIA._CustomerPaymentTerms AS _CustomerPaymentTerms,
  SDIA.PaymentMethod AS PaymentMethod,
  SDIA.FixedValueDate AS FixedValueDate,
  SDIA.AdditionalValueDays AS AdditionalValueDays,
  SDIA.BillingCompanyCode AS BillingCompanyCode,
  SDIA._BillingCompanyCode AS _BillingCompanyCode,
  SDIA.BillingDocumentDate AS BillingDocumentDate,
  SDIA.FiscalYear AS FiscalYear,
  SDIA.FiscalPeriod AS FiscalPeriod,
  SDIA.BusinessArea AS BusinessArea,
  SDIA._BusinessArea AS _BusinessArea,
  SDIA.ProfitCenter AS ProfitCenter,
  SDIA.CustomerAccountAssignmentGroup AS CustomerAccountAssignmentGroup,
  SDIA.SalesQuotationNetAmount AS SalesQuotationNetAmount,
  SDIA.SalesQuotationQuantity AS SalesQuotationQuantity,
  SDIA.ReferenceSDDocument AS ReferenceSDDocument,
  SDIA._ReferenceSDDocument AS _ReferenceSDDocument,
  SDIA.ReferenceSDDocumentItem AS ReferenceSDDocumentItem,
  SDIA._ReferenceSDDocumentItem AS _ReferenceSDDocumentItem,
  SDIA.ReferenceSDDocumentCategory AS ReferenceSDDocumentCategory,
  SDIA._ReferenceSDDocumentCategory AS _ReferenceSDDocumentCategory,
  cast(SDIA.OverallSDProcessStatus as overall_sd_process_status preserving type) AS OverallSDProcessStatus,
  SDIA._OverallSDProcessStatus AS _OverallSDProcessStatus,
  cast(SDIA.OverallSDDocumentRejectionSts as ovrl_sd_doc_rejection_status preserving type) AS OverallSDDocumentRejectionSts,
  SDIA._OverallSDDocumentRejectionSts AS _OverallSDDocumentRejectionSts,
  SDIA.TotalBlockStatus AS TotalBlockStatus,
  SDIA._TotalBlockStatus AS _TotalBlockStatus,
  cast(SDIA.OverallDelivConfStatus as overall_delivery_conf_status preserving type) AS OverallDelivConfStatus,
  SDIA._OverallDelivConfStatus AS _OverallDelivConfStatus,
  cast(SDIA.OverallTotalDeliveryStatus as itms_ovrl_delivery_status preserving type) AS OverallTotalDeliveryStatus,
  SDIA._OverallTotalDeliveryStatus AS _OverallTotalDeliveryStatus,
  cast(SDIA.OverallDeliveryStatus as overall_delivery_status preserving type) AS OverallDeliveryStatus,
  SDIA._OverallDeliveryStatus AS _OverallDeliveryStatus,
  cast(SDIA.OverallDeliveryBlockStatus as overall_delivery_block_status preserving type) AS OverallDeliveryBlockStatus,
  SDIA._OverallDeliveryBlockStatus AS _OverallDeliveryBlockStatus,
  SDIA.OverallOrdReltdBillgStatus AS OverallOrdReltdBillgStatus,
  SDIA._OverallOrdReltdBillgStatus AS _OverallOrdReltdBillgStatus,
  cast(SDIA.OverallBillingBlockStatus as overall_billing_block_status preserving type) AS OverallBillingBlockStatus,
  SDIA._OverallBillingBlockStatus AS _OverallBillingBlockStatus,
  SDIA.OverallTotalSDDocRefStatus AS OverallTotalSDDocRefStatus,
  SDIA._OverallTotalSDDocRefStatus AS _OverallTotalSDDocRefStatus,
  cast(SDIA.OverallSDDocReferenceStatus as ovrl_sd_doc_reference_status preserving type) AS OverallSDDocReferenceStatus,
  SDIA._OverallSDDocReferenceStatus AS _OverallSDDocReferenceStatus,
  cast(SDIA.HdrGeneralIncompletionStatus as hdr_general_incompltn_status preserving type) AS HdrGeneralIncompletionStatus,
  SDIA._HdrGeneralIncompletionStatus AS _HdrGeneralIncompletionStatus,
  SDIA.HeaderDelivIncompletionStatus AS HeaderDelivIncompletionStatus,
  SDIA._HeaderDelivIncompletionStatus AS _HeaderDelivIncompletionStatus,
  SDIA.HeaderBillgIncompletionStatus AS HeaderBillgIncompletionStatus,
  SDIA._HeaderBillgIncompletionStatus AS _HeaderBillgIncompletionStatus,
  cast(SDIA.OvrlItmGeneralIncompletionSts as itms_ovrl_incompletion_status preserving type) AS OvrlItmGeneralIncompletionSts,
  SDIA._OvrlItmGeneralIncompletionSts AS _OvrlItmGeneralIncompletionSts,
  cast(SDIA.OvrlItmBillingIncompletionSts as ovrl_itms_incompltn_sts_billg preserving type) AS OvrlItmBillingIncompletionSts,
  SDIA._OvrlItmBillingIncompletionSts AS _OvrlItmBillingIncompletionSts,
  cast(SDIA.OvrlItmDelivIncompletionSts as ovrl_items_dlv_incompltn_sts preserving type) AS OvrlItmDelivIncompletionSts,
  SDIA._OvrlItmDelivIncompletionSts AS _OvrlItmDelivIncompletionSts,
  cast(SDIA.SDProcessStatus as sd_doc_process_status preserving type) AS SDProcessStatus,
  SDIA._SDProcessStatus AS _SDProcessStatus,
  cast(SDIA.DeliveryConfirmationStatus as delivery_confirmation_status preserving type) AS DeliveryConfirmationStatus,
  SDIA._DeliveryConfirmationStatus AS _DeliveryConfirmationStatus,
  SDIA.TotalDeliveryStatus AS TotalDeliveryStatus,
  SDIA._TotalDeliveryStatus AS _TotalDeliveryStatus,
  SDIA.DeliveryStatus AS DeliveryStatus,
  SDIA._DeliveryStatus AS _DeliveryStatus,
  SDIA.DeliveryBlockStatus AS DeliveryBlockStatus,
  SDIA._DeliveryBlockStatus AS _DeliveryBlockStatus,
  SDIA.OrderRelatedBillingStatus AS OrderRelatedBillingStatus,
  SDIA._OrderRelatedBillingStatus AS _OrderRelatedBillingStatus,
  SDIA.BillingBlockStatus AS BillingBlockStatus,
  SDIA._BillingBlockStatus AS _BillingBlockStatus,
  cast(SDIA.ItemGeneralIncompletionStatus as item_general_incompletion_sts preserving type) AS ItemGeneralIncompletionStatus,
  SDIA._ItemGeneralIncompletionStatus AS _ItemGeneralIncompletionStatus,
  cast(SDIA.ItemBillingIncompletionStatus as itms_incompltn_sts_billg preserving type) AS ItemBillingIncompletionStatus,
  SDIA._ItemBillingIncompletionStatus AS _ItemBillingIncompletionStatus,
  cast(SDIA.ItemDeliveryIncompletionStatus as itm_deliv_incompletion_status preserving type) AS ItemDeliveryIncompletionStatus,
  SDIA._ItemDelivIncompletionSts AS _ItemDelivIncompletionSts,
  cast(SDIA.SDDocumentRejectionStatus as sd_doc_rejection_status preserving type) AS SDDocumentRejectionStatus,
  SDIA._SDDocumentRejectionStatus AS _SDDocumentRejectionStatus,
  SDIA.TotalSDDocReferenceStatus AS TotalSDDocReferenceStatus,
  SDIA._TotalSDDocReferenceStatus AS _TotalSDDocReferenceStatus,
  cast(SDIA.PurchaseConfirmationStatus as purchase_confirmation_status preserving type) AS PurchaseConfirmationStatus,
  SDIA._PurchaseConfirmationStatus AS _PurchaseConfirmationStatus,
  cast(SDIA.PricingIncompletionStatus as pricing_incompletion_status preserving type) AS PricingIncompletionStatus,
  SDIA._PricingIncompletionStatus AS _PricingIncompletionStatus
FROM I_SalesQuotationItemAnalytics AS SDIA
LEFT OUTER JOIN I_SalesQuotation AS _SalesQuotation ON SalesQuotation = _SalesQuotation.SalesQuotation  -- association [1..1]
LEFT OUTER JOIN I_SalesQuotationType AS _SalesQuotationType ON SalesQuotationType = _SalesQuotationType.SalesQuotationType  -- association [0..1]
LEFT OUTER JOIN I_Product AS _Product ON Product = _Product.Product  -- association [0..1]
LEFT OUTER JOIN E_SalesDocumentItemBasic AS _Extension ON SDIA.SalesDocument = _Extension.SalesDocument AND SDIA.SalesDocumentItem = _Extension.SalesDocumentItem  -- association [0..1]
;