P_PL_SAFTBUSINESSPARTNER

CDS View

P_PL_SAFTBUSINESSPARTNER is a CDS View in S/4HANA. It contains 5 fields. 1 CDS views read from this table.

CDS Views using this table (1)

ViewTypeJoinVDMDescription
P_PL_SAFTBPTaxNumber view from COMPOSITE

Fields (5)

KeyField CDS FieldsUsed in Views
KEY AccountingDocument AccountingDocument 1
KEY CompanyCode CompanyCode 1
KEY FiscalYear FiscalYear 1
KEY TaxType TaxType 1
BusinessPartner BusinessPartner 1
@AbapCatalog.sqlViewName: 'PPLSAFTBP'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@AccessControl.personalData.blocking: #BLOCKED_DATA_INCLUDED
@VDM.viewType: #COMPOSITE
@VDM.private: true
@ObjectModel.usageType.sizeCategory: #XL
@ObjectModel.usageType.dataClass:  #MIXED
@ObjectModel.usageType.serviceQuality: #P
@ClientHandling.algorithm: #SESSION_VARIABLE
define view P_PL_SAFTBusinessPartner
  as select from P_PL_SAFTTaxItemAgg
  
  association [0..*] to I_BusinessPartnerSupplier as _BPSupplier on _BPSupplier.Supplier = $projection.Supplier
  association [0..*] to I_BusinessPartnerCustomer as _BPCustomer on _BPCustomer.Customer = $projection.Customer

{
  key TaxType,
  key CompanyCode,
  key AccountingDocument,
  key FiscalYear,

      Customer,
      Supplier,

      case when Customer <> ''
        then _BPCustomer.BusinessPartner
      else _BPSupplier.BusinessPartner
      end as BusinessPartner,

      _BPSupplier,
      _BPCustomer
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_BUSINESSPARTNERCUSTOMER",
"I_BUSINESSPARTNERSUPPLIER",
"P_PL_SAFTTAXITEMAGG"
],
"ASSOCIATED":
[
"I_BUSINESSPARTNERCUSTOMER",
"I_BUSINESSPARTNERSUPPLIER"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/