R_SourcingProjectDraft

DDL: R_SOURCINGPROJECTDRAFT Type: view_entity BASIC

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)

SourceAliasJoin Type
mmsrcgproj_d SourcingProjectDraft from

Associations (1)

CardinalityTargetAliasCondition
[1..1] E_SourcingProjectD _Extension $projection.SourcingProjectUUID = _Extension.SourcingProjectUUID

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 #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)

KeyFieldSource TableSource FieldDescription
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]
;