I_JournalEntryItemOneTimeData
One-Time Data for Journal Entry Item
I_JournalEntryItemOneTimeData (Basic)
Package: Explore, extend and adapt the SAP S/4HANA Cloud Public Edition with built-in and side-by-side extension capabilities.
JournalEntryItemOneTimeData · Financial Operations
I_JournalEntryItemOneTimeData is a Basic CDS View (Dimension) that provides data about "One-Time Data for Journal Entry Item" in SAP S/4HANA. It reads from 1 data source (bsec) and exposes 47 fields with key fields CompanyCode, AccountingDocument, FiscalYear, AccountingDocumentItem. It has 6 associations to related views. Part of development package FINS_FIS_APAR.
SAP Help Documentation
| Category | CDS Views for Receivables Management |
|---|---|
| Data Category | Dimension |
This CDS view helps to retrieve the one-time data referring to the journal entry item. One-time data can comprise one-time accounts or one-time alternative payers or payees. To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .
Prerequisites
Authorizations Users who want to use this CDS view need to access it via another CDS view (privileged mode).
Structure
Important Fields Important fields in this view include the following: Field Name Description BusinessPartnerName1 to BusinessPartnerName4 Name of Business Partner 1 to Name of Business Partner 4 Country Country/Region Key CityName City POBox PO Box POBoxPostalCode P.O. Box Postal Code PostalCode Postal Code IsVATLiable Liable for VAT Region Region (State, Province, County) TaxID1 to TaxID5 Tax Number 1 to Tax Number 5 StreetAddressName Street and House Number ResponsibleType Tax Type: Classification of Companies According To Tax Aspects. TaxNumberType Tax Number Type BusinessType Type of Business IndustryType Type of Industry OneTimeAccountBPSalutationText Title AddressID Address IsNaturalPerson Indicator: Business Partner is a Natural Person IsOneTimeAccount Indicator: Is the Account a One-Time Account? BankAccount Bank Account Number BankNumber Bank Keys Bank Country Country/Region Key of Bank PostOfficeBankAccount PO Bank Current Acct No. or Building Society Ref. No. PaymentSystem Payee Payment System AliasType Payee Alias Type BPBankAccountAliasName Payee Alias DataExchangeInstructionKey Data Exchange Instruction DataMediumExchangeControl Recipient Code for Data Medium Exchange
Data Extraction
Data Extraction Type This CDS view is enabled for data extraction in full mode as well as in delta mode. Deltas are determined automatically by change data capture.
SAP API Hub
| Category | Basic |
|---|---|
| State | C1 |
| Line of Business | Financial Operations |
| Application Component | FI-AR-IS-2CL |
| Capabilities | Data Source for Data Extraction,Data Source for Defining CDS Entities,Association Target for Defining CDS Entities,Data Source in SQL Select,Analytical Dimension |
| Extensible (Key User) | No |
| Extensible (Developer) | No |
| Release State (Key User) | Released |
| Release State (Developer) | Released |
| Package | Financial Operations for SAP S/4HANA Cloud Public Edition |
| Description | <p>This CDS view helps to retrieve the one-time data referring to the journal entry item. One-time data can comprise one-time accounts or one-time alternative payers or payees.</p> <p>To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views.</p> |
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 |
|---|---|---|
| bsec | bsec | from |
Associations (6)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_CompanyCode | _CompanyCode | $projection.CompanyCode = _CompanyCode.CompanyCode |
| [0..1] | I_JournalEntry | _AccountingDocument | $projection.CompanyCode = _AccountingDocument.CompanyCode and $projection.AccountingDocument = _AccountingDocument.AccountingDocument and $projection.FiscalYear = _AccountingDocument.FiscalYear |
| [0..1] | I_FiscalYearForCompanyCode | _FiscalYear | $projection.FiscalYear = _FiscalYear.FiscalYear and $projection.CompanyCode = _FiscalYear.CompanyCode |
| [0..1] | I_Address | _Address | $projection.AddressID = _Address.AddressID |
| [0..1] | I_Iban | _IBAN | $projection.BankCountry = _IBAN.BankCountry and $projection.BankNumber = _IBAN.Bank and $projection.BankAccount = _IBAN.BankAccount and $projection.BankControlKey = _IBAN.BankControlKey |
| [0..1] | I_Bank_2 | _Bank | $projection.BankCountry = _Bank.BankCountry and $projection.BankNumber = _Bank.BankInternalID |
Annotations (17)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | One-Time Data for Journal Entry Item | view | |
| VDM.viewType | #BASIC | view | |
| Search.searchable | false | view | |
| AccessControl.authorizationCheck | #PRIVILEGED_ONLY | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.representativeKey | AccountingDocumentItem | view | |
| ObjectModel.modelingPattern | #ANALYTICAL_DIMENSION | view | |
| ObjectModel.sapObjectNodeType.name | JournalEntryItemOneTimeData | view | |
| Analytics.internalName | #LOCAL | view | |
| Analytics.technicalName | IJEONETIMEDATA | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| Analytics.dataExtraction.enabled | true | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| Metadata.allowExtensions | true | view |
Fields (47)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | bsec | bukrs | Company Code |
| KEY | AccountingDocument | bsec | belnr | Document Number of an Accounting Document |
| KEY | FiscalYear | Fiscal Year | ||
| KEY | AccountingDocumentItem | bsec | buzei | Number of Line Item Within Accounting Document |
| BusinessPartnerName1 | Name 1 | |||
| BusinessPartnerName2 | Name 2 | |||
| BusinessPartnerName3 | Name 3 | |||
| BusinessPartnerName4 | Name 4 | |||
| Country | bsec | land1 | Country/Region Key | |
| CityName | City | |||
| POBox | bsec | pfach | PO Box | |
| POBoxPostalCode | bsec | pstl2 | PO Box Postal Code | |
| PostalCode | bsec | pstlz | Postal Code | |
| IsVATLiable | bsec | stkzu | Liable for VAT | |
| Region | bsec | regio | Region (State, Province, County) | |
| TaxID1 | bsec | stcd1 | Tax Number 1 | |
| TaxID2 | bsec | stcd2 | Tax Number 2 | |
| TaxID3 | bsec | stcd3 | Tax Number 3 | |
| TaxID4 | bsec | stcd4 | Tax Number 4 | |
| TaxID5 | bsec | stcd5 | Tax Number 5 | |
| StreetAddressName | bsec | stras | Street and House Number | |
| ResponsibleType | bsec | fityp | Tax Type | |
| TaxNumberType | bsec | stcdt | Tax number type | |
| BusinessType | bsec | j_1kftbus | Type of Business | |
| IndustryType | bsec | j_1kftind | Type of Industry | |
| OneTimeAccountBPSalutationText | bsec | anred | Title | |
| AddressID | bsec | adrnr | Sold-To Address | |
| AccountingClerkInternetAddress | bsec | intad | Internet address of partner company clerk | |
| BankAccount | bsec | bankn | Bank Account Number | |
| BankNumber | bsec | bankl | House Bank | |
| BankCountry | bsec | banks | Bank Country/Region Key | |
| PostOfficeBankAccount | bsec | pskto | PO Bank Current Acct No. or Building Society Ref. No. | |
| PaymentSystem | bsec | payment_system | Payee Payment System | |
| AliasType | bsec | alias_type | Payee Alias Type | |
| BPBankAccountAliasName | bsec | bank_alias | Payee Alias | |
| IsNaturalPerson | Business Partner Is a Natural Person Under the Tax Laws | |||
| IsOneTimeAccount | bsec | xcpdk | Indicator: Is the Account a One-Time Account? | |
| BankControlKey | bkont | Bank Control Key | ||
| OneTimeAcctCntrySpecificRef1 | glo_re1_ot | Ctry/Reg. Specific Reference in the One Time Account Data | ||
| DataExchangeInstructionKey | Data Exchange Instruction | |||
| DataMediumExchangeControl | bsec | dtams | Recipient Code for Data Medium Exchange | |
| _CompanyCode | _CompanyCode | |||
| _AccountingDocument | _AccountingDocument | |||
| _FiscalYear | _FiscalYear | |||
| _Address | _Address | |||
| _IBAN | _IBAN | |||
| _Bank | _Bank |
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_JournalEntryItemOneTimeData.
-- 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_JournalEntryItemOneTimeData AS
SELECT
bsec.bukrs AS CompanyCode,
bsec.belnr AS AccountingDocument,
cast( bsec.gjahr as fis_gjahr_no_conv preserving type ) AS FiscalYear,
bsec.buzei AS AccountingDocumentItem,
cast(bsec.name1 as ad_name1) AS BusinessPartnerName1,
cast(bsec.name2 as ad_name2) AS BusinessPartnerName2,
cast(bsec.name3 as ad_name3) AS BusinessPartnerName3,
cast(bsec.name4 as ad_name4) AS BusinessPartnerName4,
bsec.land1 AS Country,
cast(bsec.ort01 as ad_city1) AS CityName,
bsec.pfach AS POBox,
bsec.pstl2 AS POBoxPostalCode,
bsec.pstlz AS PostalCode,
bsec.stkzu AS IsVATLiable,
bsec.regio AS Region,
bsec.stcd1 AS TaxID1,
bsec.stcd2 AS TaxID2,
bsec.stcd3 AS TaxID3,
bsec.stcd4 AS TaxID4,
bsec.stcd5 AS TaxID5,
bsec.stras AS StreetAddressName,
bsec.fityp AS ResponsibleType,
bsec.stcdt AS TaxNumberType,
bsec.j_1kftbus AS BusinessType,
bsec.j_1kftind AS IndustryType,
bsec.anred AS OneTimeAccountBPSalutationText,
bsec.adrnr AS AddressID,
bsec.intad AS AccountingClerkInternetAddress,
bsec.bankn AS BankAccount,
bsec.bankl AS BankNumber,
bsec.banks AS BankCountry,
bsec.pskto AS PostOfficeBankAccount,
bsec.payment_system AS PaymentSystem,
bsec.alias_type AS AliasType,
bsec.bank_alias AS BPBankAccountAliasName,
cast(bsec.stkzn as bu_natural_person) AS IsNaturalPerson,
bsec.xcpdk AS IsOneTimeAccount,
bkont AS BankControlKey,
glo_re1_ot AS OneTimeAcctCntrySpecificRef1,
cast(bsec.dtaws as farp_dtaws preserving type) AS DataExchangeInstructionKey,
bsec.dtams AS DataMediumExchangeControl
FROM bsec
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode -- association [1..1]
LEFT OUTER JOIN I_JournalEntry AS _AccountingDocument ON CompanyCode = _AccountingDocument.CompanyCode AND AccountingDocument = _AccountingDocument.AccountingDocument AND FiscalYear = _AccountingDocument.FiscalYear -- association [0..1]
LEFT OUTER JOIN I_FiscalYearForCompanyCode AS _FiscalYear ON FiscalYear = _FiscalYear.FiscalYear AND CompanyCode = _FiscalYear.CompanyCode -- association [0..1]
LEFT OUTER JOIN I_Address AS _Address ON AddressID = _Address.AddressID -- association [0..1]
LEFT OUTER JOIN I_Iban AS _IBAN ON BankCountry = _IBAN.BankCountry AND BankNumber = _IBAN.Bank AND BankAccount = _IBAN.BankAccount AND BankControlKey = _IBAN.BankControlKey -- association [0..1]
LEFT OUTER JOIN I_Bank_2 AS _Bank ON BankCountry = _Bank.BankCountry AND BankNumber = _Bank.BankInternalID -- 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