N_PaymentTerms

DDL: N_PAYMENTTERMS SQL: NFIPAYMENTTERMS Type: view Package: FINS_FIS_APAR

Payment Terms

N_PaymentTerms is a CDS View that provides data about "Payment Terms" in SAP S/4HANA. It reads from 1 data source (t052) and exposes 2 fields with key field PaymentTerms. It has 1 association to related views. Part of development package FINS_FIS_APAR.

Data Sources (1)

SourceAliasJoin Type
t052 t052 from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_PaymentTermsText _Text $projection.PaymentTerms = _Text.PaymentTerms

Annotations (9)

NameValueLevelField
EndUserText.label Payment Terms view
AbapCatalog.sqlViewName NFIPAYMENTTERMS view
Metadata.ignorePropagatedAnnotations true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #CUSTOMIZING view
VDM.auxiliaryEntity.for.entity I_PaymentTerms view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY PaymentTerms zterm Terms of Payment
PaymentTermsName

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 N_PaymentTerms.
-- 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: NFIPAYMENTTERMS

CREATE VIEW N_PaymentTerms AS
SELECT
  zterm AS PaymentTerms,
  _Text[1:Language = $session.system_language].PaymentTermsName AS PaymentTermsName
FROM t052
LEFT OUTER JOIN I_PaymentTermsText AS _Text ON PaymentTerms = _Text.PaymentTerms  -- association [0..*]
;