I_JOURNALENTRYITEMONETIMEDATA

CDS View

One-Time Data for Journal Entry Item

I_JOURNALENTRYITEMONETIMEDATA is a CDS View in S/4HANA. One-Time Data for Journal Entry Item. It contains 22 fields. 16 CDS views read from this table.

CDS Views using this table (16)

ViewTypeJoinVDMDescription
C_StRpDocLineItemWthRefDoc view left_outer CONSUMPTION Tax Items with Reference Accounting Documents
I_MX_DIOTTxItmBusinessPartner view_entity inner COMPOSITE MX DIOT Tax Details with BP info
I_NO_SAFTCustomerMasterData view_entity inner COMPOSITE Master data of customers for SAFT
I_NO_SAFTSupplierMasterData view_entity inner COMPOSITE Master data of suppliers for SAFT
I_PT_SAFTBillAcctgOneTimeCust view_entity inner COMPOSITE One Time Customer from Accounting Doc
I_PT_SAFTOneTimeAcctgAddr view_entity inner COMPOSITE One Time Customer Addr Accounting Docs
I_SAFTAcctgOneTimeCustomer view inner COMPOSITE SAF-T Accounting OneTimeCustomers
I_SAFTGenLedgerOneTimeCustomer view inner COMPOSITE SAF-T Gen Ledger One Time Customer
I_SAFTGenLedgerOneTimeSupplier view inner COMPOSITE SAF-T Gen Ledger OneTimeSupplier
P_AR_CustomerSupplierEntryItem view_entity inner CONSUMPTION Argentina Customer/Supplier Entry Item
P_AU_PTROneTimeSupplierC view_entity from CONSUMPTION AU PTR One TIme Suppliers details
P_CL_SalesLedgerCustomer view_entity union_all CONSUMPTION Chile Sales Ledger Customer Information
P_CO_DIANFrmt1007JrnlItmWthBP2 view_entity inner CONSUMPTION Format 1007 Journal Entry Item with BP
P_NO_SAFTJournalCustSup view inner COMPOSITE SAF-T Norway Customers and Suppliers
P_RO_SAFTBSECTaxID view from COMPOSITE BSEC TaxID
P_StRpBillgDocSuplrInvcItem view left_outer COMPOSITE Sales and Purchase Inv Item with Tax for Statutory Reporting

Fields (22)

KeyField CDS FieldsUsed in Views
KEY AccountingDocument AccountingDocument 2
KEY AccountingDocumentItem AccountingDocumentItem 1
KEY CompanyCode CompanyCode 2
KEY FiscalYear FiscalYear 2
AddressID AddressID 4
BankAccount BankAccount 2
BankNumber BankNumber 2
BusinessPartnerName1 BusinessPartnerFullName,BusinessPartnerName1,CustomerName,OrganizationBPName1 4
BusinessPartnerName2 BusinessPartnerName2,OrganizationBPName2 2
BusinessPartnerName3 OrganizationBPName3 1
BusinessPartnerName4 OrganizationBPName4 1
CityName CityName 7
Country Country,CustomerCountry 9
IsNaturalPerson IsNaturalPerson 1
IsOneTimeAccount IsOneTimeAccount 1
POBox POBox 4
POBoxPostalCode POBoxPostalCode 4
PostalCode PostalCode 6
Region Region 7
StreetAddressName StreetName 6
TaxID1 TaxNumber1,VATRegistration 5
TaxNumberType TaxNumberType 2
@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, #EXTRACTION_DATA_SOURCE ],
                   sapObjectNodeType.name: 'JournalEntryItemOneTimeData'
                   }
@Analytics:      { internalName: #LOCAL,
                   technicalName: 'IJEONETIMEDATA',
                   dataCategory: #DIMENSION,
                    dataExtraction: {
                      enabled: true,
                      delta.changeDataCapture: {
                        mapping: 
                          [
                            { 
                              table: 'BSEC',
                              role: #MAIN,
                              viewElement: ['CompanyCode', 'AccountingDocument', 'FiscalYear', 'AccountingDocumentItem'],
                              tableElement: ['bukrs', 'belnr', 'gjahr', 'buzei']
                            }
                          ] 
                       }
                    }
                   }

@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,
      cast(bsec.dtaws as farp_dtaws preserving type)          as DataExchangeInstructionKey,
      bsec.dtams                                              as DataMediumExchangeControl,

      _CompanyCode,
      _AccountingDocument,
      _FiscalYear,
      _Address,
      _IBAN,
      _Bank
}