I_APARInterestJrnlEntrySts

DDL: I_APARINTERESTJRNLENTRYSTS SQL: IAPARINTCALCSTS Type: view BASIC

Sts of Int. Cal. for Journal Entry Item

I_APARInterestJrnlEntrySts is a Basic CDS View that provides data about "Sts of Int. Cal. for Journal Entry Item" in SAP S/4HANA. It reads from 1 data source (intithe) and exposes 13 fields with key fields CompanyCode, AccountingDocument, FiscalYear, AccountingDocumentItem. It has 4 associations to related views.

Data Sources (1)

SourceAliasJoin Type
intithe intithe from

Associations (4)

CardinalityTargetAliasCondition
[0..1] I_Customer _Customer $projection.CustomerSupplierAccount = _Customer.Customer and $projection.FinancialAccountType = 'D'
[0..1] I_Supplier _Supplier $projection.CustomerSupplierAccount = _Supplier.Supplier and $projection.FinancialAccountType = 'K'
[0..1] I_CustomerCompany _CustomerCompany $projection.CustomerSupplierAccount = _CustomerCompany.Customer and $projection.CompanyCode = _CustomerCompany.CompanyCode and $projection.FinancialAccountType = 'D'
[0..1] I_SupplierCompany _SupplierCompany $projection.CustomerSupplierAccount = _SupplierCompany.Supplier and $projection.CompanyCode = _SupplierCompany.CompanyCode and $projection.FinancialAccountType = 'K'

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName IAPARINTCALCSTS view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
VDM.viewType #BASIC view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Sts of Int. Cal. for Journal Entry Item view

Fields (13)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode bukrs Value
KEY AccountingDocument belnr SD Document
KEY FiscalYear gjahr Settlement Year
KEY AccountingDocumentItem buzei Posting View Item
FinancialAccountType koart Account type
CustomerSupplierAccount account Std. Account
InterestCalcFirstStartDate int_first_begin First Int. Day
InterestCalcLastEndDate int_total_end Last Interest Day
InterestCalculationStatus int_status Status
_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_APARInterestJrnlEntrySts.
-- 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: IAPARINTCALCSTS

CREATE VIEW I_APARInterestJrnlEntrySts AS
SELECT
  bukrs AS CompanyCode,
  belnr AS AccountingDocument,
  gjahr AS FiscalYear,
  buzei AS AccountingDocumentItem,
  koart AS FinancialAccountType,
  account AS CustomerSupplierAccount,
  int_first_begin AS InterestCalcFirstStartDate,
  int_total_end AS InterestCalcLastEndDate,
  int_status AS InterestCalculationStatus
FROM intithe
LEFT OUTER JOIN I_Customer AS _Customer ON CustomerSupplierAccount = _Customer.Customer AND FinancialAccountType = 'D'  -- association [0..1]
LEFT OUTER JOIN I_Supplier AS _Supplier ON CustomerSupplierAccount = _Supplier.Supplier AND FinancialAccountType = 'K'  -- association [0..1]
LEFT OUTER JOIN I_CustomerCompany AS _CustomerCompany ON CustomerSupplierAccount = _CustomerCompany.Customer AND CompanyCode = _CustomerCompany.CompanyCode AND FinancialAccountType = 'D'  -- association [0..1]
LEFT OUTER JOIN I_SupplierCompany AS _SupplierCompany ON CustomerSupplierAccount = _SupplierCompany.Supplier AND CompanyCode = _SupplierCompany.CompanyCode AND FinancialAccountType = 'K'  -- association [0..1]
;