I_NotificationPartner

DDL: I_NOTIFICATIONPARTNER Type: view_entity BASIC Package: VDM_QM_NOTIFICATION

Notification Partner

I_NotificationPartner is a Basic CDS View that provides data about "Notification Partner" in SAP S/4HANA. It reads from 1 data source (ihpa) and exposes 19 fields with key fields NotificationPartnerObject, PartnerFunction, NotificationPartnerObjectNmbr. It has 6 associations to related views. Part of development package VDM_QM_NOTIFICATION.

Data Sources (1)

SourceAliasJoin Type
ihpa ihpa from

Associations (6)

CardinalityTargetAliasCondition
[0..1] I_PartnerFunction _PartnerFunction _PartnerFunction.PartnerFunction = $projection.PartnerFunction
[0..1] I_ContactPerson _ContactPerson _ContactPerson.ContactPerson = $projection.Partner
[0..1] I_Customer _Customer _Customer.Customer = $projection.Partner
[0..1] I_WorkforcePerson _Employee _Employee.PersonExternalID = $projection.Partner
[0..1] I_Supplier _Supplier _Supplier.Supplier = $projection.Partner
[0..1] I_User _User _User.UserID = $projection.Partner

Annotations (6)

NameValueLevelField
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
EndUserText.label Notification Partner view
VDM.viewType #BASIC view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #C view

Fields (19)

KeyFieldSource TableSource FieldDescription
KEY NotificationPartnerObject objnr
KEY PartnerFunction parvw
KEY NotificationPartnerObjectNmbr counter
NotificationObjectType obtyp
Partner parnr
NotificationPartner parnr
CreatedByUser ernam
CreationDate erdat
CreationTime erzeit
LastChangedByUser aenam
LastChangeTime aezeit
LastChangeDate aedat
IsDeleted kzloesch
_PartnerFunction _PartnerFunction
_ContactPerson _ContactPerson
_Customer _Customer
_Employee _Employee
_Supplier _Supplier
_User _User
@AccessControl.authorizationCheck: #PRIVILEGED_ONLY
@AccessControl.privilegedAssociations: ['_User']
@EndUserText.label: 'Notification Partner'
@VDM.viewType: #BASIC

@ObjectModel: {
    usageType: {
        dataClass: #TRANSACTIONAL,
        sizeCategory: #L, 
        serviceQuality: #C }
} 

define view entity I_NotificationPartner as select from ihpa 
//=== associations to other partner related views 

  association [0..1] to I_PartnerFunction  as _PartnerFunction  on  _PartnerFunction.PartnerFunction = $projection.PartnerFunction

//=== associations to DPP relevant views

  association [0..1] to I_ContactPerson    as _ContactPerson    on  _ContactPerson.ContactPerson = $projection.Partner
  association [0..1] to I_Customer         as _Customer         on  _Customer.Customer = $projection.Partner
  association [0..1] to I_WorkforcePerson  as _Employee         on  _Employee.PersonExternalID = $projection.Partner
  association [0..1] to I_Supplier         as _Supplier         on  _Supplier.Supplier = $projection.Partner
  association [0..1] to I_User             as _User             on  _User.UserID = $projection.Partner
  
{
//=== key fields

  key objnr     as NotificationPartnerObject,
  @ObjectModel.foreignKey.association: '_PartnerFunction'
  key parvw     as PartnerFunction,
  key counter   as NotificationPartnerObjectNmbr,
  
//=== common fields

      obtyp     as  NotificationObjectType,

      // Better use NotificationPartner

      // GFN Partner has assigned BU_PARTNER (CHAR 10) as default data element and is not owned by us 

      parnr     as  Partner,
      // GFN NotificationPartner has assigned I_PARNR (CHAR 12) as default data element like in table IHPA 

      parnr     as  NotificationPartner,

      ernam     as  CreatedByUser,
      erdat     as  CreationDate,
      erzeit    as  CreationTime,
      aenam     as  LastChangedByUser,
      aezeit    as  LastChangeTime,
      aedat     as  LastChangeDate,
      kzloesch  as  IsDeleted,

//=== expose relevant associations

  _PartnerFunction,
  _ContactPerson,
  _Customer,
  _Employee,
  _Supplier,
  _User
}
where obtyp = 'NO1'
   or obtyp = 'QM1'
   or obtyp = 'QMI'