R_SupplierQuotationTP

DDL: R_SUPPLIERQUOTATIONTP Type: view_entity TRANSACTIONAL

Supplier Quotation Header

R_SupplierQuotationTP is a Transactional CDS View that provides data about "Supplier Quotation Header" in SAP S/4HANA. It reads from 1 data source (I_SupplierQuotationEnh) and exposes 44 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
[0..1] E_PurchasingDocument _SupplierQtnExtension $projection.SupplierQuotation = _SupplierQtnExtension.PurchasingDocument
[0..*] R_SupplierQuotationItemTP _SupplierQuotationItem

Annotations (11)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
EndUserText.label Supplier Quotation Header view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
ObjectModel.representativeKey SupplierQuotation view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.sapObjectNodeType.name SupplierQuotation view

Fields (44)

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
PurchasingOrganization PurchasingOrganization Purchasing Organization
PurchasingGroup PurchasingGroup Purchasing Group
PurchasingDocumentOrderDate PurchasingDocumentOrderDate PO Date
AbsoluteExchangeRate
ExchRateIsIndirectQuotation
EffectiveExchangeRate
ExchangeRateIsFixed ExchangeRateIsFixed Fixed Exch.Rate
PurContrValidityStartDate PurContrValidityStartDate Validity Start
PurContrValidityEndDate PurContrValidityEndDate Validity End
IsEndOfPurposeBlocked IsEndOfPurposeBlocked Busin. Purp. Cmpltd.
PurchasingDocumentDeletionCode PurchasingDocumentDeletionCode Del. Indicator
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
PurgDocFollowOnDocumentType FollowOnDocumentType Follow-On Document Type
_SupplierQuotationItem _SupplierQuotationItem
_CompanyCode _CompanyCode
_PurchasingDocumentCategory _PurchasingDocumentCategory

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 R_SupplierQuotationTP.
-- 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 R_SupplierQuotationTP AS
SELECT
  SupplierQuotation,
  CompanyCode,
  PurchasingDocumentCategory,
  PurchasingDocumentType,
  Supplier,
  CreatedByUser,
  CreationDate,
  LastChangeDateTime,
  Language,
  DocumentCurrency,
  IncotermsClassification,
  IncotermsTransferLocation,
  IncotermsVersion,
  IncotermsLocation1,
  IncotermsLocation2,
  PaymentTerms,
  CashDiscount1Days,
  CashDiscount2Days,
  CashDiscount1Percent,
  CashDiscount2Percent,
  NetPaymentDays,
  PricingProcedure,
  PurchasingOrganization,
  PurchasingGroup,
  PurchasingDocumentOrderDate,
  cast(abs(ExchangeRate) as fis_absolute_exchangerate preserving type) AS AbsoluteExchangeRate,
  cast(case when ExchangeRate < 0 then 'X' else '' end as fis_indirect_quotation preserving type) AS ExchRateIsIndirectQuotation,
  cast(case when ExchangeRate < 0 then division(1,abs(ExchangeRate),5) else ExchangeRate end as fis_effective_exchangerate) AS EffectiveExchangeRate,
  ExchangeRateIsFixed,
  PurContrValidityStartDate,
  PurContrValidityEndDate,
  IsEndOfPurposeBlocked,
  PurchasingDocumentDeletionCode,
  RequestForQuotation,
  SupplierQuotationExternalID,
  QuotationSubmissionDate,
  QuotationLatestSubmissionDate,
  BindingPeriodValidityEndDate,
  QtnLifecycleStatus,
  FollowOnDocumentCategory,
  FollowOnDocumentType AS PurgDocFollowOnDocumentType
FROM I_SupplierQuotationEnh
LEFT OUTER JOIN E_PurchasingDocument AS _SupplierQtnExtension ON SupplierQuotation = _SupplierQtnExtension.PurchasingDocument  -- association [0..1]
LEFT OUTER JOIN R_SupplierQuotationItemTP AS _SupplierQuotationItem ON /* condition not available in parsed metadata */  -- association [0..*]
;