C_SrcgProjQtnItmPaytTermDocVar

DDL: C_SRCGPROJQTNITMPAYTTERMDOCVAR SQL: CSPQTNITMPAYTRDV Type: view CONSUMPTION

Doc Varbl for Payt Terms for Itm in SPQtn

C_SrcgProjQtnItmPaytTermDocVar is a Consumption CDS View that provides data about "Doc Varbl for Payt Terms for Itm in SPQtn" in SAP S/4HANA. It reads from 1 data source (I_SrcgProjQtnItemPaymentTerms) and exposes 13 fields with key field SrcgProjQtnItmPaymentTermsUUID. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_SrcgProjQtnItemPaymentTerms I_SrcgProjQtnItemPaymentTerms from

Associations (1)

CardinalityTargetAliasCondition
[1..1] C_SourcingProjQtnDocVarbl _SourcingProjectQuotation $projection.SourcingProjectQuotationUUID = _SourcingProjectQuotation.SourcingProjectQuotationUUID

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName CSPQTNITMPAYTRDV view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #MANDATORY view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.representativeKey SrcgProjQtnItmPaymentTermsUUID view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
VDM.viewType #CONSUMPTION view
EndUserText.label Doc Varbl for Payt Terms for Itm in SPQtn view

Fields (13)

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

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 C_SrcgProjQtnItmPaytTermDocVar.
-- 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.
-- SQL view name: CSPQTNITMPAYTRDV

CREATE VIEW C_SrcgProjQtnItmPaytTermDocVar AS
SELECT
  SrcgProjQtnItmPaymentTermsUUID,
  SrcgProjQtnItemUUID,
  SourcingProjectQuotationUUID,
  Plant,
  PaymentTerms,
  CashDiscount1Days,
  CashDiscount2Days,
  CashDiscount1Percent,
  CashDiscount2Percent,
  NetPaymentDays,
  CompanyCode,
  ProcurementHubSourceSystem
FROM I_SrcgProjQtnItemPaymentTerms
LEFT OUTER JOIN C_SourcingProjQtnDocVarbl AS _SourcingProjectQuotation ON SourcingProjectQuotationUUID = _SourcingProjectQuotation.SourcingProjectQuotationUUID  -- association [1..1]
;