I_OffsettingAccount
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
| Category | Composite |
|---|---|
| State | C1 |
| Line of Business | Accounting and Financial Close |
| Application Component | FI-GL-GL-N-2CL |
| Capabilities | Analytical 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 |
| Package | Accounting and Financial Close for SAP S/4HANA Cloud Public Edition |
Documentation
- Analytics with CDS Views — Build Analytics for S/4HANA Cloud Public Edition ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA Cloud Public Edition CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA Cloud Public Edition and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Custom Communication Scenarios — Create custom communication scenarios to configure custom communication arrangement
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA Cloud Public Edition
- View Browser — Search, browse and tag CDS Views
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_OffsettingAccount | P_OffsettingAccount | from |
Associations (6)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| ASQL_F2218 | ASQL_F2218 | C2 | NOT_RELEASED |
Fields (11)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- OData Services in SAP S/4HANA Explained
- Service Bindings and Service Definitions in SAP S/4HANA
- 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