I_BusinessPlace

DDL: I_BUSINESSPLACE SQL: IBUSINESSPLACE Type: view BASIC Package: ID-FI-BUPLA-DATA

Business Place Information

I_BusinessPlace is a Basic CDS View that provides data about "Business Place Information" in SAP S/4HANA. It reads from 1 data source (P_BusinessPlace) and exposes 12 fields with key fields CompanyCode, BusinessPlace. It has 4 associations to related views. Part of development package ID-FI-BUPLA-DATA.

Data Sources (1)

SourceAliasJoin Type
P_BusinessPlace P_BusinessPlace from

Associations (4)

CardinalityTargetAliasCondition
[0..*] I_BusinessPlaceText _Text $projection.CompanyCode = _Text.CompanyCode and $projection.BusinessPlace = _Text.BusinessPlace
[1..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode
[0..1] I_Address_2 _Address $projection.AddressID = _Address.AddressID and _Address.AddressPersonID = '' and _Address.AddressRepresentationCode = ''
[1..1] E_BusinessPlace _Extension $projection.CompanyCode = _Extension.CompanyCode and $projection.BusinessPlace = _Extension.BusinessPlace

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName IBUSINESSPLACE view
EndUserText.label Business Place Information view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.representativeKey BusinessPlace view
AbapCatalog.compiler.compareFilter true view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.modelingPattern #DATA_STRUCTURE view
Analytics.dataExtraction.enabled true view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.sapObjectNodeType.name BusinessPlace view

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode bukrs
KEY BusinessPlace branch
AddressID adrnr
BusinessPlaceStartDate validfrom
BusinessPlaceEndDate validto
TaxNumber1 stcd1
TaxNumber2 stcd2
TaxNumber5 stcd5
BusinessPlaceDescription name
_Text _Text
_CompanyCode _CompanyCode
_Address _Address
@AbapCatalog.sqlViewName: 'IBUSINESSPLACE'
@EndUserText.label: 'Business Place Information'

@VDM.viewType: #BASIC
@AccessControl.authorizationCheck:  #MANDATORY
@AccessControl.personalData.blocking: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.representativeKey: 'BusinessPlace'
@ObjectModel.semanticKey: ['CompanyCode', 'BusinessPlace']
@AbapCatalog.compiler.compareFilter: true
@ObjectModel.usageType.sizeCategory: #S
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.dataClass: #CUSTOMIZING
@ObjectModel.modelingPattern: #DATA_STRUCTURE
@ObjectModel.supportedCapabilities: [ #DATA_STRUCTURE, #CDS_MODELING_DATA_SOURCE, #CDS_MODELING_ASSOCIATION_TARGET,
                                      #ANALYTICAL_PARENT_CHILD_HIERARCHY_NODE , #EXTRACTION_DATA_SOURCE ]

@Analytics.dataExtraction.enabled: true

@Metadata.ignorePropagatedAnnotations: true
@AccessControl.privilegedAssociations: ['_Address']

@ObjectModel.sapObjectNodeType.name: 'BusinessPlace'

define view I_BusinessPlace
  as select from P_BusinessPlace
  association [0..*] to I_BusinessPlaceText as _Text    on $projection.CompanyCode = _Text.CompanyCode
                                                       and $projection.BusinessPlace = _Text.BusinessPlace
  association [1..1] to I_CompanyCode   as _CompanyCode on $projection.CompanyCode = _CompanyCode.CompanyCode
  association [0..1] to I_Address_2     as _Address     on $projection.AddressID = _Address.AddressID
                                                       and _Address.AddressPersonID = ''
                                                       and _Address.AddressRepresentationCode = ''
  association [1..1] to E_BusinessPlace as _Extension   on $projection.CompanyCode   = _Extension.CompanyCode
                                                       and $projection.BusinessPlace = _Extension.BusinessPlace
{
      @ObjectModel.foreignKey.association: '_CompanyCode'
  key bukrs  as CompanyCode,
      @ObjectModel.text.element:['BusinessPlaceDescription']
  key branch as BusinessPlace,
      @ObjectModel.foreignKey.association: '_Address'
      adrnr  as AddressID,
      validfrom as BusinessPlaceStartDate,
      validto   as BusinessPlaceEndDate,
      stcd1  as TaxNumber1,
      stcd2  as TaxNumber2,
      stcd5  as TaxNumber5,
      @Semantics.text:true
      name   as BusinessPlaceDescription,
      
      _Text,
      _CompanyCode,
      _Address
}