I_SAFTBillingPaymentTerms

DDL: I_SAFTBILLINGPAYMENTTERMS SQL: ISAFTBILLPAYMT Type: view BASIC

SAF-T Billing Payment Terms

I_SAFTBillingPaymentTerms is a Basic CDS View that provides data about "SAF-T Billing Payment Terms" in SAP S/4HANA. It reads from 3 data sources (I_BillingDocument, I_SAFTPaymentTermsValidityDay, I_PaymentTermsConditions) and exposes 7 fields with key fields BillingDocument, PaymentTerms.

Data Sources (3)

SourceAliasJoin Type
I_BillingDocument a from
I_SAFTPaymentTermsValidityDay b inner
I_PaymentTermsConditions c inner

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName ISAFTBILLPAYMT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #BASIC view
AccessControl.personalData.blocking #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label SAF-T Billing Payment Terms view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY BillingDocument I_BillingDocument BillingDocument SD Document
KEY PaymentTerms I_BillingDocument CustomerPaymentTerms Pyt Terms
CompanyCode I_BillingDocument CompanyCode Receiver Company Code
CashDiscount1Days I_PaymentTermsConditions CashDiscount1Days Days from Baseline Date for Payment
CashDiscount2Days I_PaymentTermsConditions CashDiscount2Days Days from Baseline Date for Payment
CashDiscount1Percent I_PaymentTermsConditions CashDiscount1Percent Disc. Percent 1
CashDiscount2Percent I_PaymentTermsConditions CashDiscount2Percent Disc. Percent 2

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_SAFTBillingPaymentTerms.
-- 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: ISAFTBILLPAYMT

CREATE VIEW I_SAFTBillingPaymentTerms AS
SELECT
  a.BillingDocument AS BillingDocument,
  a.CustomerPaymentTerms AS PaymentTerms,
  a.CompanyCode AS CompanyCode,
  c.CashDiscount1Days AS CashDiscount1Days,
  c.CashDiscount2Days AS CashDiscount2Days,
  c.CashDiscount1Percent AS CashDiscount1Percent,
  c.CashDiscount2Percent AS CashDiscount2Percent
FROM I_BillingDocument AS a
INNER JOIN I_SAFTPaymentTermsValidityDay AS b ON /* join condition not captured in parsed metadata */
INNER JOIN I_PaymentTermsConditions AS c ON /* join condition not captured in parsed metadata */
;