C_CentralRequestForQuotationTP

DDL: C_CENTRALREQUESTFORQUOTATIONTP SQL: CCNTRLRFQHDRTP Type: view CONSUMPTION

Consumption View for CRFQ Header

C_CentralRequestForQuotationTP is a Consumption CDS View that provides data about "Consumption View for CRFQ Header" in SAP S/4HANA. It reads from 1 data source (I_CentralRequestForQuotationTP) and exposes 71 fields with key field CentralRequestForQuotation. It has 16 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_CentralRequestForQuotationTP _CentralRequestForQuotationTP from

Associations (16)

CardinalityTargetAliasCondition
[1..*] C_CentralReqForQuotationItemTP _CentralReqForQuotationItemTP $projection.CentralRequestForQuotation = _CentralReqForQuotationItemTP.CentralRequestForQuotation
[0..*] C_CntrlReqForQuotationBidderTP _CntrlReqForQuotationBidderTP $projection.CentralRequestForQuotation = _CntrlReqForQuotationBidderTP.CentralRequestForQuotation
[0..*] C_CntrlSupplierQuotationInfo _CntrlSupplierQuotationInfo $projection.CentralRequestForQuotation = _CntrlSupplierQuotationInfo.CentralRequestForQuotation and $projection.CentralRequestForQuotation <> ''
[0..1] C_PurchasingGroupValueHelp _PurchasingGroupValueHelp _PurchasingGroupValueHelp.PurchasingGroup = $projection.PurchasingGroup
[0..1] C_PurchasingOrgValueHelp _PurchasingOrgValueHelp _PurchasingOrgValueHelp.PurchasingOrganization = $projection.PurchasingOrganization
[0..1] C_MM_CompanyCodeValueHelp _CompanyCodeValueHelp _CompanyCodeValueHelp.CompanyCode = $projection.CompanyCode
[0..*] C_MM_PaymentTermValueHelp _PaymentTermsValueHelp _PaymentTermsValueHelp.PaymentTerms = $projection.PaymentTerms
[0..*] I_PaymentTermsText _PaymentTermsText $projection.PaymentTerms = _PaymentTermsText.PaymentTerms
[0..1] C_MM_IncotermValueHelp _IncotermsValueHelp _IncotermsValueHelp.IncotermsClassification = $projection.IncotermsClassification and _IncotermsValueHelp.IncotermsVersion = $projection.IncotermsVersion
[0..*] I_IncotermsClassificationText _IncotermsClassificationText $projection.IncotermsClassification = _IncotermsClassificationText.IncotermsClassification
[0..*] I_IncotermsVersionText _IncotermsVersionText $projection.IncotermsVersion = _IncotermsVersionText.IncotermsVersion
[0..1] C_CentralReqForQuotationTypeVH _CentralReqForQuotationTypeVH _CentralReqForQuotationTypeVH.RFQType = $projection.PurchasingDocumentType
[0..1] C_CentralSourcingFollowOnDocVH _FollowOnDocVH _FollowOnDocVH.SupplierQuotationType = $projection.PurchasingDocumentType and _FollowOnDocVH.FollowOnDocumentType = $projection.FollowOnDocumentType and _FollowOnDocVH.FollowOnDocumentCategory = $projection.FollowOnDocumentCategory
[0..1] I_UserContactCard _ContactCard _ContactCard.ContactCardType = 'User' and _ContactCard.ContactCardID = $projection.CreatedByUser and _ContactCard.ContactCardRole = 'Creator'
[0..1] P_CRFQCustomizing _CRFQCustomizing $projection.PurchasingDocumentType = _CRFQCustomizing.PurchasingDocumentType
[0..*] I_PurchasingDocumentTypeText _PurchasingDocumentTypeText $projection.PurchasingDocumentCategory = _PurchasingDocumentTypeText.PurchasingDocumentCategory and $projection.PurchasingDocumentType = _PurchasingDocumentTypeText.PurchasingDocumentType

Annotations (23)

NameValueLevelField
VDM.viewType #CONSUMPTION view
EndUserText.label Consumption View for CRFQ Header view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #NOT_REQUIRED view
AbapCatalog.sqlViewName CCNTRLRFQHDRTP view
ObjectModel.semanticKey CentralRequestForQuotation view
ObjectModel.compositionRoot true view
ObjectModel.draftEnabled true view
ObjectModel.transactionalProcessingDelegated true view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled EXTERNAL_CALCULATION view
ObjectModel.deleteEnabled EXTERNAL_CALCULATION view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
UI.headerInfo.typeName Central Request for Quotation view
UI.headerInfo.typeNamePlural Central Requests for Quotations view
UI.headerInfo.typeImageUrl /sap/bc/ui5_ui5/sap/mm_crfq_s1/images/CentralRequestForQuotation.png view
UI.headerInfo.title.value RequestForQuotationName view
UI.headerInfo.description.value CentralRequestForQuotation view
Search.searchable true view

Fields (71)

KeyFieldSource TableSource FieldDescription
KEY CentralRequestForQuotation I_CentralRequestForQuotationTP CentralRequestForQuotation
CompanyCode I_CentralRequestForQuotationTP CompanyCode Receiver Company Code
PurchasingDocumentCategory I_CentralRequestForQuotationTP PurchasingDocumentCategory Doc. Category
PurchasingDocumentType I_CentralRequestForQuotationTP PurchasingDocumentType RFQ Type
CreationDate I_CentralRequestForQuotationTP CreationDate Time Stamp
LastChangeDateTime I_CentralRequestForQuotationTP LastChangeDateTime Timestamp
CreatedByUser I_CentralRequestForQuotationTP CreatedByUser User Name
FullName
Language I_CentralRequestForQuotationTP Language Report Text Language
DocumentCurrency I_CentralRequestForQuotationTP DocumentCurrency Document Currency
PurchasingOrganization I_CentralRequestForQuotationTP PurchasingOrganization Purchasing Organization
PurchasingGroup I_CentralRequestForQuotationTP PurchasingGroup Purchasing Group
IncotermsVersion I_CentralRequestForQuotationTP IncotermsVersion Inco. Version
IncotermsClassification I_CentralRequestForQuotationTP IncotermsClassification Incoterms
IncotermsTransferLocation I_CentralRequestForQuotationTP IncotermsTransferLocation Incoterms 2
IncotermsLocation1 I_CentralRequestForQuotationTP IncotermsLocation1 Inco. Location1
IncotermsLocation2 I_CentralRequestForQuotationTP IncotermsLocation2 Inco. Location2
PaymentTerms I_CentralRequestForQuotationTP PaymentTerms Pyt Terms
CashDiscount1Days I_CentralRequestForQuotationTP CashDiscount1Days Days from Baseline Date for Payment
CashDiscount2Days I_CentralRequestForQuotationTP CashDiscount2Days Days from Baseline Date for Payment
CashDiscount1Percent I_CentralRequestForQuotationTP CashDiscount1Percent Disc. Percent 1
CashDiscount2Percent I_CentralRequestForQuotationTP CashDiscount2Percent Disc. Percent 2
NetPaymentDays I_CentralRequestForQuotationTP NetPaymentDays Net Pmt Terms Period
RFQPublishingDate I_CentralRequestForQuotationTP RFQPublishingDate Publishing Date
QuotationLatestSubmissionDate I_CentralRequestForQuotationTP QuotationLatestSubmissionDate Quot. Deadline
BindingPeriodValidityEndDate I_CentralRequestForQuotationTP BindingPeriodValidityEndDate Binding Period
TargetAmount I_CentralRequestForQuotationTP TargetAmount Target Value
CorrespncInternalReference I_CentralRequestForQuotationTP CorrespncInternalReference Our Reference
RFQLifecycleStatus I_CentralRequestForQuotationTP RFQLifecycleStatus Status
RequestForQuotationName I_CentralRequestForQuotationTP RequestForQuotationName RFQ Description
QuotationEarliestSubmsnDate I_CentralRequestForQuotationTP QuotationEarliestSubmsnDate Start Date
LatestRegistrationDate I_CentralRequestForQuotationTP LatestRegistrationDate Apply By
FollowOnDocumentCategory I_CentralRequestForQuotationTP FollowOnDocumentCategory Follow-On Document Category
FollowOnDocumentType I_CentralRequestForQuotationTP FollowOnDocumentType Follow-On Document Type
PurContrValidityStartDate I_CentralRequestForQuotationTP PurContrValidityStartDate Validity Start
PurContrValidityEndDate I_CentralRequestForQuotationTP PurContrValidityEndDate Validity End
ApproverName
ApproverUser
IsEndOfPurposeBlocked I_CentralRequestForQuotationTP IsEndOfPurposeBlocked Busin. Purp. Cmpltd.
NoteTypeListText
RFQAwardingType _CRFQCustomizing RFQAwardingType
RFQExternalProcessingType _CRFQCustomizing RFQExternalProcessingType
_CentralReqForQuotationItemTP _CentralReqForQuotationItemTP
_CntrlReqForQuotationBidderTP _CntrlReqForQuotationBidderTP
_CompanyCode I_CentralRequestForQuotationTP _CompanyCode
_DocumentCurrency I_CentralRequestForQuotationTP _DocumentCurrency
_IncotermsClassification I_CentralRequestForQuotationTP _IncotermsClassification
_IncotermsVersion I_CentralRequestForQuotationTP _IncotermsVersion
_IncotermsClassificationText _IncotermsClassificationText
_IncotermsVersionText _IncotermsVersionText
_PaymentTerms I_CentralRequestForQuotationTP _PaymentTerms
_PaymentTermsText _PaymentTermsText
_Language I_CentralRequestForQuotationTP _Language
_PurchasingDocumentTypeText _PurchasingDocumentTypeText
_PurchasingDocumentType I_CentralRequestForQuotationTP _PurchasingDocumentType
_PurchasingGroup I_CentralRequestForQuotationTP _PurchasingGroup
_PurchasingOrganization I_CentralRequestForQuotationTP _PurchasingOrganization
_PurchasingDocumentCategory I_CentralRequestForQuotationTP _PurchasingDocumentCategory
_FollowOnDocumentType I_CentralRequestForQuotationTP _FollowOnDocumentType
_FollowOnDocumentCategory I_CentralRequestForQuotationTP _FollowOnDocumentCategory
_PurchasingGroupValueHelp _PurchasingGroupValueHelp
_PurchasingOrgValueHelp _PurchasingOrgValueHelp
_CompanyCodeValueHelp _CompanyCodeValueHelp
_CentralReqForQuotationTypeVH _CentralReqForQuotationTypeVH
_PaymentTermsValueHelp _PaymentTermsValueHelp
_IncotermsValueHelp _IncotermsValueHelp
_RFQLifecycleStatus I_CentralRequestForQuotationTP _RFQLifecycleStatus
_ContactCard _ContactCard
_CntrlSupplierQuotationInfo _CntrlSupplierQuotationInfo
_FollowOnDocVH _FollowOnDocVH
_RFQType _RFQType

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_CentralRequestForQuotationTP.
-- 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: CCNTRLRFQHDRTP

CREATE VIEW C_CentralRequestForQuotationTP AS
SELECT
  _CentralRequestForQuotationTP.CentralRequestForQuotation AS CentralRequestForQuotation,
  _CentralRequestForQuotationTP.CompanyCode AS CompanyCode,
  _CentralRequestForQuotationTP.PurchasingDocumentCategory AS PurchasingDocumentCategory,
  _CentralRequestForQuotationTP.PurchasingDocumentType AS PurchasingDocumentType,
  _CentralRequestForQuotationTP.CreationDate AS CreationDate,
  _CentralRequestForQuotationTP.LastChangeDateTime AS LastChangeDateTime,
  _CentralRequestForQuotationTP.CreatedByUser AS CreatedByUser,
  cast( _CreatedByUser.UserDescription as vdm_created_by preserving type ) AS FullName,
  _CentralRequestForQuotationTP.Language AS Language,
  _CentralRequestForQuotationTP.DocumentCurrency AS DocumentCurrency,
  _CentralRequestForQuotationTP.PurchasingOrganization AS PurchasingOrganization,
  _CentralRequestForQuotationTP.PurchasingGroup AS PurchasingGroup,
  _CentralRequestForQuotationTP.IncotermsVersion AS IncotermsVersion,
  _CentralRequestForQuotationTP.IncotermsClassification AS IncotermsClassification,
  _CentralRequestForQuotationTP.IncotermsTransferLocation AS IncotermsTransferLocation,
  _CentralRequestForQuotationTP.IncotermsLocation1 AS IncotermsLocation1,
  _CentralRequestForQuotationTP.IncotermsLocation2 AS IncotermsLocation2,
  _CentralRequestForQuotationTP.PaymentTerms AS PaymentTerms,
  _CentralRequestForQuotationTP.CashDiscount1Days AS CashDiscount1Days,
  _CentralRequestForQuotationTP.CashDiscount2Days AS CashDiscount2Days,
  _CentralRequestForQuotationTP.CashDiscount1Percent AS CashDiscount1Percent,
  _CentralRequestForQuotationTP.CashDiscount2Percent AS CashDiscount2Percent,
  _CentralRequestForQuotationTP.NetPaymentDays AS NetPaymentDays,
  _CentralRequestForQuotationTP.RFQPublishingDate AS RFQPublishingDate,
  _CentralRequestForQuotationTP.QuotationLatestSubmissionDate AS QuotationLatestSubmissionDate,
  _CentralRequestForQuotationTP.BindingPeriodValidityEndDate AS BindingPeriodValidityEndDate,
  _CentralRequestForQuotationTP.TargetAmount AS TargetAmount,
  _CentralRequestForQuotationTP.CorrespncInternalReference AS CorrespncInternalReference,
  _CentralRequestForQuotationTP.RFQLifecycleStatus AS RFQLifecycleStatus,
  _CentralRequestForQuotationTP.RequestForQuotationName AS RequestForQuotationName,
  _CentralRequestForQuotationTP.QuotationEarliestSubmsnDate AS QuotationEarliestSubmsnDate,
  _CentralRequestForQuotationTP.LatestRegistrationDate AS LatestRegistrationDate,
  _CentralRequestForQuotationTP.FollowOnDocumentCategory AS FollowOnDocumentCategory,
  _CentralRequestForQuotationTP.FollowOnDocumentType AS FollowOnDocumentType,
  _CentralRequestForQuotationTP.PurContrValidityStartDate AS PurContrValidityStartDate,
  _CentralRequestForQuotationTP.PurContrValidityEndDate AS PurContrValidityEndDate,
  cast( '' as mm_approver_name ) AS ApproverName,
  cast( '' as mm_approver_id ) AS ApproverUser,
  _CentralRequestForQuotationTP.IsEndOfPurposeBlocked AS IsEndOfPurposeBlocked,
  cast( '' as abap.sstring( 450 ) ) AS NoteTypeListText,
  _CRFQCustomizing.RFQAwardingType AS RFQAwardingType,
  _CRFQCustomizing.RFQExternalProcessingType AS RFQExternalProcessingType,
  _CentralRequestForQuotationTP._CompanyCode AS _CompanyCode,
  _CentralRequestForQuotationTP._DocumentCurrency AS _DocumentCurrency,
  _CentralRequestForQuotationTP._IncotermsClassification AS _IncotermsClassification,
  _CentralRequestForQuotationTP._IncotermsVersion AS _IncotermsVersion,
  _CentralRequestForQuotationTP._PaymentTerms AS _PaymentTerms,
  _CentralRequestForQuotationTP._Language AS _Language,
  _CentralRequestForQuotationTP._PurchasingDocumentType AS _PurchasingDocumentType,
  _CentralRequestForQuotationTP._PurchasingGroup AS _PurchasingGroup,
  _CentralRequestForQuotationTP._PurchasingOrganization AS _PurchasingOrganization,
  _CentralRequestForQuotationTP._PurchasingDocumentCategory AS _PurchasingDocumentCategory,
  _CentralRequestForQuotationTP._FollowOnDocumentType AS _FollowOnDocumentType,
  _CentralRequestForQuotationTP._FollowOnDocumentCategory AS _FollowOnDocumentCategory,
  _CentralRequestForQuotationTP._RFQLifecycleStatus AS _RFQLifecycleStatus
FROM I_CentralRequestForQuotationTP AS _CentralRequestForQuotationTP
LEFT OUTER JOIN C_CentralReqForQuotationItemTP AS _CentralReqForQuotationItemTP ON CentralRequestForQuotation = _CentralReqForQuotationItemTP.CentralRequestForQuotation  -- association [1..*]
LEFT OUTER JOIN C_CntrlReqForQuotationBidderTP AS _CntrlReqForQuotationBidderTP ON CentralRequestForQuotation = _CntrlReqForQuotationBidderTP.CentralRequestForQuotation  -- association [0..*]
LEFT OUTER JOIN C_CntrlSupplierQuotationInfo AS _CntrlSupplierQuotationInfo ON CentralRequestForQuotation = _CntrlSupplierQuotationInfo.CentralRequestForQuotation AND CentralRequestForQuotation <> ''  -- association [0..*]
LEFT OUTER JOIN C_PurchasingGroupValueHelp AS _PurchasingGroupValueHelp ON _PurchasingGroupValueHelp.PurchasingGroup = PurchasingGroup  -- association [0..1]
LEFT OUTER JOIN C_PurchasingOrgValueHelp AS _PurchasingOrgValueHelp ON _PurchasingOrgValueHelp.PurchasingOrganization = PurchasingOrganization  -- association [0..1]
LEFT OUTER JOIN C_MM_CompanyCodeValueHelp AS _CompanyCodeValueHelp ON _CompanyCodeValueHelp.CompanyCode = CompanyCode  -- association [0..1]
LEFT OUTER JOIN C_MM_PaymentTermValueHelp AS _PaymentTermsValueHelp ON _PaymentTermsValueHelp.PaymentTerms = PaymentTerms  -- association [0..*]
LEFT OUTER JOIN I_PaymentTermsText AS _PaymentTermsText ON PaymentTerms = _PaymentTermsText.PaymentTerms  -- association [0..*]
LEFT OUTER JOIN C_MM_IncotermValueHelp AS _IncotermsValueHelp ON _IncotermsValueHelp.IncotermsClassification = IncotermsClassification AND _IncotermsValueHelp.IncotermsVersion = IncotermsVersion  -- association [0..1]
LEFT OUTER JOIN I_IncotermsClassificationText AS _IncotermsClassificationText ON IncotermsClassification = _IncotermsClassificationText.IncotermsClassification  -- association [0..*]
LEFT OUTER JOIN I_IncotermsVersionText AS _IncotermsVersionText ON IncotermsVersion = _IncotermsVersionText.IncotermsVersion  -- association [0..*]
LEFT OUTER JOIN C_CentralReqForQuotationTypeVH AS _CentralReqForQuotationTypeVH ON _CentralReqForQuotationTypeVH.RFQType = PurchasingDocumentType  -- association [0..1]
LEFT OUTER JOIN C_CentralSourcingFollowOnDocVH AS _FollowOnDocVH ON _FollowOnDocVH.SupplierQuotationType = PurchasingDocumentType AND _FollowOnDocVH.FollowOnDocumentType = FollowOnDocumentType AND _FollowOnDocVH.FollowOnDocumentCategory = FollowOnDocumentCategory  -- association [0..1]
LEFT OUTER JOIN I_UserContactCard AS _ContactCard ON _ContactCard.ContactCardType = 'User' AND _ContactCard.ContactCardID = CreatedByUser AND _ContactCard.ContactCardRole = 'Creator'  -- association [0..1]
LEFT OUTER JOIN P_CRFQCustomizing AS _CRFQCustomizing ON PurchasingDocumentType = _CRFQCustomizing.PurchasingDocumentType  -- association [0..1]
LEFT OUTER JOIN I_PurchasingDocumentTypeText AS _PurchasingDocumentTypeText ON PurchasingDocumentCategory = _PurchasingDocumentTypeText.PurchasingDocumentCategory AND PurchasingDocumentType = _PurchasingDocumentTypeText.PurchasingDocumentType  -- association [0..*]
;