I_OneTimeAccountBP

DDL: I_ONETIMEACCOUNTBP SQL: IONETIMEBP Type: view BASIC

One Time Business Partner - obsolete

I_OneTimeAccountBP is a Basic CDS View (Dimension) that provides data about "One Time Business Partner - obsolete" in SAP S/4HANA. It reads from 1 data source (bsec) and exposes 32 fields with key fields CompanyCode, AccountingDocument, FiscalYear, AccountingDocumentItem. It has 4 associations to related views.

Data Sources (1)

SourceAliasJoin Type
bsec bsec from

Associations (4)

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

Annotations (18)

NameValueLevelField
EndUserText.label One Time Business Partner - obsolete view
Analytics.dataCategory #DIMENSION view
VDM.viewType #BASIC view
AbapCatalog.sqlViewName IONETIMEBP view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AbapCatalog.buffering.status #NOT_ALLOWED view
AbapCatalog.buffering.type #NONE view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.representativeKey AccountingDocumentItem view
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations true view
AccessControl.authorizationCheck #CHECK view
VDM.lifecycle.status #DEPRECATED view
VDM.lifecycle.successor I_JournalEntryItemOneTimeData view

Fields (32)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode bsec bukrs
KEY AccountingDocument bsec belnr
KEY FiscalYear bsec gjahr
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
IsNaturalPerson
_CompanyCode _CompanyCode
_AccountingDocument _AccountingDocument
_FiscalYear _FiscalYear
_Address _Address
@EndUserText.label: 'One Time Business Partner - obsolete'
@Analytics: { dataCategory:#DIMENSION}
@VDM.viewType: #BASIC
@AbapCatalog.sqlViewName: 'IONETIMEBP'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey:true
@AbapCatalog.buffering.status: #NOT_ALLOWED
@AbapCatalog.buffering.type: #NONE
@ClientHandling.algorithm: #SESSION_VARIABLE 
@ObjectModel.usageType.serviceQuality:#A
@ObjectModel.usageType.sizeCategory: #M
@ObjectModel.usageType.dataClass:#TRANSACTIONAL
@ObjectModel.representativeKey: 'AccountingDocumentItem'
@Metadata.allowExtensions:true
@Metadata.ignorePropagatedAnnotations: true
@AccessControl.authorizationCheck: #CHECK
@AccessControl.privilegedAssociations: ['_Address']

@VDM.lifecycle.status: #DEPRECATED
@VDM.lifecycle.successor: 'I_JournalEntryItemOneTimeData'

define view I_OneTimeAccountBP 

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
                                                                            
{
   @ObjectModel.foreignKey.association: '_CompanyCode'
   key bsec.bukrs as CompanyCode,  
   @ObjectModel.foreignKey.association: '_AccountingDocument' 
   key bsec.belnr as AccountingDocument,
   @ObjectModel.foreignKey.association: '_FiscalYear'
   key bsec.gjahr 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,
       cast(bsec.stkzn as bu_natural_person) as IsNaturalPerson,
       _CompanyCode,
       _AccountingDocument,
       _FiscalYear,
       _Address 
}                                                             
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"BSEC"
],
"ASSOCIATED":
[
"I_ADDRESS",
"I_COMPANYCODE",
"I_FISCALYEARFORCOMPANYCODE",
"I_JOURNALENTRY"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/