A_SupplierQuotation

DDL: A_SUPPLIERQUOTATION SQL: ASUPQUOTATION Type: view COMPOSITE

Supplier Quotation

A_SupplierQuotation is a Composite CDS View that provides data about "Supplier Quotation" in SAP S/4HANA. It reads from 1 data source (I_SupplierQuotationEnh) and exposes 38 fields with key field SupplierQuotation. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_SupplierQuotationEnh I_SupplierQuotationEnh from

Associations (2)

CardinalityTargetAliasCondition
[1..*] A_SupplierQuotationItem _SupplierQuotationItem $projection.SupplierQuotation = _SupplierQuotationItem.SupplierQuotation --Extension
[1..1] E_PurchasingDocument _Extension $projection.SupplierQuotation = _Extension.PurchasingDocument

Annotations (17)

NameValueLevelField
AbapCatalog.sqlViewName ASUPQUOTATION view
VDM.viewType #COMPOSITE view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
ObjectModel.compositionRoot true view
ObjectModel.representativeKey SupplierQuotation view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled true view
EndUserText.label Supplier Quotation view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
AccessControl.personalData.blocking #REQUIRED view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view

Fields (38)

KeyFieldSource TableSource FieldDescription
KEY SupplierQuotation SupplierQuotation RFQ
CompanyCode CompanyCode Receiver Company Code
PurchasingDocumentCategory PurchasingDocumentCategory Doc. Category
PurchasingDocumentType PurchasingDocumentType RFQ Type
Supplier Supplier Supplier
CreatedByUser CreatedByUser User Name
CreationDate CreationDate Time Stamp
LastChangeDateTime LastChangeDateTime Timestamp
Language Language Report Text Language
DocumentCurrency DocumentCurrency Document Currency
IncotermsClassification IncotermsClassification Incoterms
IncotermsTransferLocation IncotermsTransferLocation Incoterms 2
IncotermsVersion IncotermsVersion Inco. Version
IncotermsLocation1 IncotermsLocation1 Inco. Location1
IncotermsLocation2 IncotermsLocation2 Inco. Location2
PaymentTerms PaymentTerms Pyt Terms
CashDiscount1Days CashDiscount1Days Days from Baseline Date for Payment
CashDiscount2Days CashDiscount2Days Days from Baseline Date for Payment
CashDiscount1Percent CashDiscount1Percent Disc. Percent 1
CashDiscount2Percent CashDiscount2Percent Disc. Percent 2
NetPaymentDays NetPaymentDays Net Pmt Terms Period
PricingProcedure PricingProcedure Procedure
PurchasingDocumentCondition PurchasingDocumentCondition Doc. Condition
PurchasingOrganization PurchasingOrganization Purchasing Organization
PurchasingGroup PurchasingGroup Purchasing Group
PurchasingDocumentOrderDate PurchasingDocumentOrderDate PO Date
ExchangeRate Exchange rate
ExchangeRateIsFixed ExchangeRateIsFixed Fixed Exch.Rate
RequestForQuotation RequestForQuotation RFQ
SupplierQuotationExternalID SupplierQuotationExternalID Quotation
QuotationSubmissionDate QuotationSubmissionDate Quotation Date
QuotationLatestSubmissionDate QuotationLatestSubmissionDate Quot. Deadline
BindingPeriodValidityEndDate BindingPeriodValidityEndDate Binding Period
QTNLifecycleStatus QtnLifecycleStatus Status
FollowOnDocumentCategory FollowOnDocumentCategory Follow-On Document Category
FollowOnDocumentType FollowOnDocumentType Follow-On Document Type
IsEndOfPurposeBlocked IsEndOfPurposeBlocked Busin. Purp. Cmpltd.
_SupplierQuotationItem _SupplierQuotationItem

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_SupplierQuotation.
-- 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: ASUPQUOTATION

CREATE VIEW A_SupplierQuotation AS
SELECT
  SupplierQuotation,
  CompanyCode,
  PurchasingDocumentCategory,
  PurchasingDocumentType,
  Supplier,
  CreatedByUser,
  CreationDate,
  LastChangeDateTime,
  Language,
  DocumentCurrency,
  IncotermsClassification,
  IncotermsTransferLocation,
  IncotermsVersion,
  IncotermsLocation1,
  IncotermsLocation2,
  PaymentTerms,
  CashDiscount1Days,
  CashDiscount2Days,
  CashDiscount1Percent,
  CashDiscount2Percent,
  NetPaymentDays,
  PricingProcedure,
  PurchasingDocumentCondition,
  PurchasingOrganization,
  PurchasingGroup,
  PurchasingDocumentOrderDate,
  cast (ExchangeRate as abap.char(12)) AS ExchangeRate,
  ExchangeRateIsFixed,
  RequestForQuotation,
  SupplierQuotationExternalID,
  QuotationSubmissionDate,
  QuotationLatestSubmissionDate,
  BindingPeriodValidityEndDate,
  QTNLifecycleStatus,
  FollowOnDocumentCategory,
  FollowOnDocumentType,
  IsEndOfPurposeBlocked
FROM I_SupplierQuotationEnh
LEFT OUTER JOIN A_SupplierQuotationItem AS _SupplierQuotationItem ON SupplierQuotation = _SupplierQuotationItem.SupplierQuotation  -- association [1..*]
LEFT OUTER JOIN E_PurchasingDocument AS _Extension ON SupplierQuotation = _Extension.PurchasingDocument  -- association [1..1]
;