C_RequestForQuotationDP

DDL: C_REQUESTFORQUOTATIONDP Type: view_entity CONSUMPTION Package: MM_PUR_SOURCING_CONTR_BDC

Request For Quotation

C_RequestForQuotationDP is a Consumption CDS View that provides data about "Request For Quotation" in SAP S/4HANA. It reads from 1 data source (I_Requestforquotation_Api01) and exposes 48 fields with key field RequestForQuotation. It has 12 associations to related views. It is exposed through 1 OData service (DP_REQUESTFORQUOTATION). Part of development package MM_PUR_SOURCING_CONTR_BDC.

Data Sources (1)

SourceAliasJoin Type
I_Requestforquotation_Api01 I_Requestforquotation_Api01 from

Associations (12)

CardinalityTargetAliasCondition
[0..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode
[1..1] C_PurchasingDocumentCategoryDP _PurchasingDocumentCategory $projection.PurchasingDocumentCategory = _PurchasingDocumentCategory.PurchasingDocumentCategory
[1..1] C_PurchasingDocumentTypeDP _PurchasingDocumentType $projection.PurchasingDocumentCategory = _PurchasingDocumentType.PurchasingDocumentCategory and $projection.PurchasingDocumentType = _PurchasingDocumentType.PurchasingDocumentType
[1..1] C_PurchasingOrganizationDP _PurchasingOrganization $projection.PurchasingOrganization = _PurchasingOrganization.PurchasingOrganization
[1..1] C_PurchasingGroupDP _PurchasingGroup $projection.PurchasingGroup = _PurchasingGroup.PurchasingGroup
[1..1] I_Currency _Currency $projection.DocumentCurrency = _Currency.Currency
[0..1] I_IncotermsClassification _IncotermsClassification $projection.IncotermsClassification = _IncotermsClassification.IncotermsClassification
[0..1] I_IncotermsVersion _IncotermsVersion $projection.IncotermsVersion = _IncotermsVersion.IncotermsVersion
[0..1] I_PaymentTerms _PaymentTerms $projection.PaymentTerms = _PaymentTerms.PaymentTerms
[0..1] C_PurchasingDocumentCategoryDP _FollowOnDocumentCategory $projection.FollowOnDocumentCategory = _FollowOnDocumentCategory.PurchasingDocumentCategory
[0..1] C_PurchasingDocumentTypeDP _PurgDocFollowOnDocumentType $projection.FollowOnDocumentCategory = _PurgDocFollowOnDocumentType.PurchasingDocumentCategory and $projection.PurgDocFollowOnDocumentType = _PurgDocFollowOnDocumentType.PurchasingDocumentType
[0..*] C_RequestForQuotationDPPrpsDP _RequestForQuotationDPPrpsDP

Annotations (13)

NameValueLevelField
Metadata.allowExtensions true view
AccessControl.authorizationCheck #MANDATORY view
DataIntegration.deltaReplication.intended true view
EndUserText.label Request For Quotation view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.modelingPattern #EXTERNAL_DATA_PROVIDER view
ObjectModel.sapObjectNodeType.name RequestForQuotation view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
VDM.viewType #CONSUMPTION view
AccessControl.personalData.blocking #REQUIRED view
PersonalData.entitySemantics #OTHER view

OData Services (1)

ServiceBindingVersionContractRelease
DP_REQUESTFORQUOTATION DP_REQUESTFORQUOTATION C2 NOT_RELEASED

Fields (48)

KeyFieldSource TableSource FieldDescription
KEY RequestForQuotation RequestForQuotation RFQ
QuotationLatestSubmissionDate QuotationLatestSubmissionDate Quot. Deadline
BindingPeriodValidityEndDate BindingPeriodValidityEndDate Binding Period
TargetAmount Target Value
RFQLifecycleStatus RFQLifecycleStatus Status
RequestForQuotationName RequestForQuotationName RFQ Description
QuotationEarliestSubmsnDate QuotationEarliestSubmsnDate Start Date
LatestRegistrationDate LatestRegistrationDate Apply By
CorrespncInternalReference CorrespncInternalReference Our Reference
FollowOnDocumentCategory FollowOnDocumentCategory Follow-On Document Category
PurgDocFollowOnDocumentType FollowOnDocumentType Follow-On Document Type
IsEndOfPurposeBlocked IsEndOfPurposeBlocked Busin. Purp. Cmpltd.
_RequestForQuotationDPPrpsDP _RequestForQuotationDPPrpsDP
_CompanyCode _CompanyCode
_PurchasingDocumentCategory _PurchasingDocumentCategory
_PurchasingDocumentType _PurchasingDocumentType
_PurchasingOrganization _PurchasingOrganization
_PurchasingGroup _PurchasingGroup
_Currency _Currency
_IncotermsClassification _IncotermsClassification
_IncotermsVersion _IncotermsVersion
_PaymentTerms _PaymentTerms
_FollowOnDocumentCategory _FollowOnDocumentCategory
_PurgDocFollowOnDocumentType _PurgDocFollowOnDocumentType
RFQPublishingDate RFQPublishingDate Publishing Date
CompanyCode CompanyCode Receiver Company Code
PurchasingDocumentCategory PurchasingDocumentCategory Doc. Category
PurchasingDocumentType PurchasingDocumentType RFQ Type
CreatedByUser CreatedByUser User Name
CreationDate CreationDate Time Stamp
LastChangeDateTime LastChangeDateTime Timestamp
Language Language Report Text Language
PurchasingOrganization PurchasingOrganization Purchasing Organization
PurchasingGroup PurchasingGroup Purchasing Group
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
ValidityStartDate ValidityStartDate Validity Start Date
ValidityEndDate ValidityEndDate ValidTo

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 C_RequestForQuotationDP.
-- 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 C_RequestForQuotationDP AS
SELECT
  RequestForQuotation,
  QuotationLatestSubmissionDate,
  BindingPeriodValidityEndDate,
  curr_to_decfloat_amount(TargetAmount) AS TargetAmount,
  RFQLifecycleStatus,
  RequestForQuotationName,
  QuotationEarliestSubmsnDate,
  LatestRegistrationDate,
  CorrespncInternalReference,
  FollowOnDocumentCategory,
  FollowOnDocumentType AS PurgDocFollowOnDocumentType,
  IsEndOfPurposeBlocked,
  RFQPublishingDate,
  CompanyCode,
  PurchasingDocumentCategory,
  PurchasingDocumentType,
  CreatedByUser,
  CreationDate,
  LastChangeDateTime,
  Language,
  PurchasingOrganization,
  PurchasingGroup,
  DocumentCurrency,
  IncotermsClassification,
  IncotermsTransferLocation,
  IncotermsVersion,
  IncotermsLocation1,
  IncotermsLocation2,
  PaymentTerms,
  CashDiscount1Days,
  CashDiscount2Days,
  CashDiscount1Percent,
  CashDiscount2Percent,
  NetPaymentDays,
  ValidityStartDate,
  ValidityEndDate
FROM I_Requestforquotation_Api01
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode  -- association [0..1]
LEFT OUTER JOIN C_PurchasingDocumentCategoryDP AS _PurchasingDocumentCategory ON PurchasingDocumentCategory = _PurchasingDocumentCategory.PurchasingDocumentCategory  -- association [1..1]
LEFT OUTER JOIN C_PurchasingDocumentTypeDP AS _PurchasingDocumentType ON PurchasingDocumentCategory = _PurchasingDocumentType.PurchasingDocumentCategory AND PurchasingDocumentType = _PurchasingDocumentType.PurchasingDocumentType  -- association [1..1]
LEFT OUTER JOIN C_PurchasingOrganizationDP AS _PurchasingOrganization ON PurchasingOrganization = _PurchasingOrganization.PurchasingOrganization  -- association [1..1]
LEFT OUTER JOIN C_PurchasingGroupDP AS _PurchasingGroup ON PurchasingGroup = _PurchasingGroup.PurchasingGroup  -- association [1..1]
LEFT OUTER JOIN I_Currency AS _Currency ON DocumentCurrency = _Currency.Currency  -- association [1..1]
LEFT OUTER JOIN I_IncotermsClassification AS _IncotermsClassification ON IncotermsClassification = _IncotermsClassification.IncotermsClassification  -- association [0..1]
LEFT OUTER JOIN I_IncotermsVersion AS _IncotermsVersion ON IncotermsVersion = _IncotermsVersion.IncotermsVersion  -- association [0..1]
LEFT OUTER JOIN I_PaymentTerms AS _PaymentTerms ON PaymentTerms = _PaymentTerms.PaymentTerms  -- association [0..1]
LEFT OUTER JOIN C_PurchasingDocumentCategoryDP AS _FollowOnDocumentCategory ON FollowOnDocumentCategory = _FollowOnDocumentCategory.PurchasingDocumentCategory  -- association [0..1]
LEFT OUTER JOIN C_PurchasingDocumentTypeDP AS _PurgDocFollowOnDocumentType ON FollowOnDocumentCategory = _PurgDocFollowOnDocumentType.PurchasingDocumentCategory AND PurgDocFollowOnDocumentType = _PurgDocFollowOnDocumentType.PurchasingDocumentType  -- association [0..1]
LEFT OUTER JOIN C_RequestForQuotationDPPrpsDP AS _RequestForQuotationDPPrpsDP ON /* condition not available in parsed metadata */  -- association [0..*]
;