I_SuplrQuotationEnhWD

DDL: I_SUPLRQUOTATIONENHWD SQL: IMMQTNENHWD Type: view TRANSACTIONAL

Supplier Quotation Enhanced with Draft

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

Data Sources (1)

SourceAliasJoin Type
I_SupplierQuotationEnh Document from

Associations (4)

CardinalityTargetAliasCondition
[1..*] I_SuplrQuotationItemEnhWD _SuplrQuotationItemEnhWD _SuplrQuotationItemEnhWD.SupplierQuotation = $projection.SupplierQuotation
[0..1] I_RequestForQuotationEnhanced _RequestForQuotation _RequestForQuotation.RequestForQuotation = $projection.RequestForQuotation
[0..1] P_SuplrQtnCalcFields_TR _SuplrQtnCalcFields _SuplrQtnCalcFields.SupplierQuotation = $projection.SupplierQuotation ----Extension
[1..1] E_PurchasingDocument _RequestForQuotationExtension $projection.SupplierQuotation = _RequestForQuotationExtension.PurchasingDocument

Annotations (19)

NameValueLevelField
ObjectModel.compositionRoot true view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled EXTERNAL_CALCULATION view
ObjectModel.deleteEnabled EXTERNAL_CALCULATION view
ObjectModel.semanticKey SupplierQuotation view
ObjectModel.draftEnabled true view
ObjectModel.transactionalProcessingEnabled true view
ObjectModel.writeDraftPersistence MMQTNENH_D view
ObjectModel.writeActivePersistence IMMQTNENHWD view
ObjectModel.entityChangeStateId LastChangeDateTime view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
AbapCatalog.sqlViewName IMMQTNENHWD view
EndUserText.label Supplier Quotation Enhanced with Draft view
VDM.viewType #TRANSACTIONAL view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (64)

KeyFieldSource TableSource FieldDescription
KEY SupplierQuotation I_SupplierQuotationEnh SupplierQuotation RFQ
CompanyCode I_SupplierQuotationEnh CompanyCode Receiver Company Code
PurchasingDocumentCategory I_SupplierQuotationEnh PurchasingDocumentCategory Doc. Category
PurchasingDocumentType I_SupplierQuotationEnh PurchasingDocumentType RFQ Type
Supplier I_SupplierQuotationEnh Supplier Supplier
CreatedByUser I_SupplierQuotationEnh CreatedByUser User Name
CreationDate I_SupplierQuotationEnh CreationDate Time Stamp
LastChangeDateTime I_SupplierQuotationEnh LastChangeDateTime Timestamp
Language I_SupplierQuotationEnh Language Report Text Language
DocumentCurrency I_SupplierQuotationEnh DocumentCurrency Document Currency
IncotermsClassification I_SupplierQuotationEnh IncotermsClassification Incoterms
IncotermsTransferLocation I_SupplierQuotationEnh IncotermsTransferLocation Incoterms 2
IncotermsVersion I_SupplierQuotationEnh IncotermsVersion Inco. Version
IncotermsLocation1 I_SupplierQuotationEnh IncotermsLocation1 Inco. Location1
IncotermsLocation2 I_SupplierQuotationEnh IncotermsLocation2 Inco. Location2
PaymentTerms I_SupplierQuotationEnh PaymentTerms Pyt Terms
CashDiscount1Days I_SupplierQuotationEnh CashDiscount1Days Days from Baseline Date for Payment
CashDiscount2Days I_SupplierQuotationEnh CashDiscount2Days Days from Baseline Date for Payment
CashDiscount1Percent I_SupplierQuotationEnh CashDiscount1Percent Disc. Percent 1
CashDiscount2Percent I_SupplierQuotationEnh CashDiscount2Percent Disc. Percent 2
NetPaymentDays I_SupplierQuotationEnh NetPaymentDays Net Pmt Terms Period
PricingProcedure I_SupplierQuotationEnh PricingProcedure Procedure
PurchasingDocumentCondition I_SupplierQuotationEnh PurchasingDocumentCondition Doc. Condition
PurchasingOrganization I_SupplierQuotationEnh PurchasingOrganization Purchasing Organization
PurchasingGroup I_SupplierQuotationEnh PurchasingGroup Purchasing Group
PurchasingDocumentOrderDate I_SupplierQuotationEnh PurchasingDocumentOrderDate PO Date
ExchangeRate
ExchangeRateIsFixed I_SupplierQuotationEnh ExchangeRateIsFixed Fixed Exch.Rate
RequestForQuotation I_SupplierQuotationEnh RequestForQuotation RFQ
SupplierQuotationExternalID I_SupplierQuotationEnh SupplierQuotationExternalID Quotation
QuotationSubmissionDate I_SupplierQuotationEnh QuotationSubmissionDate Quotation Date
QuotationLatestSubmissionDate I_SupplierQuotationEnh QuotationLatestSubmissionDate Quot. Deadline
BindingPeriodValidityEndDate I_SupplierQuotationEnh BindingPeriodValidityEndDate Binding Period
QtnLifecycleStatus I_SupplierQuotationEnh QtnLifecycleStatus Status
FollowOnDocumentCategory I_SupplierQuotationEnh FollowOnDocumentCategory Follow-On Document Category
FollowOnDocumentType I_SupplierQuotationEnh FollowOnDocumentType Follow-On Document Type
PurContrValidityStartDate I_SupplierQuotationEnh PurContrValidityStartDate Validity Start
PurContrValidityEndDate I_SupplierQuotationEnh PurContrValidityEndDate Validity End
PurchaseContractTargetAmount I_SupplierQuotationEnh PurchaseContractTargetAmount Target Value
IsEndOfPurposeBlocked I_SupplierQuotationEnh IsEndOfPurposeBlocked Busin. Purp. Cmpltd.
PurchasingDocumentDeletionCode I_SupplierQuotationEnh PurchasingDocumentDeletionCode Del. Indicator
TotalNetAmount _SuplrQtnCalcFields TotalNetAmount Net Value
PurchasingItemHasHierarchy
ScenarioIsRelevantForHierarchy
_SuplrQuotationItemEnhWD _SuplrQuotationItemEnhWD
_RequestForQuotation _RequestForQuotation
_CatTextInCurrentLang _CatTextInCurrentLang
_CompanyCode _CompanyCode
_IncotermsClassification _IncotermsClassification
_IncotermsVersion _IncotermsVersion
_PurchasingDocumentType _PurchasingDocumentType
_PurchasingGroup _PurchasingGroup
_PurchasingOrganization _PurchasingOrganization
_PurchasingDocumentCategory _PurchasingDocumentCategory
_Supplier _Supplier
_PurchaseOrder _PurchaseOrder
_PurchaseContract _PurchaseContract
_FollowOnDocumentType _FollowOnDocumentType
_FollowOnDocumentCategory _FollowOnDocumentCategory
_DocumentCurrency _DocumentCurrency
_QtnLifecycleStatus _QtnLifecycleStatus
_CreatedByUser _CreatedByUser
_Language _Language
_SupplierQuotationType _SupplierQuotationType

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_SuplrQuotationEnhWD.
-- 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: IMMQTNENHWD

CREATE VIEW I_SuplrQuotationEnhWD AS
SELECT
  Document.SupplierQuotation AS SupplierQuotation,
  Document.CompanyCode AS CompanyCode,
  Document.PurchasingDocumentCategory AS PurchasingDocumentCategory,
  Document.PurchasingDocumentType AS PurchasingDocumentType,
  Document.Supplier AS Supplier,
  Document.CreatedByUser AS CreatedByUser,
  Document.CreationDate AS CreationDate,
  Document.LastChangeDateTime AS LastChangeDateTime,
  Document.Language AS Language,
  Document.DocumentCurrency AS DocumentCurrency,
  Document.IncotermsClassification AS IncotermsClassification,
  Document.IncotermsTransferLocation AS IncotermsTransferLocation,
  Document.IncotermsVersion AS IncotermsVersion,
  Document.IncotermsLocation1 AS IncotermsLocation1,
  Document.IncotermsLocation2 AS IncotermsLocation2,
  Document.PaymentTerms AS PaymentTerms,
  Document.CashDiscount1Days AS CashDiscount1Days,
  Document.CashDiscount2Days AS CashDiscount2Days,
  Document.CashDiscount1Percent AS CashDiscount1Percent,
  Document.CashDiscount2Percent AS CashDiscount2Percent,
  Document.NetPaymentDays AS NetPaymentDays,
  Document.PricingProcedure AS PricingProcedure,
  Document.PurchasingDocumentCondition AS PurchasingDocumentCondition,
  Document.PurchasingOrganization AS PurchasingOrganization,
  Document.PurchasingGroup AS PurchasingGroup,
  Document.PurchasingDocumentOrderDate AS PurchasingDocumentOrderDate,
  cast( Document.ExchangeRate as wkurs preserving type ) AS ExchangeRate,
  Document.ExchangeRateIsFixed AS ExchangeRateIsFixed,
  Document.RequestForQuotation AS RequestForQuotation,
  Document.SupplierQuotationExternalID AS SupplierQuotationExternalID,
  Document.QuotationSubmissionDate AS QuotationSubmissionDate,
  Document.QuotationLatestSubmissionDate AS QuotationLatestSubmissionDate,
  Document.BindingPeriodValidityEndDate AS BindingPeriodValidityEndDate,
  Document.QtnLifecycleStatus AS QtnLifecycleStatus,
  Document.FollowOnDocumentCategory AS FollowOnDocumentCategory,
  Document.FollowOnDocumentType AS FollowOnDocumentType,
  Document.PurContrValidityStartDate AS PurContrValidityStartDate,
  Document.PurContrValidityEndDate AS PurContrValidityEndDate,
  Document.PurchaseContractTargetAmount AS PurchaseContractTargetAmount,
  Document.IsEndOfPurposeBlocked AS IsEndOfPurposeBlocked,
  Document.PurchasingDocumentDeletionCode AS PurchasingDocumentDeletionCode,
  _SuplrQtnCalcFields.TotalNetAmount AS TotalNetAmount,
  cast( ' ' as boolean) AS PurchasingItemHasHierarchy,
  cast('' as vdm_scenarioisrelevantforhier ) AS ScenarioIsRelevantForHierarchy
FROM I_SupplierQuotationEnh AS Document
LEFT OUTER JOIN I_SuplrQuotationItemEnhWD AS _SuplrQuotationItemEnhWD ON _SuplrQuotationItemEnhWD.SupplierQuotation = SupplierQuotation  -- association [1..*]
LEFT OUTER JOIN I_RequestForQuotationEnhanced AS _RequestForQuotation ON _RequestForQuotation.RequestForQuotation = RequestForQuotation  -- association [0..1]
LEFT OUTER JOIN P_SuplrQtnCalcFields_TR AS _SuplrQtnCalcFields ON _SuplrQtnCalcFields.SupplierQuotation = SupplierQuotation  -- association [0..1]
LEFT OUTER JOIN E_PurchasingDocument AS _RequestForQuotationExtension ON SupplierQuotation = _RequestForQuotationExtension.PurchasingDocument  -- association [1..1]
;