I_BusEvtLogUserContactCard
Business Event Log User Contact Card
I_BusEvtLogUserContactCard is a Composite CDS View that provides data about "Business Event Log User Contact Card" in SAP S/4HANA. It reads from 1 data source (I_User) and exposes 17 fields with key field ContactCardID. It has 5 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_User | _User | from |
Associations (5)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_AddressWorkplaceDetails | _OrgData | _OrgData.AddressID = $projection.AddressID and _OrgData.AddressPersonID = $projection.Person |
| [0..1] | I_AddressPhoneNumber_2 | _DefaultPhoneNumber | _DefaultPhoneNumber.AddressID = $projection.AddressID and _DefaultPhoneNumber.AddressPersonID = $projection.Person and _DefaultPhoneNumber.PhoneNumberType = '1' |
| [0..1] | I_AddressFaxNumber_2 | _DefaultFaxNumber | _DefaultFaxNumber.AddressID = $projection.AddressID and _DefaultFaxNumber.AddressPersonID = $projection.Person and _DefaultFaxNumber.FaxNumberIsCurrentDefault = 'X' |
| [0..1] | I_AddressPhoneNumber_2 | _DefaultMobilePhoneNumber | _DefaultMobilePhoneNumber.AddressID = $projection.AddressID and _DefaultMobilePhoneNumber.AddressPersonID = $projection.Person and _DefaultMobilePhoneNumber.PhoneNumberType = '3' |
| [0..1] | I_AddressEmailAddress_2 | _DefaultEmailAddress | _DefaultEmailAddress.AddressID = $projection.AddressID and _DefaultEmailAddress.AddressPersonID = $projection.Person and _DefaultEmailAddress.EmailAddressIsCurrentDefault = 'X' |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #PRIVILEGED_ONLY | view | |
| EndUserText.label | Business Event Log User Contact Card | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| VDM.viewType | #COMPOSITE | view | |
| ObjectModel.representativeKey | ContactCardID | view | |
| Search.searchable | true | view |
Fields (17)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ContactCardID | I_User | UserID | User Name |
| Person | I_User | AddressPersonID | Person Number | |
| FirstName | _AddressPersonName | GivenName | ||
| LastName | _AddressPersonName | FamilyName | ||
| PersonFullNameendasFullName | ||||
| UserDescription | ||||
| AddressID | I_User | AddressID | Ship-to address | |
| PhoneNumber | ||||
| MobilePhoneNumber | ||||
| FaxNumber | ||||
| EmailAddress | ||||
| Department | _OrgData | WorkplaceDepartmentName | ||
| FunctionalTitleName | _OrgData | WorkplaceFunctionalTitleName | ||
| ContactCardRole | ||||
| ContactCardType | ||||
| ContactCardNavLinkSemanticObj | ||||
| ContactCardNavLinkQueryPart |
Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.
-- Derived SQL interpretation of CDS view I_BusEvtLogUserContactCard.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
CREATE VIEW I_BusEvtLogUserContactCard AS
SELECT
_User.UserID AS ContactCardID,
_User.AddressPersonID AS Person,
_AddressPersonName.GivenName AS FirstName,
_AddressPersonName.FamilyName AS LastName,
case when _AddressPersonName.PersonFullName is null or _AddressPersonName.PersonFullName is initial then _User.UserDescription else _AddressPersonName.PersonFullName end as FullName AS PersonFullNameendasFullName,
cast(_User.UserDescription as ad_namtext preserving type) AS UserDescription,
_User.AddressID AS AddressID,
cast(_DefaultPhoneNumber.InternationalPhoneNumber as bel_contact_card_phone_number preserving type ) AS PhoneNumber,
cast(_DefaultMobilePhoneNumber.InternationalPhoneNumber as bel_contact_card_mbl_ph_number preserving type ) AS MobilePhoneNumber,
cast(_DefaultFaxNumber.InternationalFaxNumber as telfx ) AS FaxNumber,
cast(_DefaultEmailAddress.EmailAddress as bel_contact_card_email_address preserving type ) AS EmailAddress,
_OrgData.WorkplaceDepartmentName AS Department,
_OrgData.WorkplaceFunctionalTitleName AS FunctionalTitleName,
cast('Creator' as bel_contact_card_role) AS ContactCardRole,
cast('User' as bel_contact_card_type) AS ContactCardType,
'User' AS ContactCardNavLinkSemanticObj,
concat('User=', _User.UserID) AS ContactCardNavLinkQueryPart
FROM I_User AS _User
LEFT OUTER JOIN I_AddressWorkplaceDetails AS _OrgData ON _OrgData.AddressID = AddressID AND _OrgData.AddressPersonID = Person -- association [0..1]
LEFT OUTER JOIN I_AddressPhoneNumber_2 AS _DefaultPhoneNumber ON _DefaultPhoneNumber.AddressID = AddressID AND _DefaultPhoneNumber.AddressPersonID = Person AND _DefaultPhoneNumber.PhoneNumberType = '1' -- association [0..1]
LEFT OUTER JOIN I_AddressFaxNumber_2 AS _DefaultFaxNumber ON _DefaultFaxNumber.AddressID = AddressID AND _DefaultFaxNumber.AddressPersonID = Person AND _DefaultFaxNumber.FaxNumberIsCurrentDefault = 'X' -- association [0..1]
LEFT OUTER JOIN I_AddressPhoneNumber_2 AS _DefaultMobilePhoneNumber ON _DefaultMobilePhoneNumber.AddressID = AddressID AND _DefaultMobilePhoneNumber.AddressPersonID = Person AND _DefaultMobilePhoneNumber.PhoneNumberType = '3' -- association [0..1]
LEFT OUTER JOIN I_AddressEmailAddress_2 AS _DefaultEmailAddress ON _DefaultEmailAddress.AddressID = AddressID AND _DefaultEmailAddress.AddressPersonID = Person AND _DefaultEmailAddress.EmailAddressIsCurrentDefault = 'X' -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA