P_PL_SAFTBusinessPartner

DDL: P_PL_SAFTBUSINESSPARTNER SQL: PPLSAFTBP Type: view COMPOSITE Package: GLO_FIN_IS_SAFT_PL

SAFT PL Business Partner

P_PL_SAFTBusinessPartner is a Composite CDS View that provides data about "SAFT PL Business Partner" in SAP S/4HANA. It reads from 1 data source (P_PL_SAFTTaxItemAgg) and exposes 9 fields with key fields TaxType, CompanyCode, AccountingDocument, FiscalYear. It has 2 associations to related views. Part of development package GLO_FIN_IS_SAFT_PL.

Data Sources (1)

SourceAliasJoin Type
P_PL_SAFTTaxItemAgg P_PL_SAFTTaxItemAgg from

Associations (2)

CardinalityTargetAliasCondition
[0..*] I_BusinessPartnerSupplier _BPSupplier _BPSupplier.Supplier = $projection.Supplier
[0..*] I_BusinessPartnerCustomer _BPCustomer _BPCustomer.Customer = $projection.Customer

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName PPLSAFTBP view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
AccessControl.personalData.blocking #BLOCKED_DATA_INCLUDED view
VDM.viewType #COMPOSITE view
VDM.private true view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #P view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY TaxType TaxType
KEY CompanyCode CompanyCode
KEY AccountingDocument AccountingDocument
KEY FiscalYear FiscalYear
Customer Customer
Supplier Supplier
BusinessPartnerendasBusinessPartner
_BPSupplier _BPSupplier
_BPCustomer _BPCustomer
@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
}