R_SrcgProjQtnItmPaymentTermsTP

DDL: R_SRCGPROJQTNITMPAYMENTTERMSTP Type: view_entity TRANSACTIONAL Package: RAP_MM_PUR_SRCGPROJQTN

Payt Tems for Itm in Srcg Proj Qtn - TP

R_SrcgProjQtnItmPaymentTermsTP is a Transactional CDS View that provides data about "Payt Tems for Itm in Srcg Proj Qtn - TP" in SAP S/4HANA. It reads from 1 data source (I_SrcgProjQtnItemPaymentTerms) and exposes 17 fields with key field SrcgProjQtnItmPaymentTermsUUID. It has 3 associations to related views. Part of development package RAP_MM_PUR_SRCGPROJQTN.

Data Sources (1)

SourceAliasJoin Type
I_SrcgProjQtnItemPaymentTerms I_SrcgProjQtnItemPaymentTerms from

Associations (3)

CardinalityTargetAliasCondition
[1..1] R_SourcingProjectQuotationTP _SourcingProjectQuotation $projection.SourcingProjectQuotationUUID = _SourcingProjectQuotation.SourcingProjectQuotationUUID
[1..1] I_BackendPlantForPurg _Plant _Plant.Plant = $projection.Plant and _Plant.CompanyCode = $projection.CompanyCode and _Plant.ProcurementHubSourceSystem = $projection.ProcurementHubSourceSystem
[*] R_SrcgProjQtnAllowedPaytTrmTP _SrcgProjQtnAllowedPaytTrm

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
ObjectModel.representativeKey SrcgProjQtnItmPaymentTermsUUID view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
EndUserText.label Payt Tems for Itm in Srcg Proj Qtn - TP view

Fields (17)

KeyFieldSource TableSource FieldDescription
KEY SrcgProjQtnItmPaymentTermsUUID SrcgProjQtnItmPaymentTermsUUID Payment Term UUID
SourcingProjectQuotationUUID SourcingProjectQuotationUUID Supplier Quotation UUID
SrcgProjQtnItemUUID SrcgProjQtnItemUUID Supplier Quotation 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
_PaymentTerms _PaymentTerms
_Plant _Plant
_SrcgProjQuotationItem _SrcgProjQuotationItem
_SourcingProjectQuotation _SourcingProjectQuotation
_SrcgProjQtnAllowedPaytTrm _SrcgProjQtnAllowedPaytTrm

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_SrcgProjQtnItmPaymentTermsTP.
-- 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_SrcgProjQtnItmPaymentTermsTP AS
SELECT
  SrcgProjQtnItmPaymentTermsUUID,
  SourcingProjectQuotationUUID,
  SrcgProjQtnItemUUID,
  Plant,
  PaymentTerms,
  CashDiscount1Days,
  CashDiscount2Days,
  CashDiscount1Percent,
  CashDiscount2Percent,
  NetPaymentDays,
  CompanyCode,
  ProcurementHubSourceSystem
FROM I_SrcgProjQtnItemPaymentTerms
LEFT OUTER JOIN R_SourcingProjectQuotationTP AS _SourcingProjectQuotation ON SourcingProjectQuotationUUID = _SourcingProjectQuotation.SourcingProjectQuotationUUID  -- association [1..1]
LEFT OUTER JOIN I_BackendPlantForPurg AS _Plant ON _Plant.Plant = Plant AND _Plant.CompanyCode = CompanyCode AND _Plant.ProcurementHubSourceSystem = ProcurementHubSourceSystem  -- association [1..1]
LEFT OUTER JOIN R_SrcgProjQtnAllowedPaytTrmTP AS _SrcgProjQtnAllowedPaytTrm ON /* condition not available in parsed metadata */  -- association [*]
;