I_APARInterestDocument
Interest Run
I_APARInterestDocument is a Basic CDS View that provides data about "Interest Run" in SAP S/4HANA. It reads from 1 data source (intitpf) and exposes 22 fields with key fields CompanyCode, InterestCalculationForm, InterestDocumentFiscalYear. It has 4 associations to related views. Part of development package FINS_INTEREST_CALCULATION_CDS.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| intitpf | intitpf | from |
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 | IAPARINTDOC | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| EndUserText.label | Interest Run | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (22)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | bukrs_to | Company Code | |
| KEY | InterestCalculationForm | form_to | Form Number | |
| KEY | InterestDocumentFiscalYear | gjahr_to | To FY | |
| InterestDocumentAccount | account_to | Up to Account No. | ||
| InterestDocFinAccountType | koart_to | Receiver Acct Type | ||
| InterestCalcUpperLimitDate | int_until | Period Upper Limit | ||
| TransactionCurrency | int_curr | Currency | ||
| InterestAmount | int_amount | Interest Amount | ||
| TaxAmount | tax_amount | VAT Amount Type | ||
| InterestDocument | belnr_to | Interest Document | ||
| DebitCreditCode | int_shkzg | Debit/Credit | ||
| AccountingDocumentCreationDate | int_cpudt | Entered On | ||
| TimeEntry | int_cputm | Entered at | ||
| AccountingDocCreatedByUser | int_usnam | User Name | ||
| ApplicationLog | log_number | Log Number | ||
| InterestAmountInCCCrcy | dmbtr | Loc. amount | ||
| TaxAmountInCoCodeCrcy | mwsts | LC tax amount | ||
| CompanyCodeCurrency | hwaer | Local Currency | ||
| _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_APARInterestDocument.
-- 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: IAPARINTDOC
CREATE VIEW I_APARInterestDocument AS
SELECT
bukrs_to AS CompanyCode,
form_to AS InterestCalculationForm,
gjahr_to AS InterestDocumentFiscalYear,
account_to AS InterestDocumentAccount,
koart_to AS InterestDocFinAccountType,
int_until AS InterestCalcUpperLimitDate,
int_curr AS TransactionCurrency,
int_amount AS InterestAmount,
tax_amount AS TaxAmount,
belnr_to AS InterestDocument,
int_shkzg AS DebitCreditCode,
int_cpudt AS AccountingDocumentCreationDate,
int_cputm AS TimeEntry,
int_usnam AS AccountingDocCreatedByUser,
log_number AS ApplicationLog,
dmbtr AS InterestAmountInCCCrcy,
mwsts AS TaxAmountInCoCodeCrcy,
hwaer AS CompanyCodeCurrency
FROM intitpf
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]
;
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