R_SourcingProjectDraft
Sourcing Project - Draft
R_SourcingProjectDraft is a Basic CDS View that provides data about "Sourcing Project - Draft" in SAP S/4HANA. It reads from 1 data source (mmsrcgproj_d) and exposes 70 fields with key field SourcingProjectUUID. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| mmsrcgproj_d | SourcingProjectDraft | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | E_SourcingProjectD | _Extension | $projection.SourcingProjectUUID = _Extension.SourcingProjectUUID |
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 | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| EndUserText.label | Sourcing Project - Draft | view | |
| AbapCatalog.extensibility.extensible | true | view | |
| AbapCatalog.extensibility.allowNewDatasources | false | view | |
| AbapCatalog.extensibility.elementSuffix | SPH | view | |
| AbapCatalog.extensibility.quota.maximumFields | 204 | view | |
| AbapCatalog.extensibility.quota.maximumBytes | 4080 | view |
Fields (70)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SourcingProjectUUID | sourcingprojectuuid | Sourcing Project UUID | |
| SourcingProject | sourcingproject | Sourcing Project | ||
| SourcingProjectVersion | sourcingprojectversion | Sourcing Project Version | ||
| SourcingProjectType | sourcingprojecttype | Sourcing Project Type | ||
| SourcingProjectName | sourcingprojectname | Name | ||
| SrcgProjLifecycleStatus | srcgprojlifecyclestatus | Status | ||
| SrcgProjApprovalStatus | srcgprojapprovalstatus | Approval Status | ||
| SourcingProjectPhase | sourcingprojectphase | Phase | ||
| SrcgProjRevisionSts | srcgprojrevisionsts | Revision Status | ||
| SrcgProjActvtnSts | srcgprojactvtnsts | Activation Status | ||
| SrcgProjPubgSts | srcgprojpubgsts | Publishing Status | ||
| SourcingSupplierListUUID | sourcingsupplierlistuuid | UUID of Sourcing Supplier List | ||
| CompanyCode | companycode | Receiver Company Code | ||
| PurchasingGroup | purchasinggroup | Purchasing Group | ||
| PurchasingOrganization | purchasingorganization | Purchasing Organization | ||
| MaterialGroup | materialgroup | Product Group | ||
| DocumentCurrency | documentcurrency | Document Currency | ||
| SrcgProjTotalTargetAmount | srcgprojtotaltargetamount | Total Target Amount | ||
| PurchaserRespWorkAgreement | purchaserrespworkagreement | Purchaser Responsible | ||
| PurchaserResponsiblePerson | purchaserresponsibleperson | Purchaser Responsible | ||
| QtnLatestSubmissionDateTime | qtnlatestsubmissiondatetime | Submission Deadline | ||
| LastChangedByUser | lastchangedbyuser | User Name | ||
| CreatedByUser | createdbyuser | User Name | ||
| LastChangeDateTime | lastchangedatetime | Timestamp | ||
| CreationDateTime | creationdatetime | Timestamp | ||
| 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 | ||
| SrcgProjPubgDteTme | srcgprojpubgdtetme | Published On | ||
| SrcgProjCancDteTme | srcgprojcancdtetme | Canceled On | ||
| SrcgProjAttchsAreForbidden | srcgprojattchsareforbidden | Forbid Attachments | ||
| SrcgProjNotesAreForbidden | srcgprojnotesareforbidden | Forbid Notes | ||
| SrcgProjFollowOnDocumentCat | srcgprojfollowondocumentcat | Follow-On Document Category | ||
| SrcgProjFollowOnDocumentType | srcgprojfollowondocumenttype | Follow-On Document Type | ||
| PurContrValidityStartDate | purcontrvaliditystartdate | Validity Start | ||
| PurContrValidityEndDate | purcontrvalidityenddate | Validity End | ||
| ExchangeRateType | exchangeratetype | Exch. Rate Type | ||
| SourcingOrigin | sourcingorigin | Sourcing Origin | ||
| SourcingScenario | sourcingscenario | Integration Scenario | ||
| ExternalSourcingProjectRef | externalsourcingprojectref | External Reference | ||
| LogicalSystem | logicalsystem | Logical System | ||
| ShippingInstruction | shippinginstruction | Shipping Instr. | ||
| SourceSourcingProjectUUID | sourcesourcingprojectuuid | Source Sourcing Project UUID | ||
| ProcurementPlanningBundleUUID | procurementplanningbundleuuid | Procurement Planning Bundle UUID | ||
| CentralPurchaseContract | centralpurchasecontract | Purchasing Doc. | ||
| SourcingProjectVersioningRsn | sourcingprojectversioningrsn | Reason | ||
| SrcgProjPaymentTermIsManual | srcgprojpaymenttermismanual | Truth Value | ||
| SrcgProjEarliestCndnSelDate | srcgprojearliestcndnseldate | Earliest Start Date for Conditions | ||
| SrcgProjCancellationRsn | srcgprojcancellationrsn | Cancelation Reason | ||
| SourcingProjectUniqueID | sourcingprojectuniqueid | Unique ID | ||
| SrcgProjHasBeenActivated | srcgprojhasbeenactivated | |||
| SourcingProjectTypeForEdit | sourcingprojecttypeforedit | Sourcing Project Type | ||
| PurchasingOrganizationForEdit | purchasingorganizationforedit | Purchasing Organization | ||
| PurchasingGroupForEdit | purchasinggroupforedit | Purchasing Group | ||
| CompanyCodeForEdit | companycodeforedit | Company Code | ||
| MaterialGroupForEdit | materialgroupforedit | Material Group | ||
| 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 |
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_SourcingProjectDraft.
-- 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_SourcingProjectDraft AS
SELECT
SourcingProjectUUID,
SourcingProject,
SourcingProjectVersion,
SourcingProjectType,
SourcingProjectName,
SrcgProjLifecycleStatus,
SrcgProjApprovalStatus,
SourcingProjectPhase,
SrcgProjRevisionSts,
SrcgProjActvtnSts,
SrcgProjPubgSts,
SourcingSupplierListUUID,
CompanyCode,
PurchasingGroup,
PurchasingOrganization,
MaterialGroup,
DocumentCurrency,
SrcgProjTotalTargetAmount,
PurchaserRespWorkAgreement,
PurchaserResponsiblePerson,
QtnLatestSubmissionDateTime,
LastChangedByUser,
CreatedByUser,
LastChangeDateTime,
CreationDateTime,
IncotermsClassification,
IncotermsTransferLocation,
IncotermsVersion,
IncotermsLocation1,
IncotermsLocation2,
PaymentTerms,
CashDiscount1Days,
CashDiscount2Days,
CashDiscount1Percent,
CashDiscount2Percent,
NetPaymentDays,
SrcgProjPubgDteTme,
SrcgProjCancDteTme,
SrcgProjAttchsAreForbidden,
SrcgProjNotesAreForbidden,
SrcgProjFollowOnDocumentCat,
SrcgProjFollowOnDocumentType,
PurContrValidityStartDate,
PurContrValidityEndDate,
ExchangeRateType,
SourcingOrigin,
SourcingScenario,
ExternalSourcingProjectRef,
LogicalSystem,
ShippingInstruction,
SourceSourcingProjectUUID,
ProcurementPlanningBundleUUID,
CentralPurchaseContract,
SourcingProjectVersioningRsn,
SrcgProjPaymentTermIsManual,
SrcgProjEarliestCndnSelDate,
SrcgProjCancellationRsn,
SourcingProjectUniqueID,
SrcgProjHasBeenActivated,
SourcingProjectTypeForEdit,
PurchasingOrganizationForEdit,
PurchasingGroupForEdit,
CompanyCodeForEdit,
MaterialGroupForEdit,
DraftEntityCreationDateTime,
DraftEntityLastChangeDateTime,
DraftAdministrativeDataUUID,
DraftEntityOperationCode,
HasActiveEntity,
DraftFieldChanges
FROM mmsrcgproj_d AS SourcingProjectDraft
LEFT OUTER JOIN E_SourcingProjectD AS _Extension ON SourcingProjectUUID = _Extension.SourcingProjectUUID -- association [1..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