A_SourcingProject

DDL: A_SOURCINGPROJECT Type: view_entity CONSUMPTION

Sourcing Project

A_SourcingProject is a Consumption CDS View that provides data about "Sourcing Project" in SAP S/4HANA. It reads from 1 data source (R_SourcingProjectTP) and exposes 48 fields with key field SourcingProjectUUID. It has 1 association to related views. It is exposed through 2 OData services (API_SOURCINGPROJECT, API_SOURCINGPROJECTNEGOTIATION).

Data Sources (1)

SourceAliasJoin Type
R_SourcingProjectTP R_SourcingProjectTP projection

Associations (1)

CardinalityTargetAliasCondition
[0..*] A_SrcgProjImprtdSuplrListBP _SrcgProjImprtdSuplrListBP $projection.SourcingSupplierListUUID = _SrcgProjImprtdSuplrListBP.SourcingSupplierListUUID

Annotations (18)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #NOT_REQUIRED view
Metadata.ignorePropagatedAnnotations true view
VDM.viewType #CONSUMPTION view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
ObjectModel.representativeKey SourcingProjectUUID view
ObjectModel.modelingPattern #TRANSACTIONAL_QUERY view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
EndUserText.label Sourcing Project view
OData.entityType.name SourcingProject_Type 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
AbapCatalog.extensibility.allowNewCompositions true view

OData Services (2)

ServiceBindingVersionContractRelease
API_SOURCINGPROJECT API_SOURCINGPROJECT V4 C2 C1
API_SOURCINGPROJECTNEGOTIATION API_SRCGPROJECTNEGOTIATION V4 C2 C1

Fields (48)

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
SourcingProjectPhase SourcingProjectPhase Phase
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
QtnLatestSubmissionDateTime QtnLatestSubmissionDateTime Submission Deadline
LastChangeDateTime LastChangeDateTime Timestamp
CreationDateTime CreationDateTime Timestamp
SrcgProjPubgDteTme SrcgProjPubgDteTme Published On
SrcgProjCancDteTme SrcgProjCancDteTme Canceled On
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
ShippingInstruction ShippingInstruction Shipping Instr.
SrcgProjFollowOnDocumentCat SrcgProjFollowOnDocumentCat Follow-On Document Category
SrcgProjFollowOnDocumentType SrcgProjFollowOnDocumentType Follow-On Document Type
PurContrValidityStartDate PurContrValidityStartDate Validity Start
PurContrValidityEndDate PurContrValidityEndDate Validity End
SourcingOrigin SourcingOrigin Sourcing Origin
SourcingScenario SourcingScenario Integration Scenario
ExternalSourcingProjectRef ExternalSourcingProjectRef External Reference
LogicalSystem LogicalSystem Logical System
SourcingProjectUniqueID SourcingProjectUniqueID Unique ID
SrcgProjAttchsAreForbidden SrcgProjAttchsAreForbidden Forbid Attachments
SrcgProjNotesAreForbidden SrcgProjNotesAreForbidden Forbid Notes
LastChangedByUser LastChangedByUser User Name
CreatedByUser CreatedByUser User Name
ProcurementPlanningBundleUUID ProcurementPlanningBundleUUID Procurement Planning Bundle UUID
SourcingProjectVersioningRsn SourcingProjectVersioningRsn Reason
_SrcgProjImprtdSuplrListBP _SrcgProjImprtdSuplrListBP

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 A_SourcingProject.
-- 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 A_SourcingProject AS
SELECT
  SourcingProjectUUID,
  SourcingProject,
  SourcingProjectVersion,
  SourcingProjectType,
  SourcingProjectName,
  SrcgProjLifecycleStatus,
  SourcingProjectPhase,
  SourcingSupplierListUUID,
  CompanyCode,
  PurchasingGroup,
  PurchasingOrganization,
  MaterialGroup,
  DocumentCurrency,
  SrcgProjTotalTargetAmount,
  PurchaserRespWorkAgreement,
  QtnLatestSubmissionDateTime,
  LastChangeDateTime,
  CreationDateTime,
  SrcgProjPubgDteTme,
  SrcgProjCancDteTme,
  IncotermsClassification,
  IncotermsTransferLocation,
  IncotermsVersion,
  IncotermsLocation1,
  IncotermsLocation2,
  PaymentTerms,
  CashDiscount1Days,
  CashDiscount2Days,
  CashDiscount1Percent,
  CashDiscount2Percent,
  NetPaymentDays,
  ShippingInstruction,
  SrcgProjFollowOnDocumentCat,
  SrcgProjFollowOnDocumentType,
  PurContrValidityStartDate,
  PurContrValidityEndDate,
  SourcingOrigin,
  SourcingScenario,
  ExternalSourcingProjectRef,
  LogicalSystem,
  SourcingProjectUniqueID,
  SrcgProjAttchsAreForbidden,
  SrcgProjNotesAreForbidden,
  LastChangedByUser,
  CreatedByUser,
  ProcurementPlanningBundleUUID,
  SourcingProjectVersioningRsn
FROM R_SourcingProjectTP
LEFT OUTER JOIN A_SrcgProjImprtdSuplrListBP AS _SrcgProjImprtdSuplrListBP ON SourcingSupplierListUUID = _SrcgProjImprtdSuplrListBP.SourcingSupplierListUUID  -- association [0..*]
;