I_SrcgProjItemPaymentTerms

DDL: I_SRCGPROJITEMPAYMENTTERMS Type: view_entity BASIC Package: VDM_MM_PUR_SRCGPROJ

Payment Terms for Sourcing Project Item

I_SrcgProjItemPaymentTerms is a Basic CDS View that provides data about "Payment Terms for Sourcing Project Item" in SAP S/4HANA. It reads from 1 data source (mmspitmpyttrm) and exposes 18 fields with key field SrcgProjItemPaymentTermsUUID. It has 3 associations to related views. Part of development package VDM_MM_PUR_SRCGPROJ.

Data Sources (1)

SourceAliasJoin Type
mmspitmpyttrm mmspitmpyttrm from

Associations (3)

CardinalityTargetAliasCondition
[1..1] I_SourcingProject _SourcingProject $projection.SourcingProjectUUID = _SourcingProject.SourcingProjectUUID
[0..1] I_PaymentTerms _PaymentTerms $projection.PaymentTerms = _PaymentTerms.PaymentTerms
[1..1] I_SourcingProjectItem _SourcingProjectItem $projection.SourcingProjectItemUUID = _SourcingProjectItem.SourcingProjectItemUUID

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
ObjectModel.representativeKey SrcgProjItemPaymentTermsUUID view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
VDM.viewType #BASIC view
EndUserText.label Payment Terms for Sourcing Project Item view

Fields (18)

KeyFieldSource TableSource FieldDescription
KEY SrcgProjItemPaymentTermsUUID srcgprojitempaymenttermsuuid Payment Term UUID
SourcingProjectUUID sourcingprojectuuid Sourcing Project UUID
SourcingProjectItemUUID sourcingprojectitemuuid Item UUID
Plant plant Valuation Area
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
CompanyCode companycode Receiver Company Code
ProcurementHubSourceSystem procurementhubsourcesystem Connected System ID
SrcgProjHasPaymentTermKey srcgprojhaspaymenttermkey Truth Value
SourcingOrigin sourcingorigin Sourcing Origin
SourcingScenario sourcingscenario Integration Scenario
_PaymentTerms _PaymentTerms
_SourcingProjectItem _SourcingProjectItem
_SourcingProject _SourcingProject

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 I_SrcgProjItemPaymentTerms.
-- 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 I_SrcgProjItemPaymentTerms AS
SELECT
  SrcgProjItemPaymentTermsUUID,
  SourcingProjectUUID,
  SourcingProjectItemUUID,
  Plant,
  PaymentTerms,
  CashDiscount1Days,
  CashDiscount2Days,
  CashDiscount1Percent,
  CashDiscount2Percent,
  NetPaymentDays,
  CompanyCode,
  ProcurementHubSourceSystem,
  SrcgProjHasPaymentTermKey,
  SourcingOrigin,
  SourcingScenario
FROM mmspitmpyttrm
LEFT OUTER JOIN I_SourcingProject AS _SourcingProject ON SourcingProjectUUID = _SourcingProject.SourcingProjectUUID  -- association [1..1]
LEFT OUTER JOIN I_PaymentTerms AS _PaymentTerms ON PaymentTerms = _PaymentTerms.PaymentTerms  -- association [0..1]
LEFT OUTER JOIN I_SourcingProjectItem AS _SourcingProjectItem ON SourcingProjectItemUUID = _SourcingProjectItem.SourcingProjectItemUUID  -- association [1..1]
;