I_OffsettingAccount

DDL: I_OFFSETTINGACCOUNT Type: view_entity COMPOSITE Package: FINS_FIS_FICO

Offsetting Account

I_OffsettingAccount (Composite)

Package: Explore, extend and adapt the SAP S/4HANA Public Edition with built-in and side-by-side extension capabilities.

Accounting and Financial Close

I_OffsettingAccount is a Composite CDS View (Dimension) that provides data about "Offsetting Account" in SAP S/4HANA. It reads from 1 data source (P_OffsettingAccount) and exposes 11 fields with key fields ChartOfAccounts, OffsettingAccountType, OffsettingAccount. It has 6 associations to related views. It is exposed through 1 OData service (ASQL_F2218). Part of development package FINS_FIS_FICO.

SAP API Hub

CategoryComposite
StateC1
Line of BusinessAccounting and Financial Close
Application ComponentFI-GL-GL-N-2CL
CapabilitiesAnalytical Dimension,Association Target for Defining CDS Entities,Data Source in SQL Select,Data Source for Defining CDS Entities
Extensible (Key User)No
Extensible (Developer)No
Release State (Key User)Released
Release State (Developer)Released
PackageAccounting and Financial Close for SAP S/4HANA Cloud Public Edition

Documentation

Data Sources (1)

SourceAliasJoin Type
P_OffsettingAccount P_OffsettingAccount from

Associations (6)

CardinalityTargetAliasCondition
[0..1] I_ChartOfAccounts _ChartOfAccounts $projection.ChartOfAccounts = _ChartOfAccounts.ChartOfAccounts
[0..1] I_GLAccountInChartOfAccounts _GLAccount $projection.OffsettingAccount = _GLAccount.ChartOfAccounts and $projection.OffsettingAccount = _GLAccount.GLAccount and ( $projection.OffsettingAccountType = 'S' or $projection.OffsettingAccountType = 'M' or $projection.OffsettingAccountType = 'A' )
[0..1] I_GLAccountInChartOfAccounts _GLAccountInChartOfAccounts $projection.ChartOfAccounts = _GLAccountInChartOfAccounts.ChartOfAccounts and $projection.OffsettingAccount = _GLAccountInChartOfAccounts.GLAccount and ( $projection.OffsettingAccountType = 'S' or $projection.OffsettingAccountType = 'M' or $projection.OffsettingAccountType = 'A' )
[0..1] I_FinancialAccountType _OffsettingAccountType $projection.OffsettingAccountType = _OffsettingAccountType.FinancialAccountType
[0..1] I_Customer _Customer $projection.OffsettingAccount = _Customer.Customer and $projection.OffsettingAccountType = 'D'
[0..1] I_Supplier _Supplier $projection.OffsettingAccount = _Supplier.Supplier and $projection.OffsettingAccountType = 'K'

Annotations (14)

NameValueLevelField
AbapCatalog.entityBuffer.definitionAllowed false view
EndUserText.label Offsetting Account view
Analytics.dataCategory #DIMENSION view
Analytics.technicalName IFIOFFSETACCT view
VDM.viewType #COMPOSITE view
ObjectModel.representativeKey OffsettingAccount view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
Metadata.ignorePropagatedAnnotations true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
Metadata.allowExtensions true view

OData Services (1)

ServiceBindingVersionContractRelease
ASQL_F2218 ASQL_F2218 C2 NOT_RELEASED

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY ChartOfAccounts P_OffsettingAccount ChartOfAccounts Chart of Accounts
KEY OffsettingAccountType P_OffsettingAccount OffsettingAccountType Offsetting Account Type
KEY OffsettingAccount P_OffsettingAccount OffsettingAccount Offsetting Account
OffsettingAccountName P_OffsettingAccount OffsettingAccountName Name of Offsetting Account
OffsettingAccountShortName P_OffsettingAccount OffsettingAccountShortName Short Name of Offsetting Account
_ChartOfAccounts _ChartOfAccounts
_GLAccountInChartOfAccounts _GLAccountInChartOfAccounts
_GLAccount _GLAccount
_Customer _Customer
_Supplier _Supplier
_OffsettingAccountType _OffsettingAccountType

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_OffsettingAccount.
-- 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_OffsettingAccount AS
SELECT
  P_OffsettingAccount.ChartOfAccounts AS ChartOfAccounts,
  P_OffsettingAccount.OffsettingAccountType AS OffsettingAccountType,
  P_OffsettingAccount.OffsettingAccount AS OffsettingAccount,
  P_OffsettingAccount.OffsettingAccountName AS OffsettingAccountName,
  P_OffsettingAccount.OffsettingAccountShortName AS OffsettingAccountShortName
FROM P_OffsettingAccount
LEFT OUTER JOIN I_ChartOfAccounts AS _ChartOfAccounts ON ChartOfAccounts = _ChartOfAccounts.ChartOfAccounts  -- association [0..1]
LEFT OUTER JOIN I_GLAccountInChartOfAccounts AS _GLAccount ON OffsettingAccount = _GLAccount.ChartOfAccounts AND OffsettingAccount = _GLAccount.GLAccount AND ( OffsettingAccountType = 'S' OR OffsettingAccountType = 'M' OR OffsettingAccountType = 'A' )  -- association [0..1]
LEFT OUTER JOIN I_GLAccountInChartOfAccounts AS _GLAccountInChartOfAccounts ON ChartOfAccounts = _GLAccountInChartOfAccounts.ChartOfAccounts AND OffsettingAccount = _GLAccountInChartOfAccounts.GLAccount AND ( OffsettingAccountType = 'S' OR OffsettingAccountType = 'M' OR OffsettingAccountType = 'A' )  -- association [0..1]
LEFT OUTER JOIN I_FinancialAccountType AS _OffsettingAccountType ON OffsettingAccountType = _OffsettingAccountType.FinancialAccountType  -- association [0..1]
LEFT OUTER JOIN I_Customer AS _Customer ON OffsettingAccount = _Customer.Customer AND OffsettingAccountType = 'D'  -- association [0..1]
LEFT OUTER JOIN I_Supplier AS _Supplier ON OffsettingAccount = _Supplier.Supplier AND OffsettingAccountType = 'K'  -- association [0..1]
;