P_CollabnApplCarrierUser

DDL: P_COLLABNAPPLCARRIERUSER SQL: PCOLLCARRUSR Type: view COMPOSITE

P_CollabnApplCarrierUser is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (I_BPRelationship, I_BusinessUserBasic) and exposes 2 fields with key fields BusinessPartnerCompany, UserID.

Data Sources (2)

SourceAliasJoin Type
I_BPRelationship BPRelationship from
I_BusinessUserBasic BusinessUser inner

Annotations (7)

NameValueLevelField
AbapCatalog.sqlViewName PCOLLCARRUSR view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #COMPOSITE view
VDM.private true view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY BusinessPartnerCompany BusinessPartnerCompany
KEY UserID UserID
@AbapCatalog.sqlViewName: 'PCOLLCARRUSR'
@ClientHandling.algorithm: #SESSION_VARIABLE
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM:   { viewType: #COMPOSITE,
          private: true
        }
define view P_CollabnApplCarrierUser
  as select from I_BPRelationship    as BPRelationship
    inner join   I_BusinessUserBasic as BusinessUser on  BPRelationship.BusinessPartnerPerson = BusinessUser.BusinessPartner
                                                     and BusinessUser.UserID                  = $session.user

{
  key BusinessPartnerCompany,
  key UserID

}
where
      BPRelationship.RelationshipCategory = 'BUR028'
  and BPRelationship.ValidityStartDate    <= $session.system_date
  and BPRelationship.ValidityEndDate      >= $session.system_date
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_BPRELATIONSHIP",
"I_BUSINESSUSERBASIC"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/