I_JournalEntryItemOneTimeData

DDL: I_JOURNALENTRYITEMONETIMEDATA Type: view_entity BASIC

One-Time Data for Journal Entry Item

I_JournalEntryItemOneTimeData (Basic)

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

Financial Operations

I_JournalEntryItemOneTimeData is a Basic CDS View that provides data about "One-Time Data for Journal Entry Item" in SAP S/4HANA. It reads from 1 data source (bsec) and exposes 45 fields with key fields CompanyCode, AccountingDocument, FiscalYear, AccountingDocumentItem. It has 6 associations to related views.

SAP Help Documentation

CategoryCDS Views for Receivables Management
Data CategoryDimension
Purpose
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 .

Structure
Fields Used for Filtering The main filters are as follows: CompanyCode : This field is used to specify the company code. AccountingDocument : This field is used to specify the journal entry. Fiscal Year : This field is used to specify the fiscal year. AccountingDocumentItem : This field is used to specify the journal entry item. Further 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

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessFinancial Operations
Application ComponentFI-AR-IS
CapabilitiesData Source for Defining CDS Entities, Association Target for Defining CDS Entities, Data Source in SQL Select, Analytical Dimension
PackageFinancial Operations for SAP S/4HANA Cloud Private 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

Data Sources (1)

SourceAliasJoin Type
bsec bsec from

Associations (6)

CardinalityTargetAliasCondition
[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 (14)

NameValueLevelField
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
Analytics.internalName #LOCAL view
Analytics.technicalName IJEONETIMEDATA view
Metadata.ignorePropagatedAnnotations true view
Metadata.allowExtensions true view

Fields (45)

KeyFieldSource TableSource FieldDescription
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
_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
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]
;