C_ServiceEmployeeVH
Value Help for Service Employee
C_ServiceEmployeeVH is a Consumption CDS View that provides data about "Value Help for Service Employee" in SAP S/4HANA. It reads from 1 data source (I_BusinessPartner) and exposes 28 fields with key field Employee. It has 3 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_BusinessPartner | I_BusinessPartner | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_BPCurrentDefaultAddress | _CurrentDefaultAddress | $projection.Employee = _CurrentDefaultAddress.BusinessPartner |
| [0..1] | I_WorkplaceAddress | _WorkplaceAddress | $projection.BusinessPartnerUUID = _WorkplaceAddress.BusinessPartnerUUID |
| [1..1] | I_BusinessPartnerToBPRole | _BusinessPartnerRole | $projection.Employee = _BusinessPartnerRole.BusinessPartner and( _BusinessPartnerRole.BusinessPartnerRole = 'BUP003' or _BusinessPartnerRole.BusinessPartnerRole = 'BBP005' or _BusinessPartnerRole.BusinessPartnerRole = 'BBP010' ) |
Annotations (17)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CSRVCEMPLVH | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.representativeKey | Employee | view | |
| ObjectModel.dataCategory | #VALUE_HELP | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| Metadata.allowExtensions | true | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| Consumption.ranked | true | view | |
| Search.searchable | true | view | |
| EndUserText.label | Value Help for Service Employee | view |
Fields (28)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Employee | Issuing Authority | ||
| FullName | Extracted Customer Name | |||
| BusinessPartner | BusinessPartner | Issuing Authority | ||
| FamilyName | LastName | Last Name | ||
| GivenName | FirstName | First Name | ||
| BusinessPartnerUUID | BusinessPartnerUUID | UUID | ||
| CityName | ||||
| CountryName | ||||
| PostalCode | ||||
| DefaultEmailAddress | _WorkplaceAddress | DefaultEmailAddress | ||
| NormalizedPhoneNumber | ||||
| MblNormalizedPhoneNumber | ||||
| AuthorizationGroup | AuthorizationGroup | AuthorizGroup | ||
| IsBusinessPurposeCompleted | IsBusinessPurposeCompleted | Purpose Completed | ||
| BusinessPartnerRole | ||||
| BPAddressIsProtected | _CurrentDefaultAddress | BPAddressIsProtected | Sensitivity | |
| BusinessPartnerCategory | BusinessPartnerCategory | Partner Cat. | ||
| DataControllerSet | DataControllerSet | Data Ctrlr. Set | ||
| DataController1 | DataController1 | Data Controller | ||
| DataController2 | DataController2 | Data Controller | ||
| DataController3 | DataController3 | Data Controller | ||
| DataController4 | DataController4 | Data Controller | ||
| DataController5 | DataController5 | Data Controller | ||
| DataController6 | DataController6 | Data Controller | ||
| DataController7 | DataController7 | Data Controller | ||
| DataController8 | DataController8 | Data Controller | ||
| DataController9 | DataController9 | Data Controller | ||
| DataController10 | DataController10 | Data Controller |
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 C_ServiceEmployeeVH.
-- 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 C_ServiceEmployeeVH AS
SELECT
cast (BusinessPartner as crms4_serv_employee_lbl preserving type ) AS Employee,
cast (BusinessPartnerName as crms4_serv_employee_name_lbl preserving type ) AS FullName,
BusinessPartner,
LastName AS FamilyName,
FirstName AS GivenName,
BusinessPartnerUUID,
_CurrentDefaultAddress._StandardAddress.CityName AS CityName,
_CurrentDefaultAddress._StandardAddress._Country._Text[1:Language=$session.system_language].CountryName AS CountryName,
_CurrentDefaultAddress._StandardAddress.PostalCode AS PostalCode,
_WorkplaceAddress.DefaultEmailAddress AS DefaultEmailAddress,
cast (_WorkplaceAddress.NormalizedPhoneNumber as crms4_serv_telephone_lbl preserving type) AS NormalizedPhoneNumber,
cast (_WorkplaceAddress.MblNormalizedPhoneNumber as crms4_serv_mobile_lbl preserving type) AS MblNormalizedPhoneNumber,
AuthorizationGroup,
IsBusinessPurposeCompleted,
_BusinessPartnerRole[inner].BusinessPartnerRole AS BusinessPartnerRole,
_CurrentDefaultAddress.BPAddressIsProtected AS BPAddressIsProtected,
BusinessPartnerCategory,
DataControllerSet,
DataController1,
DataController2,
DataController3,
DataController4,
DataController5,
DataController6,
DataController7,
DataController8,
DataController9,
DataController10
FROM I_BusinessPartner
LEFT OUTER JOIN I_BPCurrentDefaultAddress AS _CurrentDefaultAddress ON Employee = _CurrentDefaultAddress.BusinessPartner -- association [1..1]
LEFT OUTER JOIN I_WorkplaceAddress AS _WorkplaceAddress ON BusinessPartnerUUID = _WorkplaceAddress.BusinessPartnerUUID -- association [0..1]
LEFT OUTER JOIN I_BusinessPartnerToBPRole AS _BusinessPartnerRole ON Employee = _BusinessPartnerRole.BusinessPartner AND( _BusinessPartnerRole.BusinessPartnerRole = 'BUP003' OR _BusinessPartnerRole.BusinessPartnerRole = 'BBP005' OR _BusinessPartnerRole.BusinessPartnerRole = 'BBP010' ) -- association [1..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