P_CollabnApplCarrierUser
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)
| Source | Alias | Join Type |
|---|---|---|
| I_BPRelationship | BPRelationship | from |
| I_BusinessUserBasic | BusinessUser | inner |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA