I_SalesQuotation

DDL: I_SALESQUOTATION Type: view BASIC

Sales Quotation

I_SalesQuotation (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

Sales Quotation · Sales

I_SalesQuotation is a Basic CDS View (Dimension) that provides data about "Sales Quotation" in SAP S/4HANA. It reads from 1 data source (I_SalesDocument) and exposes 177 fields with key field SalesQuotation. It has 9 associations to related views.

SAP API Hub

StateC1
Line of BusinessSales
Application ComponentSD-SLS-QUT
CapabilitiesAnalytical Dimension, Association Target for Defining CDS Entities, Data Source in SQL Select, Data Source for Defining CDS Entities, Data Source for Data Extraction
PackageSales for SAP S/4HANA Cloud Private Edition
Description <p>This CDS view provides the prerequisites for answering questions about all relevant aspects of sales quotations.</p>

Documentation

Data Sources (1)

SourceAliasJoin Type
I_SalesDocument SalesDocument from

Associations (9)

CardinalityTargetAliasCondition
[0..*] I_BusinessAreaText _BusinessAreaText $projection.BusinessArea = _BusinessAreaText.BusinessArea
[0..*] I_BusinessAreaText _CostCenterBusinessAreaText $projection.CostCenterBusinessArea = _CostCenterBusinessAreaText.BusinessArea
[0..*] I_CreditControlAreaText _CreditControlAreaText $projection.CreditControlArea = _CreditControlAreaText.CreditControlArea
[0..*] I_SalesQuotationItem _Item $projection.SalesQuotation = _Item.SalesQuotation
[0..1] I_SalesQuotationType _SalesQuotationType $projection.SalesQuotationType = _SalesQuotationType.SalesQuotationType
[1..*] I_SalesQuotationPartner _Partner $projection.SalesQuotation = _Partner.SalesQuotation
[0..*] I_SalesQuotationPrcgElmnt _PricingElement $projection.SalesQuotation = _PricingElement.SalesQuotation
[0..1] I_SlsQtanApprovalReason _SalesQuotationApprovalReason $projection.SalesQuotationApprovalReason = _SalesQuotationApprovalReason.SalesQuotationApprovalReason
[0..1] E_SalesDocumentBasic _Extension SalesDocument.SalesDocument = _Extension.SalesDocument

Annotations (18)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Sales Quotation view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
AccessControl.authorizationCheck #CHECK view
AbapCatalog.preserveKey true view
AbapCatalog.sqlViewName ISDSLSQTAN view
AbapCatalog.compiler.compareFilter true view
ObjectModel.compositionRoot true view
ObjectModel.representativeKey SalesQuotation view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
Metadata.ignorePropagatedAnnotations true view
Analytics.dataCategory #DIMENSION view
Metadata.allowExtensions true view
ObjectModel.sapObjectNodeType.name SalesQuotation view
Analytics.dataExtraction.enabled true view

Fields (177)

KeyFieldSource TableSource FieldDescription
KEY SalesQuotation Sales Quotation
SalesQuotationType SalesDocumentType Sales Document Type
CreatedByUser CreatedByUser Name of Person Responsible for Creating the Object
LastChangedByUser LastChangedByUser User Who Last Changed the Business Document
CreationDate CreationDate Record Created On
CreationTime CreationTime Time at Which Record Was Created
LastChangeDate LastChangeDate Last Changed On
LastChangeDateTime LastChangeDateTime UTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun)
SalesOrganization SalesOrganization Sales Organization
DistributionChannel DistributionChannel Distribution Channel
OrganizationDivision OrganizationDivision Org. Division
SalesGroup SalesGroup Sales Group
SalesOffice SalesOffice Sales Office
SoldToParty SoldToParty Sold-to Party
CustomerGroup CustomerGroup Customer Group
AdditionalCustomerGroup1 AdditionalCustomerGroup1 Customer Group 1
AdditionalCustomerGroup2 AdditionalCustomerGroup2 Customer Group 2
AdditionalCustomerGroup3 AdditionalCustomerGroup3 Customer Group 3
AdditionalCustomerGroup4 AdditionalCustomerGroup4 Customer Group 4
AdditionalCustomerGroup5 AdditionalCustomerGroup5 Customer Group 5
CreditControlArea CreditControlArea Credit Control Area
CustomerRebateAgreement CustomerRebateAgreement Agreement (various conditions grouped together)
SalesQuotationDate SalesDocumentDate Document Date (Date Received/Sent)
ServicesRenderedDate ServicesRenderedDate Date on which services are rendered
SDDocumentReason SDDocumentReason Order Reason (Reason for the Business Transaction)
PurchaseOrderByCustomer PurchaseOrderByCustomer Purchase Order Number
CustomerPurchaseOrderType CustomerPurchaseOrderType Customer Purchase Order Type
CustomerPurchaseOrderDate CustomerPurchaseOrderDate Customer Reference Date
CustomerPurchaseOrderSuplmnt CustomerPurchaseOrderSuplmnt Purchase order number supplement
SalesDistrict SalesDistrict Sales District
ProductCatalog ProductCatalog Product Catalog Number
BindingPeriodValidityStartDate BindingPeriodValidityStartDate Quotation/Inquiry is Valid From
BindingPeriodValidityEndDate BindingPeriodValidityEndDate Date Until Which Bid/Quotation is Binding (Valid-To Date)
HdrOrderProbabilityInPercent HdrOrderProbabilityInPercent Sales probability
TotalNetAmount TotalNetAmount Net Value of the Sales Document in Document Currency
TransactionCurrency TransactionCurrency Transaction Currency
PricingDate PricingDate Date for Pricing and Exchange Rate
RetailPromotion RetailPromotion Retail Promotion
PriceDetnExchangeRate PriceDetnExchangeRate Exchange Rate for Price Determination
SalesQuotationCondition SalesDocumentCondition Number of the Document Condition
SDPricingProcedure SDPricingProcedure Pricing Procedure in Pricing
RequestedDeliveryDate RequestedDeliveryDate Requested Delivery Date
ShippingType ShippingType Shipping Type
ShippingCondition ShippingCondition Shipping Conditions
IncotermsVersion IncotermsVersion Incoterms Version
IncotermsClassification IncotermsClassification Incoterms (Part 1)
IncotermsTransferLocation IncotermsTransferLocation Incoterms (Part 2)
IncotermsLocation1 IncotermsLocation1 Incoterms Location 1
IncotermsLocation2 IncotermsLocation2 Incoterms Location 2
CustomerPriceGroup CustomerPriceGroup Customer Price Group
PriceListType PriceListType Price List Type
CompleteDeliveryIsDefined CompleteDeliveryIsDefined Complete Delivery Defined for Each Sales Order
DeliveryBlockReason DeliveryBlockReason Delivery Block (Document Header)
SalesQuotationApprovalReason SalesDocApprovalReason Approval Request Reason ID
BillingDocumentDate BillingDocumentDate Billing Date
BillingCompanyCode BillingCompanyCode Company Code to Be Billed
HeaderBillingBlockReason HeaderBillingBlockReason Billing Block in SD Document
CustomerPaymentTerms CustomerPaymentTerms Terms of Payment Key
PaymentMethod PaymentMethod Payment Method
FixedValueDate FixedValueDate Fixed Value Date
AdditionalValueDays AdditionalValueDays Additional Value Days
CustomerTaxClassification1 CustomerTaxClassification1 Alternative Tax Classification
CustomerTaxClassification2 CustomerTaxClassification2 Tax Classification 2 for Customer
CustomerTaxClassification3 CustomerTaxClassification3 Tax Classification 3 for Customer
CustomerTaxClassification4 CustomerTaxClassification4 Tax Classification 4 for Customer
CustomerTaxClassification5 CustomerTaxClassification5 Tax Classification 5 for Customer
CustomerTaxClassification6 CustomerTaxClassification6 Tax Classification 6 for Customer
CustomerTaxClassification7 CustomerTaxClassification7 Tax Classification 7 for Customer
CustomerTaxClassification8 CustomerTaxClassification8 Tax Classification 8 for Customer
CustomerTaxClassification9 CustomerTaxClassification9 Tax Classification 9 for Customer
FiscalYear FiscalYear G/L Fiscal Year
FiscalPeriod FiscalPeriod Posting Period
ExchangeRateDate ExchangeRateDate Translation Date
ExchangeRateType ExchangeRateType Exchange Rate Type
BusinessArea BusinessArea Business Area
CustomerAccountAssignmentGroup CustomerAccountAssignmentGroup Account Assignment Group for Customer
CostCenterBusinessArea CostCenterBusinessArea Business Area from Cost Center
CostCenter CostCenter Cost Center
ControllingArea ControllingArea Controlling Area
OrderID OrderID Order Number
CustomerCreditAccount CustomerCreditAccount Customer's Account Number with Credit Limit Reference
ReferenceSDDocument ReferenceSDDocument Document Number of Reference Document
ReferenceSDDocumentCategory ReferenceSDDocumentCategory Document Category of Preceding SD Document
OverallSDProcessStatus OverallSDProcessStatus Overall Processing Status (Header/All Items)
OverallSDDocumentRejectionSts OverallSDDocumentRejectionSts Rejection Status (All Items)
TotalBlockStatus TotalBlockStatus Overall Block Status (Header)
OverallBillingBlockStatus OverallBillingBlockStatus Billing Block Status (All Items)
OverallTotalSDDocRefStatus OverallTotalSDDocRefStatus Overall Reference Status (All Items)
OverallSDDocReferenceStatus OverallSDDocReferenceStatus Reference Status (All Items)
TotalCreditCheckStatus TotalCreditCheckStatus Overall Status of Credit Checks
MaxDocValueCreditCheckStatus MaxDocValueCreditCheckStatus Status of Credit Check Against Maximum Document Value
PaymentTermCreditCheckStatus PaymentTermCreditCheckStatus Status of Credit Check Against Terms of Payment
FinDocCreditCheckStatus FinDocCreditCheckStatus Status of Credit Check Against Financial Document
ExprtInsurCreditCheckStatus ExprtInsurCreditCheckStatus Status of Credit Check Against Export Credit Insurance
PaytAuthsnCreditCheckSts PaytAuthsnCreditCheckSts Status of Credit Check Against Payment Card Authorization
CentralCreditCheckStatus CentralCreditCheckStatus Status of Credit Check SAP Credit Management
CentralCreditChkTechErrSts CentralCreditChkTechErrSts Status of Technical Error SAP Credit Management
HdrGeneralIncompletionStatus HdrGeneralIncompletionStatus Incompletion Status (Header)
OverallPricingIncompletionSts OverallPricingIncompletionSts Pricing Incompletion Status (All Items)
HeaderBillgIncompletionStatus HeaderBillgIncompletionStatus Billing Incompletion Status (Header)
OvrlItmGeneralIncompletionSts OvrlItmGeneralIncompletionSts Incompletion Status (All Items)
OvrlItmBillingIncompletionSts OvrlItmBillingIncompletionSts Billing Incompletion Status (All Items)
SalesDocApprovalStatus SalesDocApprovalStatus Document Approval Status
OverallChmlCmplncStatus OverallChmlCmplncStatus Product Marketability Status (All Items)
OverallDangerousGoodsStatus OverallDangerousGoodsStatus Dangerous Goods Status (All Items)
OverallSafetyDataSheetStatus OverallSafetyDataSheetStatus Safety Data Sheet Status (All Items)
OverallTrdCmplncEmbargoSts OverallTrdCmplncEmbargoSts Embargo Status (All Items)
_Item _Item
_Partner _Partner
_StandardPartner _StandardPartner
_PricingElement _PricingElement
_SalesQuotationType _SalesQuotationType
_CreatedByUser _CreatedByUser
_LastChangedByUser _LastChangedByUser
_SalesOrganization _SalesOrganization
_DistributionChannel _DistributionChannel
_OrganizationDivision _OrganizationDivision
_SalesGroup _SalesGroup
_SalesOffice _SalesOffice
_SoldToParty _SoldToParty
_CustomerGroup _CustomerGroup
_AdditionalCustomerGroup1 _AdditionalCustomerGroup1
_AdditionalCustomerGroup2 _AdditionalCustomerGroup2
_AdditionalCustomerGroup3 _AdditionalCustomerGroup3
_AdditionalCustomerGroup4 _AdditionalCustomerGroup4
_AdditionalCustomerGroup5 _AdditionalCustomerGroup5
_CreditControlArea _CreditControlArea
_SDDocumentReason _SDDocumentReason
_CustomerPurchaseOrderType _CustomerPurchaseOrderType
_SalesDistrict _SalesDistrict
_TransactionCurrency _TransactionCurrency
_ShippingType _ShippingType
_ShippingCondition _ShippingCondition
_IncotermsClassification _IncotermsClassification
_IncotermsVersion _IncotermsVersion
_DeliveryBlockReason _DeliveryBlockReason
_BillingCompanyCode _BillingCompanyCode
_HeaderBillingBlockReason _HeaderBillingBlockReason
_SalesQuotationApprovalReason _SalesQuotationApprovalReason
_CustomerPaymentTerms _CustomerPaymentTerms
_ExchangeRateType _ExchangeRateType
_BusinessArea _BusinessArea
_CustomerAccountAssgmtGroup _CustomerAccountAssgmtGroup
_CostCenterBusinessArea _CostCenterBusinessArea
_CostCenter _CostCenter
_ControllingArea _ControllingArea
_ReferenceSDDocumentCategory _ReferenceSDDocumentCategory
_OverallSDProcessStatus _OverallSDProcessStatus
_OverallSDDocumentRejectionSts _OverallSDDocumentRejectionSts
_TotalBlockStatus _TotalBlockStatus
_OverallBillingBlockStatus _OverallBillingBlockStatus
_OverallTotalSDDocRefStatus _OverallTotalSDDocRefStatus
_OverallSDDocReferenceStatus _OverallSDDocReferenceStatus
_TotalCreditCheckStatus _TotalCreditCheckStatus
_MaxDocValueCreditCheckStatus _MaxDocValueCreditCheckStatus
_PaymentTermCreditCheckStatus _PaymentTermCreditCheckStatus
_FinDocCreditCheckStatus _FinDocCreditCheckStatus
_ExprtInsurCreditCheckStatus _ExprtInsurCreditCheckStatus
_PaytAuthsnCreditCheckSts _PaytAuthsnCreditCheckSts
_CentralCreditCheckStatus _CentralCreditCheckStatus
_CentralCreditChkTechErrSts _CentralCreditChkTechErrSts
_HdrGeneralIncompletionStatus _HdrGeneralIncompletionStatus
_OverallPricingIncompletionSts _OverallPricingIncompletionSts
_HeaderBillgIncompletionStatus _HeaderBillgIncompletionStatus
_OvrlItmGeneralIncompletionSts _OvrlItmGeneralIncompletionSts
_OvrlItmBillingIncompletionSts _OvrlItmBillingIncompletionSts
_OvrlTradeCmplncEmbargoStatus _OvrlTradeCmplncEmbargoStatus
_SalesDocApprovalStatus _SalesDocApprovalStatus
_SDPricingProcedure _SDPricingProcedure
_CustomerPriceGroup _CustomerPriceGroup
_OverallChmlCmplncStatus _OverallChmlCmplncStatus
_OverallDangerousGoodsStatus _OverallDangerousGoodsStatus
_OvrlSftyDataSheetSts _OvrlSftyDataSheetSts
_BusinessAreaText _BusinessAreaText
_CostCenterBusinessAreaText _CostCenterBusinessAreaText
_CreditControlAreaText _CreditControlAreaText
_CustomerCreditAccount _CustomerCreditAccount

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_SalesQuotation.
-- 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_SalesQuotation AS
SELECT
  cast(SalesDocument as sales_quotation preserving type ) AS SalesQuotation,
  SalesDocumentType AS SalesQuotationType,
  CreatedByUser,
  LastChangedByUser,
  CreationDate,
  CreationTime,
  LastChangeDate,
  LastChangeDateTime,
  SalesOrganization,
  DistributionChannel,
  OrganizationDivision,
  SalesGroup,
  SalesOffice,
  SoldToParty,
  CustomerGroup,
  AdditionalCustomerGroup1,
  AdditionalCustomerGroup2,
  AdditionalCustomerGroup3,
  AdditionalCustomerGroup4,
  AdditionalCustomerGroup5,
  CreditControlArea,
  CustomerRebateAgreement,
  SalesDocumentDate AS SalesQuotationDate,
  ServicesRenderedDate,
  SDDocumentReason,
  PurchaseOrderByCustomer,
  CustomerPurchaseOrderType,
  CustomerPurchaseOrderDate,
  CustomerPurchaseOrderSuplmnt,
  SalesDistrict,
  ProductCatalog,
  BindingPeriodValidityStartDate,
  BindingPeriodValidityEndDate,
  HdrOrderProbabilityInPercent,
  TotalNetAmount,
  TransactionCurrency,
  PricingDate,
  RetailPromotion,
  PriceDetnExchangeRate,
  SalesDocumentCondition AS SalesQuotationCondition,
  SDPricingProcedure,
  RequestedDeliveryDate,
  ShippingType,
  ShippingCondition,
  IncotermsVersion,
  IncotermsClassification,
  IncotermsTransferLocation,
  IncotermsLocation1,
  IncotermsLocation2,
  CustomerPriceGroup,
  PriceListType,
  CompleteDeliveryIsDefined,
  DeliveryBlockReason,
  SalesDocApprovalReason AS SalesQuotationApprovalReason,
  BillingDocumentDate,
  BillingCompanyCode,
  HeaderBillingBlockReason,
  CustomerPaymentTerms,
  PaymentMethod,
  FixedValueDate,
  AdditionalValueDays,
  CustomerTaxClassification1,
  CustomerTaxClassification2,
  CustomerTaxClassification3,
  CustomerTaxClassification4,
  CustomerTaxClassification5,
  CustomerTaxClassification6,
  CustomerTaxClassification7,
  CustomerTaxClassification8,
  CustomerTaxClassification9,
  FiscalYear,
  FiscalPeriod,
  ExchangeRateDate,
  ExchangeRateType,
  BusinessArea,
  CustomerAccountAssignmentGroup,
  CostCenterBusinessArea,
  CostCenter,
  ControllingArea,
  OrderID,
  CustomerCreditAccount,
  ReferenceSDDocument,
  ReferenceSDDocumentCategory,
  OverallSDProcessStatus,
  OverallSDDocumentRejectionSts,
  TotalBlockStatus,
  OverallBillingBlockStatus,
  OverallTotalSDDocRefStatus,
  OverallSDDocReferenceStatus,
  TotalCreditCheckStatus,
  MaxDocValueCreditCheckStatus,
  PaymentTermCreditCheckStatus,
  FinDocCreditCheckStatus,
  ExprtInsurCreditCheckStatus,
  PaytAuthsnCreditCheckSts,
  CentralCreditCheckStatus,
  CentralCreditChkTechErrSts,
  HdrGeneralIncompletionStatus,
  OverallPricingIncompletionSts,
  HeaderBillgIncompletionStatus,
  OvrlItmGeneralIncompletionSts,
  OvrlItmBillingIncompletionSts,
  SalesDocApprovalStatus,
  OverallChmlCmplncStatus,
  OverallDangerousGoodsStatus,
  OverallSafetyDataSheetStatus,
  OverallTrdCmplncEmbargoSts
FROM I_SalesDocument AS SalesDocument
LEFT OUTER JOIN I_BusinessAreaText AS _BusinessAreaText ON BusinessArea = _BusinessAreaText.BusinessArea  -- association [0..*]
LEFT OUTER JOIN I_BusinessAreaText AS _CostCenterBusinessAreaText ON CostCenterBusinessArea = _CostCenterBusinessAreaText.BusinessArea  -- association [0..*]
LEFT OUTER JOIN I_CreditControlAreaText AS _CreditControlAreaText ON CreditControlArea = _CreditControlAreaText.CreditControlArea  -- association [0..*]
LEFT OUTER JOIN I_SalesQuotationItem AS _Item ON SalesQuotation = _Item.SalesQuotation  -- association [0..*]
LEFT OUTER JOIN I_SalesQuotationType AS _SalesQuotationType ON SalesQuotationType = _SalesQuotationType.SalesQuotationType  -- association [0..1]
LEFT OUTER JOIN I_SalesQuotationPartner AS _Partner ON SalesQuotation = _Partner.SalesQuotation  -- association [1..*]
LEFT OUTER JOIN I_SalesQuotationPrcgElmnt AS _PricingElement ON SalesQuotation = _PricingElement.SalesQuotation  -- association [0..*]
LEFT OUTER JOIN I_SlsQtanApprovalReason AS _SalesQuotationApprovalReason ON SalesQuotationApprovalReason = _SalesQuotationApprovalReason.SalesQuotationApprovalReason  -- association [0..1]
LEFT OUTER JOIN E_SalesDocumentBasic AS _Extension ON SalesDocument.SalesDocument = _Extension.SalesDocument  -- association [0..1]
;