R_SrcgProjQtnDraft
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)
| Source | Alias | Join Type |
|---|---|---|
| mmsrcgprojqtn_d | SrcgProjQtnDraft | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | E_SourcingProjectQuotationD | _Extension | $projection.SourcingProjectQuotationUUID = _Extension.SourcingProjectQuotationUUID |
| [0..1] | R_SrcgProjQtnContrbnForUser | _ContributionForUser | $projection.SourcingProjectQuotationUUID = _ContributionForUser.SourcingProjectQuotationUUID |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA