R_SrcgProjQtnDraft

DDL: R_SRCGPROJQTNDRAFT Type: view_entity BASIC

Quotation for Sourcing Project - Draft

R_SrcgProjQtnDraft is a Basic CDS View that provides data about "Quotation for Sourcing Project - Draft" in SAP S/4HANA. It reads from 1 data source (mmsrcgprojqtn_d) and exposes 53 fields with key field SourcingProjectQuotationUUID. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
mmsrcgprojqtn_d SrcgProjQtnDraft from

Associations (2)

CardinalityTargetAliasCondition
[1..1] E_SourcingProjectQuotationD _Extension $projection.SourcingProjectQuotationUUID = _Extension.SourcingProjectQuotationUUID
[0..1] R_SrcgProjQtnContrbnForUser _ContributionForUser $projection.SourcingProjectQuotationUUID = _ContributionForUser.SourcingProjectQuotationUUID

Annotations (12)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
EndUserText.label Quotation for Sourcing Project - Draft view
AbapCatalog.extensibility.extensible true view
AbapCatalog.extensibility.allowNewDatasources false view
AbapCatalog.extensibility.elementSuffix SQH view
AbapCatalog.extensibility.quota.maximumFields 204 view
AbapCatalog.extensibility.quota.maximumBytes 4080 view

Fields (53)

KeyFieldSource TableSource FieldDescription
KEY SourcingProjectQuotationUUID sourcingprojectquotationuuid Supplier Quotation UUID
SrcgProjQuotationNoteObject
SourcingProjectQuotation sourcingprojectquotation Supplier Quotation
SrcgProjQuotationVersion srcgprojquotationversion Version
SourcingProjectQuotationType sourcingprojectquotationtype Sourcing Project Quotation Type
SourcingProjectQuotationName sourcingprojectquotationname Name
SrcgProjQuotationIsSimulated srcgprojquotationissimulated Simulated
SrcgProjQtnIsAllowedForSplit srcgprojqtnisallowedforsplit
Bidder bidder Business Partner
CompanyCode companycode Receiver Company Code
PurchasingGroup purchasinggroup Purchasing Group
PurchasingOrganization purchasingorganization Purchasing Organization
SrcgProjQtnOfferCurrency srcgprojqtnoffercurrency Quotation Currency
SrcgProjQtnTotNetAmt srcgprojqtntotnetamt Total Amount
SrcgProjQtnLifecycleStatus srcgprojqtnlifecyclestatus Status
SrcgProjQtnRevisionSts srcgprojqtnrevisionsts Revision Status
SrcgProjQtnActvtnSts srcgprojqtnactvtnsts Activation Status
SrcgProjQtnSubmsnSts srcgprojqtnsubmsnsts Submission Status
SrcgProjQtnAwardingStatus srcgprojqtnawardingstatus Awarding Status
SourcingProjectUUID sourcingprojectuuid Sourcing Project UUID
SourcingProjectNegotiationUUID sourcingprojectnegotiationuuid Negotiation UUID
PricingProcedure pricingprocedure Procedure
LastChangedByUser lastchangedbyuser User Name
CreatedByUser createdbyuser User Name
LastChangeDateTime lastchangedatetime Timestamp
CreationDateTime creationdatetime Timestamp
SrcgProjAttchsAreForbidden srcgprojattchsareforbidden Forbid Attachments
SrcgProjNotesAreForbidden srcgprojnotesareforbidden Forbid Notes
SourcingOrigin sourcingorigin Sourcing Origin
ExternalSourcingProjectQtnRef externalsourcingprojectqtnref External Reference
QtnLatestSubmissionDateTime qtnlatestsubmissiondatetime Submission Deadline
LogicalSystem logicalsystem Logical System
SourceSrcgProjQuotationUUID sourcesrcgprojquotationuuid UUID of Source Supplier Quotation
IsEndOfPurposeBlocked isendofpurposeblocked Busin. Purp. Cmpltd.
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
PurchasingCategory purchasingcategory Purchasing Category
MaterialGroup materialgroup Product Group
SourcingAwardingDate sourcingawardingdate Awarded On
SrcgProjQtnSuitability srcgprojqtnsuitability Suitability
LglCntntMLinkdObj lglcntntmlinkdobj Unique ID
SourcingProjectNegotiationType sourcingprojectnegotiationtype Negotiation Type
SourcingEnvelopeOverallStatus sourcingenvelopeoverallstatus
DraftEntityCreationDateTime draftentitycreationdatetime Draft Created On
DraftEntityLastChangeDateTime draftentitylastchangedatetime Draft Last Changed On
DraftAdministrativeDataUUID draftadministrativedatauuid UUID
DraftEntityOperationCode draftentityoperationcode Draft - Operation Code
HasActiveEntity hasactiveentity TRUE
DraftFieldChanges draftfieldchanges Field Changes
_ContributionForUser _ContributionForUser

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_SrcgProjQtnDraft.
-- 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_SrcgProjQtnDraft AS
SELECT
  SourcingProjectQuotationUUID,
  cast( bintohex(sourcingprojectquotationuuid) as nte_objectid ) AS SrcgProjQuotationNoteObject,
  SourcingProjectQuotation,
  SrcgProjQuotationVersion,
  SourcingProjectQuotationType,
  SourcingProjectQuotationName,
  SrcgProjQuotationIsSimulated,
  SrcgProjQtnIsAllowedForSplit,
  Bidder,
  CompanyCode,
  PurchasingGroup,
  PurchasingOrganization,
  SrcgProjQtnOfferCurrency,
  SrcgProjQtnTotNetAmt,
  SrcgProjQtnLifecycleStatus,
  SrcgProjQtnRevisionSts,
  SrcgProjQtnActvtnSts,
  SrcgProjQtnSubmsnSts,
  SrcgProjQtnAwardingStatus,
  SourcingProjectUUID,
  SourcingProjectNegotiationUUID,
  PricingProcedure,
  LastChangedByUser,
  CreatedByUser,
  LastChangeDateTime,
  CreationDateTime,
  SrcgProjAttchsAreForbidden,
  SrcgProjNotesAreForbidden,
  SourcingOrigin,
  ExternalSourcingProjectQtnRef,
  QtnLatestSubmissionDateTime,
  LogicalSystem,
  SourceSrcgProjQuotationUUID,
  IsEndOfPurposeBlocked,
  CashDiscount1Days,
  CashDiscount2Days,
  CashDiscount1Percent,
  CashDiscount2Percent,
  NetPaymentDays,
  PurchasingCategory,
  MaterialGroup,
  SourcingAwardingDate,
  SrcgProjQtnSuitability,
  LglCntntMLinkdObj,
  SourcingProjectNegotiationType,
  SourcingEnvelopeOverallStatus,
  DraftEntityCreationDateTime,
  DraftEntityLastChangeDateTime,
  DraftAdministrativeDataUUID,
  DraftEntityOperationCode,
  HasActiveEntity,
  DraftFieldChanges
FROM mmsrcgprojqtn_d AS SrcgProjQtnDraft
LEFT OUTER JOIN E_SourcingProjectQuotationD AS _Extension ON SourcingProjectQuotationUUID = _Extension.SourcingProjectQuotationUUID  -- association [1..1]
LEFT OUTER JOIN R_SrcgProjQtnContrbnForUser AS _ContributionForUser ON SourcingProjectQuotationUUID = _ContributionForUser.SourcingProjectQuotationUUID  -- association [0..1]
;