I_PaymentTermsText

DDL: I_PAYMENTTERMSTEXT Type: view BASIC

Payment Term - Text

I_PaymentTermsText (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

Financial Operations

I_PaymentTermsText is a Basic CDS View that provides data about "Payment Term - Text" in SAP S/4HANA. It reads from 1 data source (P_PaymentTermsTextTblFunc) and exposes 7 fields with key fields Language, PaymentTerms. It has 3 associations to related views.

SAP API Hub

StateC1
Line of BusinessFinancial Operations
Application ComponentFI-AR-IS
CapabilitiesLanguage-Dependent Text, Data Source for Data Extraction, Association Target for Defining CDS Entities, Data Source for Defining CDS Entities, Data Source in SQL Select
PackageFinancial Operations for SAP S/4HANA Cloud Private Edition

Documentation

Data Sources (1)

SourceAliasJoin Type
P_PaymentTermsTextTblFunc P_PaymentTermsTextTblFunc from

Associations (3)

CardinalityTargetAliasCondition
[0..1] I_Language _Language $projection.Language = _Language.Language
[1..1] I_PaymentTerms _PaymentTerms $projection.PaymentTerms = _PaymentTerms.PaymentTerms
[0..1] I_CustomerPaymentTermsText _CustomerPaymentTermsText $projection.PaymentTerms = _CustomerPaymentTermsText.CustomerPaymentTerms and $projection.Language = _CustomerPaymentTermsText.Language

Annotations (17)

NameValueLevelField
AbapCatalog.sqlViewName IFIPAYMENTTERMST view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
Analytics.dataExtraction.enabled true view
Analytics.internalName #LOCAL view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Payment Term - Text view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.dataCategory #TEXT view
ObjectModel.modelingPattern #LANGUAGE_DEPENDENT_TEXT view
ObjectModel.representativeKey PaymentTerms view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #CUSTOMIZING view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
VDM.viewType #BASIC view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY Language Language Report Text Language
KEY PaymentTerms PaymentTerms Terms of Payment Key
PaymentTermsName _CustomerPaymentTermsText CustomerPaymentTermsName Description of terms of payment
PaymentTermsDescription Payment Terms Description
_PaymentTerms _PaymentTerms
_CustomerPaymentTermsText _CustomerPaymentTermsText
_Language _Language

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_PaymentTermsText.
-- 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_PaymentTermsText AS
SELECT
  Language,
  PaymentTerms,
  _CustomerPaymentTermsText.CustomerPaymentTermsName AS PaymentTermsName,
  cast( PaymentTermsDescription as farp_paytterms_desc preserving type ) AS PaymentTermsDescription
FROM P_PaymentTermsTextTblFunc
LEFT OUTER JOIN I_Language AS _Language ON Language = _Language.Language  -- association [0..1]
LEFT OUTER JOIN I_PaymentTerms AS _PaymentTerms ON PaymentTerms = _PaymentTerms.PaymentTerms  -- association [1..1]
LEFT OUTER JOIN I_CustomerPaymentTermsText AS _CustomerPaymentTermsText ON PaymentTerms = _CustomerPaymentTermsText.CustomerPaymentTerms AND Language = _CustomerPaymentTermsText.Language  -- association [0..1]
;