I_PaymentTermsConditionsText

DDL: I_PAYMENTTERMSCONDITIONSTEXT Type: view_entity BASIC Package: FINS_FIS_APAR

Payment Terms Conditions - Text

I_PaymentTermsConditionsText (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Public 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. Part of development package FINS_FIS_APAR.

SAP API Hub

CategoryBasic
StateC1
Line of BusinessFinancial Operations
Application ComponentFI-AR-IS-2CL
CapabilitiesData Source for Data Extraction,Language-Dependent Text,Data Source for Defining CDS Entities,Association Target for Defining CDS Entities,Data Source in SQL Select
Extensible (Key User)No
Extensible (Developer)No
Release State (Key User)Released
Release State (Developer)Released
PackageFinancial Operations for SAP S/4HANA Cloud Public Edition
Description <p>These CDS views provide access to the payment terms master data detail. They show the payment terms IDs and descriptions, as well as the payment terms conditions details, such as how the cash discounts days and respective cash discount rates and net due days looks like. </p> These CDS views provide the data to answer the following business questions:<ul> <li> <p>What are the payment terms descriptions?</p> </li> <li> <p>What are the cash discounts conditions and net due day of payment terms?</p> </li> </ul> <p>To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views.</p>

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 (15)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
Analytics.dataExtraction.enabled true view
Analytics.internalName #LOCAL view
EndUserText.label Payment Terms Conditions - Text view
ClientHandling.clientSafe true 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
Analytics.technicalName IPAYTTRMSCNDNST 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]
;