I_Empfactsheet_Contrinfo
Employee Factsheet CDS - Controlling Information
I_Empfactsheet_Contrinfo is a Basic CDS View that provides data about "Employee Factsheet CDS - Controlling Information" in SAP S/4HANA. It reads from 1 data source (P_EmploymentDetailsCurrent) and exposes 21 fields with key field EmploymentInternalID. It has 6 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_EmploymentDetailsCurrent | EmploymentDetails | from |
Associations (6)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1] | I_CompanyCode | _CompanyCode | $projection.CompanyCode = _CompanyCode.CompanyCode |
| [1] | I_CostCenter | _CostCenter | $projection.CostCenter = _CostCenter.CostCenter and $projection.CompanyCode = _CostCenter.CompanyCode |
| [0..1] | I_JobText | _JobName | $projection.Job = _JobName.Job and _JobName.StartDate <= $projection.StartDate and _JobName.EndDate >= $projection.EndDate association[1] to P_PDOBJECT as _JobCode on $projection.Job = _JobCode.ObjectID and _JobCode.EndDate >= $session.system_date and _JobCode.StartDate <= $session.system_date and _JobCode.ObjectType = 'C' |
| [0..*] | I_EmploymentStatusText | _EmploymentStatusText | $projection.EmploymentStatus = _EmploymentStatusText.EmploymentStatus |
| [0..1] | I_Employment | _Employment | $projection.EmploymentInternalID = _Employment.EmploymentInternalID and $projection.StartDate <= _Employment.EndDate and $projection.EndDate >= _Employment.StartDate |
| [0..1] | I_Employmentcostlevel | _ServiceCostLevel | $projection.EmploymentInternalID = _ServiceCostLevel.EmploymentInternalID |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IEMPFSCI | view | |
| VDM.viewType | #BASIC | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Employee Factsheet CDS - Controlling Information | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view |
Fields (21)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | EmploymentInternalID | P_EmploymentDetailsCurrent | EmploymentInternalID | WorkForce Assgmt ID |
| StartDate | P_EmploymentDetailsCurrent | StartDate | Valid From | |
| EndDate | P_EmploymentDetailsCurrent | EndDate | Term to | |
| EmploymentStatus | P_EmploymentDetailsCurrent | EmploymentStatus | ||
| CompanyCode | P_EmploymentDetailsCurrent | CompanyCode | Receiver Company Code | |
| CostCenter | P_EmploymentDetailsCurrent | CostCenter | Cost Center | |
| EmploymentPercent | P_EmploymentDetailsCurrent | EmploymentPercent | Emplymt Percentage | |
| WeeklyWorkingHours | P_EmploymentDetailsCurrent | WeeklyWorkingHours | Working Hours | |
| Job | P_EmploymentDetailsCurrent | Job | Undefined range (can be used for patch levels) | |
| JobCode | _JobCode | Name | Zone name | |
| JobName | P_EmploymentDetailsCurrent | JobName | Name of Send Process | |
| OrganizationalUnit | P_EmploymentDetailsCurrent | OrganizationalUnit | Org. Unit ID | |
| OrganizationalUnitName | P_EmploymentDetailsCurrent | OrganizationalUnitName | ||
| _ServiceCostLevel | _ServiceCostLevel | |||
| _Employment | _Employment | |||
| _EmploymentStatusText | _EmploymentStatusText | |||
| _JobName | _JobName | |||
| _CompanyCode | _CompanyCode | |||
| _CostCenter | _CostCenter | |||
| ValidityStartDate | _ServiceCostLevel | StartDate | Valid From | |
| ValidityEndDate | _ServiceCostLevel | EndDate | Term to |
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_Empfactsheet_Contrinfo.
-- 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.
-- SQL view name: IEMPFSCI
CREATE VIEW I_Empfactsheet_Contrinfo AS
SELECT
EmploymentDetails.EmploymentInternalID AS EmploymentInternalID,
EmploymentDetails.StartDate AS StartDate,
EmploymentDetails.EndDate AS EndDate,
EmploymentDetails.EmploymentStatus AS EmploymentStatus,
EmploymentDetails.CompanyCode AS CompanyCode,
EmploymentDetails.CostCenter AS CostCenter,
EmploymentDetails.EmploymentPercent AS EmploymentPercent,
EmploymentDetails.WeeklyWorkingHours AS WeeklyWorkingHours,
EmploymentDetails.Job AS Job,
_JobCode.Name AS JobCode,
EmploymentDetails.JobName AS JobName,
EmploymentDetails.OrganizationalUnit AS OrganizationalUnit,
EmploymentDetails.OrganizationalUnitName AS OrganizationalUnitName,
_ServiceCostLevel.StartDate AS ValidityStartDate,
_ServiceCostLevel.EndDate AS ValidityEndDate
FROM P_EmploymentDetailsCurrent AS EmploymentDetails
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode -- association [1]
LEFT OUTER JOIN I_CostCenter AS _CostCenter ON CostCenter = _CostCenter.CostCenter AND CompanyCode = _CostCenter.CompanyCode -- association [1]
LEFT OUTER JOIN I_JobText AS _JobName ON Job = _JobName.Job AND _JobName.StartDate <= StartDate AND _JobName.EndDate >= EndDate association[1] to P_PDOBJECT as _JobCode on Job = _JobCode.ObjectID AND _JobCode.EndDate >= $session.system_date AND _JobCode.StartDate <= $session.system_date AND _JobCode.ObjectType = 'C' -- association [0..1]
LEFT OUTER JOIN I_EmploymentStatusText AS _EmploymentStatusText ON EmploymentStatus = _EmploymentStatusText.EmploymentStatus -- association [0..*]
LEFT OUTER JOIN I_Employment AS _Employment ON EmploymentInternalID = _Employment.EmploymentInternalID AND StartDate <= _Employment.EndDate AND EndDate >= _Employment.StartDate -- association [0..1]
LEFT OUTER JOIN I_Employmentcostlevel AS _ServiceCostLevel ON EmploymentInternalID = _ServiceCostLevel.EmploymentInternalID -- 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