I_JournalEntryItemOneTimeData
One-Time Data for Journal Entry Item
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.
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 (14)
| 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 | |
| Analytics.internalName | #LOCAL | view | |
| Analytics.technicalName | IJEONETIMEDATA | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| Metadata.allowExtensions | true | view |
Fields (45)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | bsec | bukrs | |
| KEY | AccountingDocument | bsec | belnr | |
| KEY | FiscalYear | |||
| KEY | AccountingDocumentItem | bsec | buzei | |
| BusinessPartnerName1 | ||||
| BusinessPartnerName2 | ||||
| BusinessPartnerName3 | ||||
| BusinessPartnerName4 | ||||
| Country | bsec | land1 | ||
| CityName | ||||
| POBox | bsec | pfach | ||
| POBoxPostalCode | bsec | pstl2 | ||
| PostalCode | bsec | pstlz | ||
| IsVATLiable | bsec | stkzu | ||
| Region | bsec | regio | ||
| TaxID1 | bsec | stcd1 | ||
| TaxID2 | bsec | stcd2 | ||
| TaxID3 | bsec | stcd3 | ||
| TaxID4 | bsec | stcd4 | ||
| TaxID5 | bsec | stcd5 | ||
| StreetAddressName | bsec | stras | ||
| ResponsibleType | bsec | fityp | ||
| TaxNumberType | bsec | stcdt | ||
| BusinessType | bsec | j_1kftbus | ||
| IndustryType | bsec | j_1kftind | ||
| OneTimeAccountBPSalutationText | bsec | anred | ||
| AddressID | bsec | adrnr | ||
| AccountingClerkInternetAddress | bsec | intad | ||
| BankAccount | bsec | bankn | ||
| BankNumber | bsec | bankl | ||
| BankCountry | bsec | banks | ||
| PostOfficeBankAccount | bsec | pskto | ||
| PaymentSystem | bsec | payment_system | ||
| AliasType | bsec | alias_type | ||
| BPBankAccountAliasName | bsec | bank_alias | ||
| IsNaturalPerson | ||||
| IsOneTimeAccount | bsec | xcpdk | ||
| BankControlKey | bkont | |||
| OneTimeAcctCntrySpecificRef1 | glo_re1_ot | |||
| _CompanyCode | _CompanyCode | |||
| _AccountingDocument | _AccountingDocument | |||
| _FiscalYear | _FiscalYear | |||
| _Address | _Address | |||
| _IBAN | _IBAN | |||
| _Bank | _Bank |
@EndUserText: { label: 'One-Time Data for Journal Entry Item' }
@VDM: { viewType: #BASIC }
@Search: { searchable: false }
@AccessControl: { authorizationCheck: #PRIVILEGED_ONLY,
privilegedAssociations: ['_Address'],
personalData.blocking: #REQUIRED}
@ObjectModel: {
usageType.serviceQuality: #A,
usageType.sizeCategory: #M,
usageType.dataClass: #TRANSACTIONAL,
representativeKey: 'AccountingDocumentItem',
modelingPattern: #ANALYTICAL_DIMENSION,
supportedCapabilities: [ #CDS_MODELING_DATA_SOURCE , #CDS_MODELING_ASSOCIATION_TARGET , #SQL_DATA_SOURCE, #ANALYTICAL_DIMENSION ]
}
@Analytics: { internalName: #LOCAL,
technicalName: 'IJEONETIMEDATA' }
@Metadata: { ignorePropagatedAnnotations: true,
allowExtensions: true }
define view entity I_JournalEntryItemOneTimeData
as select from bsec
association [1..1] to I_CompanyCode as _CompanyCode on $projection.CompanyCode = _CompanyCode.CompanyCode
association [0..1] to I_JournalEntry as _AccountingDocument on $projection.CompanyCode = _AccountingDocument.CompanyCode
and $projection.AccountingDocument = _AccountingDocument.AccountingDocument
and $projection.FiscalYear = _AccountingDocument.FiscalYear
association [0..1] to I_FiscalYearForCompanyCode as _FiscalYear on $projection.FiscalYear = _FiscalYear.FiscalYear
and $projection.CompanyCode = _FiscalYear.CompanyCode
association [0..1] to I_Address as _Address on $projection.AddressID = _Address.AddressID
association [0..1] to I_Iban as _IBAN on $projection.BankCountry = _IBAN.BankCountry
and $projection.BankNumber = _IBAN.Bank
and $projection.BankAccount = _IBAN.BankAccount
and $projection.BankControlKey = _IBAN.BankControlKey
association [0..1] to I_Bank_2 as _Bank on $projection.BankCountry = _Bank.BankCountry
and $projection.BankNumber = _Bank.BankInternalID
{
@ObjectModel.foreignKey.association: '_CompanyCode'
key bsec.bukrs as CompanyCode,
@ObjectModel.foreignKey.association: '_AccountingDocument'
key bsec.belnr as AccountingDocument,
@ObjectModel.foreignKey.association: '_FiscalYear'
key cast( bsec.gjahr as fis_gjahr_no_conv preserving type ) as FiscalYear,
key 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,
@Semantics.booleanIndicator: true
cast(bsec.stkzn as bu_natural_person) as IsNaturalPerson,
bsec.xcpdk as IsOneTimeAccount,
bkont as BankControlKey,
glo_re1_ot as OneTimeAcctCntrySpecificRef1,
_CompanyCode,
_AccountingDocument,
_FiscalYear,
_Address,
_IBAN,
_Bank
}
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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