C_PPS_PaymentTerm

DDL: C_PPS_PAYMENTTERM Type: view_entity CONSUMPTION

Payment terms quick view

C_PPS_PaymentTerm is a Consumption CDS View that provides data about "Payment terms quick view" in SAP S/4HANA.

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Payment terms quick view view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.representativeKey PaymentTerms view
VDM.viewType #CONSUMPTION view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY PaymentTerms PaymentTerms Pyt Terms
PaymentTermsName
CashDiscount1Days _PaymentTermsConditions CashDiscount1Days Days from Baseline Date for Payment
CashDiscount1Percent In Percent
CashDiscount2Days _PaymentTermsConditions CashDiscount2Days Days from Baseline Date for Payment
CashDiscount2Percent In Percent
NetPaymentDays _PaymentTermsConditions NetPaymentDays Net Pmt Terms Period

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_PPS_PaymentTerm.
-- 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 C_PPS_PaymentTerm AS
SELECT
  PaymentTerms,
  _Text[1: Language = $session.system_language].PaymentTermsName AS PaymentTermsName,
  _PaymentTermsConditions.CashDiscount1Days AS CashDiscount1Days,
  cast(_PaymentTermsConditions.CashDiscount1Percent as abap.dec(5,0) ) AS CashDiscount1Percent,
  _PaymentTermsConditions.CashDiscount2Days AS CashDiscount2Days,
  cast(_PaymentTermsConditions.CashDiscount2Percent as abap.dec(5,0) ) AS CashDiscount2Percent,
  _PaymentTermsConditions.NetPaymentDays AS NetPaymentDays
;