I_PaymentTermsConditionsText

DDL: I_PAYMENTTERMSCONDITIONSTEXT Type: view BASIC

Payment Terms Conditions - Text

I_PaymentTermsConditionsText (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_PaymentTermsConditionsText is a Basic CDS View that provides data about "Payment Terms Conditions - Text" in SAP S/4HANA. It reads from 1 data source (t052u) and exposes 7 fields with key fields PaymentTerms, PaymentTermsValidityMonthDay, Language. 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
t052u t052u from

Associations (3)

CardinalityTargetAliasCondition
[0..1] I_Language _Language $projection.Language = _Language.Language
[1..1] I_PaymentTerms _PaymentTerms $projection.PaymentTerms = _PaymentTerms.PaymentTerms
[1..1] I_PaymentTermsConditions _PaymentTermsConditions $projection.PaymentTerms = _PaymentTermsConditions.PaymentTerms and $projection.PaymentTermsValidityMonthDay = _PaymentTermsConditions.PaymentTermsValidityMonthDay

Annotations (17)

NameValueLevelField
AbapCatalog.sqlViewName IPAYTTRMSCNDNST 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 Terms Conditions - Text view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.dataCategory #TEXT view
ObjectModel.modelingPattern #LANGUAGE_DEPENDENT_TEXT view
ObjectModel.representativeKey PaymentTermsValidityMonthDay 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 PaymentTerms Terms of Payment Key
KEY PaymentTermsValidityMonthDay ztagg Day Limit
KEY Language spras Off. Language
PaymentTermsConditionDesc Own Explanation of Payment Terms Condition
_PaymentTerms _PaymentTerms
_PaymentTermsConditions _PaymentTermsConditions
_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_PaymentTermsConditionsText.
-- 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_PaymentTermsConditionsText AS
SELECT
  cast( zterm as farp_dzterm preserving type ) AS PaymentTerms,
  ztagg AS PaymentTermsValidityMonthDay,
  spras AS Language,
  cast( text1 as fis_payment_terms_cndns_desc preserving type ) AS PaymentTermsConditionDesc
FROM t052u
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_PaymentTermsConditions AS _PaymentTermsConditions ON PaymentTerms = _PaymentTermsConditions.PaymentTerms AND PaymentTermsValidityMonthDay = _PaymentTermsConditions.PaymentTermsValidityMonthDay  -- association [1..1]
;