A_SalesQuotation

DDL: A_SALESQUOTATION Type: view COMPOSITE

Sales Quotation Header

A_SalesQuotation is a Composite CDS View that provides data about "Sales Quotation Header" in SAP S/4HANA. It reads from 1 data source (I_SalesQuotationEnhanced) and exposes 62 fields with key field SalesQuotation. It has 8 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_SalesQuotationEnhanced SalesQuotation from

Associations (8)

CardinalityTargetAliasCondition
[0..*] A_SalesQuotationItem _Item _Item.SalesQuotation = $projection.SalesQuotation
[0..*] A_SalesQuotationPartner _Partner _Partner.SalesQuotation = $projection.SalesQuotation
[0..*] A_SalesQuotationPrcgElmnt _PricingElement _PricingElement.SalesQuotation = $projection.SalesQuotation
[0..*] A_SalesQuotationText _Text _Text.SalesQuotation = $projection.SalesQuotation
[0..*] A_SalesQuotationRelatedObject _RelatedObject _RelatedObject.SalesQuotation = $projection.SalesQuotation
[0..*] A_SlsQtanPrecdgProcFlow _PrecedingProcFlowDoc _PrecedingProcFlowDoc.SalesQuotation = $projection.SalesQuotation
[0..*] A_SlsQtanSubsqntProcFlow _SubsequentProcFlowDoc _SubsequentProcFlowDoc.SalesQuotation = $projection.SalesQuotation
[0..1] E_SalesDocumentBasic _Extension $projection.SalesQuotation = _Extension.SalesDocument

Annotations (15)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Sales Quotation Header view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
AbapCatalog.sqlViewName ASALESQUOTATION view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
ObjectModel.representativeKey Salesquotation view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled true view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
Metadata.ignorePropagatedAnnotations true view

Fields (62)

KeyFieldSource TableSource FieldDescription
KEY SalesQuotation SalesQuotation
SalesQuotationType SalesQuotationType
SalesOrganization SalesOrganization Sales Organization
DistributionChannel DistributionChannel RefDistCh-Cust/Mat.
OrganizationDivision OrganizationDivision Org. Division
SalesGroup SalesGroup Sales Group
SalesOffice SalesOffice Sales Office
SalesDistrict SalesDistrict Sales District
SoldToParty SoldToParty Sold-to Party
CreationDate CreationDate Time Stamp
CreatedByUser CreatedByUser User Name
LastChangeDate LastChangeDate Time Stamp
PurchaseOrderByCustomer PurchaseOrderByCustomer Purchase Order Number
CustomerPurchaseOrderType CustomerPurchaseOrderType
CustomerPurchaseOrderDate CustomerPurchaseOrderDate Purchase Order Date
SalesQuotationDate SalesQuotationDate
TotalNetAmount TotalNetAmount Total Net Amount
TransactionCurrency TransactionCurrency Transaction Currency
SDDocumentReason SDDocumentReason Order Reason
PricingDate PricingDate Pricing Date
RequestedDeliveryDate RequestedDeliveryDate Requested Delivery Date
ShippingCondition ShippingCondition Shipping Conditions
CompleteDeliveryIsDefined CompleteDeliveryIsDefined Complete Dlv.
ShippingType ShippingType Shipping Type
HeaderBillingBlockReason HeaderBillingBlockReason Billing Block
DeliveryBlockReason DeliveryBlockReason Delivery Block
BindingPeriodValidityStartDate BindingPeriodValidityStartDate
BindingPeriodValidityEndDate BindingPeriodValidityEndDate Binding Period
HdrOrderProbabilityInPercent HdrOrderProbabilityInPercent
ExpectedOrderNetAmount ExpectedOrderNetAmount
IncotermsClassification IncotermsClassification Incoterms
IncotermsTransferLocation IncotermsTransferLocation Incoterms 2
IncotermsLocation1 IncotermsLocation1 Inco. Location1
IncotermsLocation2 IncotermsLocation2 Inco. Location2
IncotermsVersion IncotermsVersion Inco. Version
CustomerPaymentTerms CustomerPaymentTerms Pyt Terms
CustomerPriceGroup CustomerPriceGroup CustPrice Group
PriceListType PriceListType Price List Tp.
PaymentMethod PaymentMethod Pymt Meth.
CustomerTaxClassification1 CustomerTaxClassification1
CustomerTaxClassification2 CustomerTaxClassification2
CustomerTaxClassification3 CustomerTaxClassification3
CustomerTaxClassification4 CustomerTaxClassification4
CustomerTaxClassification5 CustomerTaxClassification5
CustomerTaxClassification6 CustomerTaxClassification6
CustomerTaxClassification7 CustomerTaxClassification7
CustomerTaxClassification8 CustomerTaxClassification8
CustomerTaxClassification9 CustomerTaxClassification9
ReferenceSDDocument ReferenceSDDocument Reference Doc.
ReferenceSDDocumentCategory ReferenceSDDocumentCategory Prec.Doc.Categ.
SalesQuotationApprovalReason SalesQuotationApprovalReason
SalesDocApprovalStatus SalesDocApprovalStatus
OverallSDProcessStatus OverallSDProcessStatus
TotalCreditCheckStatus TotalCreditCheckStatus
OverallSDDocumentRejectionSts OverallSDDocumentRejectionSts
_Item _Item
_Partner _Partner
_PricingElement _PricingElement
_Text _Text
_RelatedObject _RelatedObject
_PrecedingProcFlowDoc _PrecedingProcFlowDoc
_SubsequentProcFlowDoc _SubsequentProcFlowDoc

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 A_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 A_SalesQuotation AS
SELECT
  SalesQuotation,
  SalesQuotationType,
  SalesOrganization,
  DistributionChannel,
  OrganizationDivision,
  SalesGroup,
  SalesOffice,
  SalesDistrict,
  SoldToParty,
  CreationDate,
  CreatedByUser,
  LastChangeDate,
  PurchaseOrderByCustomer,
  CustomerPurchaseOrderType,
  CustomerPurchaseOrderDate,
  SalesQuotationDate,
  TotalNetAmount,
  TransactionCurrency,
  SDDocumentReason,
  PricingDate,
  RequestedDeliveryDate,
  ShippingCondition,
  CompleteDeliveryIsDefined,
  ShippingType,
  HeaderBillingBlockReason,
  DeliveryBlockReason,
  BindingPeriodValidityStartDate,
  BindingPeriodValidityEndDate,
  HdrOrderProbabilityInPercent,
  ExpectedOrderNetAmount,
  IncotermsClassification,
  IncotermsTransferLocation,
  IncotermsLocation1,
  IncotermsLocation2,
  IncotermsVersion,
  CustomerPaymentTerms,
  CustomerPriceGroup,
  PriceListType,
  PaymentMethod,
  CustomerTaxClassification1,
  CustomerTaxClassification2,
  CustomerTaxClassification3,
  CustomerTaxClassification4,
  CustomerTaxClassification5,
  CustomerTaxClassification6,
  CustomerTaxClassification7,
  CustomerTaxClassification8,
  CustomerTaxClassification9,
  ReferenceSDDocument,
  ReferenceSDDocumentCategory,
  SalesQuotationApprovalReason,
  SalesDocApprovalStatus,
  OverallSDProcessStatus,
  TotalCreditCheckStatus,
  OverallSDDocumentRejectionSts
FROM I_SalesQuotationEnhanced AS SalesQuotation
LEFT OUTER JOIN A_SalesQuotationItem AS _Item ON _Item.SalesQuotation = SalesQuotation  -- association [0..*]
LEFT OUTER JOIN A_SalesQuotationPartner AS _Partner ON _Partner.SalesQuotation = SalesQuotation  -- association [0..*]
LEFT OUTER JOIN A_SalesQuotationPrcgElmnt AS _PricingElement ON _PricingElement.SalesQuotation = SalesQuotation  -- association [0..*]
LEFT OUTER JOIN A_SalesQuotationText AS _Text ON _Text.SalesQuotation = SalesQuotation  -- association [0..*]
LEFT OUTER JOIN A_SalesQuotationRelatedObject AS _RelatedObject ON _RelatedObject.SalesQuotation = SalesQuotation  -- association [0..*]
LEFT OUTER JOIN A_SlsQtanPrecdgProcFlow AS _PrecedingProcFlowDoc ON _PrecedingProcFlowDoc.SalesQuotation = SalesQuotation  -- association [0..*]
LEFT OUTER JOIN A_SlsQtanSubsqntProcFlow AS _SubsequentProcFlowDoc ON _SubsequentProcFlowDoc.SalesQuotation = SalesQuotation  -- association [0..*]
LEFT OUTER JOIN E_SalesDocumentBasic AS _Extension ON SalesQuotation = _Extension.SalesDocument  -- association [0..1]
;