P_COLLECTIONSACCOUNTNOTE

CDS View

P_COLLECTIONSACCOUNTNOTE is a CDS View in S/4HANA. 1 CDS views read from this table.

CDS Views using this table (1)

ViewTypeJoinVDMDescription
I_CollectionsAccountNote view from COMPOSITE Collections Account Note
@AbapCatalog: { sqlViewName: 'PCLLSACCNTE',
                compiler: { compareFilter: true },
                preserveKey: true }
@AccessControl: { authorizationCheck: #NOT_REQUIRED,
                  personalData:       { blocking: #BLOCKED_DATA_EXCLUDED } }
@VDM: { viewType: #COMPOSITE,
        private: true }
@ClientHandling: { algorithm: #SESSION_VARIABLE }
@ObjectModel: { usageType: { serviceQuality: #C,
                             sizeCategory: #L,
                             dataClass: #TRANSACTIONAL },
                representativeKey: 'Customer' }
define view P_CollectionsAccountNote
  as select distinct from I_Customer
    inner join            I_BusinessPartnerCustomer    on I_Customer.Customer = I_BusinessPartnerCustomer.Customer
    inner join            I_BPCollectionsSegmentAssgmt on  I_BusinessPartnerCustomer.BusinessPartner                  = I_BPCollectionsSegmentAssgmt.BusinessPartner
                                                       and I_BPCollectionsSegmentAssgmt.BPCollSgmtAssignmentValidFrom <= $session.system_date
                                                       and I_BPCollectionsSegmentAssgmt.BPCollSgmtAssignmentValidTo   >= $session.system_date

  // VDM Association

  association [0..*] to Sgbt_Nte_Cds_Cont as _NoteContent on  $projection.ObjectKey       = _NoteContent.objectid
                                                          and _NoteContent.objectnodetype = 'CollectionsManagementAccount'
                                                          and _NoteContent.notetype       = 'COLL_PR_ACCOUNT'

  association [0..1] to I_Customer        as _Customer    on  $projection.Customer = _Customer.Customer

{

      // VDM Fields

  key I_Customer.Customer                            as Customer,
  key CollectionSegment,
      concat(I_Customer.Customer, CollectionSegment) as ObjectKey,

      // Exposed Associations

      _NoteContent,
      _Customer,
      _CollectionSegment

}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_BPCOLLECTIONSSEGMENTASSGMT",
"I_BUSINESSPARTNERCUSTOMER",
"I_CUSTOMER"
],
"ASSOCIATED":
[
"I_COLLECTIONSEGMENT",
"I_CUSTOMER",
"SGBT_NTE_CDS_CONT"
],
"BASE":
[
"I_BPCOLLECTIONSSEGMENTASSGMT"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/