I_APARInterestItem
Interest History Item
I_APARInterestItem is a Basic CDS View that provides data about "Interest History Item" in SAP S/4HANA. It reads from 2 data sources (intitfx, intitit) and exposes 62 fields with key fields CompanyCode, AccountingDocument, FiscalYear, AccountingDocumentItem, InterestCalcUpperLimitDate. It has 4 associations to related views. Part of development package FINS_INTEREST_CALCULATION_CDS.
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_Customer | _Customer | $projection.InterestDocumentAccount = _Customer.Customer and $projection.InterestDocFinAccountType = 'D' |
| [0..1] | I_Supplier | _Supplier | $projection.InterestDocumentAccount = _Supplier.Supplier and $projection.InterestDocFinAccountType = 'K' |
| [0..1] | I_CustomerCompany | _CustomerCompany | $projection.InterestDocumentAccount = _CustomerCompany.Customer and $projection.CompanyCode = _CustomerCompany.CompanyCode and $projection.InterestDocFinAccountType = 'D' |
| [0..1] | I_SupplierCompany | _SupplierCompany | $projection.InterestDocumentAccount = _SupplierCompany.Supplier and $projection.CompanyCode = _SupplierCompany.CompanyCode and $projection.InterestDocFinAccountType = 'K' |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IAPARINTITEM | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| EndUserText.label | Interest History Item | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (62)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | bukrs | Value | |
| KEY | AccountingDocument | belnr | SD Document | |
| KEY | FiscalYear | gjahr | Settlement Year | |
| KEY | AccountingDocumentItem | buzei | Posting View Item | |
| KEY | InterestCalcUpperLimitDate | int_until | Period Upper Limit | |
| KEY | CAInterestRate | int_rate | Interest Rate | |
| InterestCalcEndDate | int_end | Interest Calc. To | ||
| InterestCalcStartDate | int_begin | Interest Calc. From | ||
| NumberOfDays | int_days | |||
| InterestCalculationCode | int_ind | Interest Indic. | ||
| TransactionCurrency | int_curr | Currency | ||
| InterestAmount | int_amount | Interest Amount | ||
| DebitCreditCode | int_shkzg | Debit/Credit | ||
| TaxAmountInTransCrcy | tax_amount | VAT Amount Type | ||
| AccountingDocumentCreationDate | int_cpudt | Entered On | ||
| TimeEntry | int_cputm | Entered at | ||
| AccountingDocCreatedByUser | int_usnam | User Name | ||
| CustomerSupplierAccount | account | Std. Account | ||
| InterestDocumentAccount | account_to | Up to Account No. | ||
| FinancialAccountType | koart | Account type | ||
| InterestDocFinAccountType | koart_to | Receiver Acct Type | ||
| InterestDocument | belnr_to | Interest Document | ||
| InterestDocumentFiscalYear | gjahr_to | To FY | ||
| InterestDocumentItem | buzei_to | Interest Doc. LI | ||
| InterestCalculationForm | form_to | Form Number | ||
| InterestBaseDaysMethod | int_basedays | Base Days | ||
| InterestBaseAmount | int_basamt | Int. Base Amount | ||
| DocumentReferenceID | xblnr | Reference | ||
| _Customer | _Customer | |||
| _Supplier | _Supplier | |||
| _CustomerCompany | _CustomerCompany | |||
| KEY | AccountingDocument | belnr | SD Document | |
| KEY | FiscalYear | gjahr | Settlement Year | |
| KEY | AccountingDocumentItem | buzei | Posting View Item | |
| KEY | InterestCalcUpperLimitDate | int_until | Period Upper Limit | |
| KEY | CAInterestRate | 0 | Interest Rate | |
| InterestCalcEndDate | Interest Calc. To | |||
| InterestCalcStartDate | Interest Calc. From | |||
| NumberOfDays | 0000 | |||
| InterestCalculationCode | int_ind | Interest Indic. | ||
| TransactionCurrency | int_curr | Currency | ||
| InterestAmount | int_amount | Interest Amount | ||
| DebitCreditCode | int_shkzg | Debit/Credit | ||
| TaxAmountInTransCrcy | tax_amount | VAT Amount Type | ||
| AccountingDocumentCreationDate | int_cpudt | Entered On | ||
| TimeEntry | int_cputm | Entered at | ||
| AccountingDocCreatedByUser | int_usnam | User Name | ||
| CustomerSupplierAccount | account | Std. Account | ||
| InterestDocumentAccount | account_to | Up to Account No. | ||
| FinancialAccountType | koart | Account type | ||
| InterestDocFinAccountType | koart_to | Receiver Acct Type | ||
| InterestDocument | belnr_to | Interest Document | ||
| InterestDocumentFiscalYear | gjahr_to | To FY | ||
| InterestDocumentItem | buzei_to | Interest Doc. LI | ||
| InterestCalculationForm | form_to | Form Number | ||
| InterestBaseDaysMethod | 0 | Base Days | ||
| InterestBaseAmount | int_basamt | Int. Base Amount | ||
| DocumentReferenceID | xblnr | Reference | ||
| _Customer | _Customer | |||
| _Supplier | _Supplier | |||
| _CustomerCompany | _CustomerCompany | |||
| _SupplierCompany | _SupplierCompany |
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_APARInterestItem.
-- 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: IAPARINTITEM
CREATE VIEW I_APARInterestItem AS
SELECT
bukrs AS CompanyCode,
belnr AS AccountingDocument,
gjahr AS FiscalYear,
buzei AS AccountingDocumentItem,
int_until AS InterestCalcUpperLimitDate,
int_rate AS CAInterestRate,
int_end AS InterestCalcEndDate,
int_begin AS InterestCalcStartDate,
int_days AS NumberOfDays,
int_ind AS InterestCalculationCode,
int_curr AS TransactionCurrency,
int_amount AS InterestAmount,
int_shkzg AS DebitCreditCode,
tax_amount AS TaxAmountInTransCrcy,
int_cpudt AS AccountingDocumentCreationDate,
int_cputm AS TimeEntry,
int_usnam AS AccountingDocCreatedByUser,
account AS CustomerSupplierAccount,
account_to AS InterestDocumentAccount,
koart AS FinancialAccountType,
koart_to AS InterestDocFinAccountType,
belnr_to AS InterestDocument,
gjahr_to AS InterestDocumentFiscalYear,
buzei_to AS InterestDocumentItem,
form_to AS InterestCalculationForm,
int_basedays AS InterestBaseDaysMethod,
int_basamt AS InterestBaseAmount,
xblnr AS DocumentReferenceID
FROM intitit
LEFT OUTER JOIN I_Customer AS _Customer ON InterestDocumentAccount = _Customer.Customer AND InterestDocFinAccountType = 'D' -- association [0..1]
LEFT OUTER JOIN I_Supplier AS _Supplier ON InterestDocumentAccount = _Supplier.Supplier AND InterestDocFinAccountType = 'K' -- association [0..1]
LEFT OUTER JOIN I_CustomerCompany AS _CustomerCompany ON InterestDocumentAccount = _CustomerCompany.Customer AND CompanyCode = _CustomerCompany.CompanyCode AND InterestDocFinAccountType = 'D' -- association [0..1]
LEFT OUTER JOIN I_SupplierCompany AS _SupplierCompany ON InterestDocumentAccount = _SupplierCompany.Supplier AND CompanyCode = _SupplierCompany.CompanyCode AND InterestDocFinAccountType = 'K' -- association [0..1]
-- UNION with additional select branch(es): intitfx
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA