I_BillingDocumentPartnerBasic

DDL: I_BILLINGDOCUMENTPARTNERBASIC Type: view BASIC Package: VDM_SD_BIL

Partner in Billing Process Document

I_BillingDocumentPartnerBasic is a Basic CDS View that provides data about "Partner in Billing Process Document" in SAP S/4HANA. It reads from 2 data sources (I_BillingDocumentBasic, I_SDDocumentPartner) and exposes 20 fields with key fields BillingDocument, PartnerFunction. It has 1 association to related views. Part of development package VDM_SD_BIL.

Data Sources (2)

SourceAliasJoin Type
I_BillingDocumentBasic BillingDocument inner
I_SDDocumentPartner Partner from

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_BillingDocumentBasic _BillingDocumentBasic $projection.BillingDocument = _BillingDocumentBasic.BillingDocument

Annotations (13)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Partner in Billing Process Document view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
AbapCatalog.sqlViewName ISDBILDOCPTBC view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ObjectModel.representativeKey PartnerFunction view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #XL view
VDM.viewType #BASIC view
Metadata.ignorePropagatedAnnotations true view

Fields (20)

KeyFieldSource TableSource FieldDescription
KEY BillingDocument
KEY PartnerFunction I_SDDocumentPartner PartnerFunction
Customer I_SDDocumentPartner Customer
Supplier I_SDDocumentPartner Supplier
Personnel I_SDDocumentPartner Personnel
AddressID I_SDDocumentPartner AddressID
ContactPerson I_SDDocumentPartner ContactPerson
AddressPersonID I_SDDocumentPartner AddressPersonID
ReferenceBusinessPartner I_SDDocumentPartner ReferenceBusinessPartner
SDDocPartnerAddressRefType I_SDDocumentPartner SDDocPartnerAddressRefType
BPRefAddressIDForDocSpcfcAddr I_SDDocumentPartner BPRefAddressIDForDocSpcfcAddr
AddressObjectType I_SDDocumentPartner AddressObjectType
VATRegistration I_SDDocumentPartner VATRegistration
UnloadingPointName I_SDDocumentPartner UnloadingPointName
_BillingDocumentBasic _BillingDocumentBasic
_PartnerFunction I_SDDocumentPartner _PartnerFunction
_Address I_SDDocumentPartner _Address
_BusinessPartnerAddress I_SDDocumentPartner _BusinessPartnerAddress
_BPRefAddressForDocSpcfcAddr I_SDDocumentPartner _BPRefAddressForDocSpcfcAddr
_DfltAddrRprstn I_SDDocumentPartner _DfltAddrRprstn
@ClientHandling.algorithm: #SESSION_VARIABLE
@EndUserText.label: 'Partner in Billing Process Document'
@AccessControl: {
  authorizationCheck: #CHECK,
  personalData.blocking: #REQUIRED,
  privilegedAssociations: [ '_Address', '_DfltAddrRprstn' ]
}
@AbapCatalog: {
  sqlViewName: 'ISDBILDOCPTBC',
  compiler.compareFilter: true,
  preserveKey: true
}
@ObjectModel: {
   representativeKey: 'PartnerFunction',
   usageType: {
     dataClass:      #TRANSACTIONAL,
     serviceQuality: #B,
     sizeCategory:   #XL
   },
   supportedCapabilities: [ #SQL_DATA_SOURCE, #CDS_MODELING_DATA_SOURCE, #CDS_MODELING_ASSOCIATION_TARGET ]
}
@VDM.viewType: #BASIC
@Metadata.ignorePropagatedAnnotations: true

define view I_BillingDocumentPartnerBasic
  as select from I_SDDocumentPartner    as Partner
    inner join   I_BillingDocumentBasic as BillingDocument on BillingDocument.BillingDocument = Partner.SDDocument

  association [1..1] to I_BillingDocumentBasic as _BillingDocumentBasic on $projection.BillingDocument = _BillingDocumentBasic.BillingDocument

{
      //--[ GENERATED:012:GlBfhyJl7kY4v5RWfCiSf0

      @Consumption.valueHelpDefinition: [
        { entity:  { name:    'I_BillingDocumentBasicStdVH',
                     element: 'BillingDocument' }
        }]
      // ]--GENERATED

      @ObjectModel.foreignKey.association: '_BillingDocumentBasic'
  key cast(Partner.SDDocument as vbeln_vf preserving type ) as BillingDocument,
      @ObjectModel.foreignKey.association: '_PartnerFunction'
  key Partner.PartnerFunction,

      Partner.Customer,

      Partner.Supplier,

      Partner.Personnel,
      @ObjectModel.foreignKey.association: '_Address'
      Partner.AddressID,
      Partner.ContactPerson,

      Partner.AddressPersonID,
      Partner.ReferenceBusinessPartner,
      Partner.SDDocPartnerAddressRefType,
      Partner.BPRefAddressIDForDocSpcfcAddr,

      Partner.AddressObjectType,
      Partner.VATRegistration,
      Partner.UnloadingPointName,

      //Association

      @ObjectModel.association.type: [#TO_COMPOSITION_PARENT, #TO_COMPOSITION_ROOT]
      _BillingDocumentBasic,
      Partner._PartnerFunction,
      Partner._Address,
      Partner._BusinessPartnerAddress,
      Partner._BPRefAddressForDocSpcfcAddr,
      Partner._DfltAddrRprstn
}