C_PersSettlmtDocWrkflwDet
Personnel Setlmt Doc Workflow Details
C_PersSettlmtDocWrkflwDet is a Consumption CDS View that provides data about "Personnel Setlmt Doc Workflow Details" in SAP S/4HANA. It reads from 1 data source (I_PersSettlmtDoc) and exposes 29 fields with key field PersonnelSettlementDocument. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_PersSettlmtDoc | I_PersSettlmtDoc | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | C_PersSettlmtDocWrkflwItmDet | _PersSettlmtDocWrkflwItmDet | $projection.PersonnelSettlementDocument = _PersSettlmtDocWrkflwItmDet.PersonnelSettlementDocument |
| [0..1] | I_SettlmtCompnVar | _SettlmtCompnVar | $projection.SettlmtCompnVar = _SettlmtCompnVar.SettlmtCompnVar |
Annotations (15)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CPSETDCWKFLWDET | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| EndUserText.label | Personnel Setlmt Doc Workflow Details | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.representativeKey | PersonnelSettlementDocument | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ClientHandling.type | #INHERITED | view | |
| VDM.viewType | #CONSUMPTION | view | |
| Consumption.semanticObject | PersonnelSettlementDocument | view | |
| UI.headerInfo.title.value | DocumentTitle | view |
Fields (29)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PersonnelSettlementDocument | PersonnelSettlementDocument | Personnel Settlement Document | |
| CreatedByUser | CreatedByUser | User Name | ||
| UserFullName | _CreatedByUser | UserDescription | Full Name | |
| PersSettlmtDocCurrency | PersSettlmtDocCurrency | Doc. Currency | ||
| TotalNetAmount | TotalNetAmount | Total Net Amount | ||
| CompanyCode | CompanyCode | Receiver Company Code | ||
| PersonWorkAgreement | PersonWorkAgreement | Personnel No. | ||
| SettlmtDate | SettlmtDate | Settlement Date | ||
| DocumentDate | DocumentDate | Journal Entry Date | ||
| PersonnelCostCenter | PersonnelCostCenter | Worker Cost Center | ||
| SettlmtCompensationReason | SettlmtCompensationReason | Compensation Reason | ||
| SettlmtCompnRsnDesc | ||||
| SettlmtCompnVar | SettlmtCompnVar | Compensation Variant | ||
| SettlmtCompnVarDesc | ||||
| DocumentTitle | ||||
| SalesOrganization | SalesOrganization | Sales Organization | ||
| DistributionChannel | DistributionChannel | RefDistCh-Cust/Mat. | ||
| Division | Division | Internal Division ID | ||
| SettlmtDocType | SettlmtDocType | Settlement Document Type | ||
| _PersSettlmtDocWrkflwItmDet | _PersSettlmtDocWrkflwItmDet | |||
| _CreatedByUser | _CreatedByUser | |||
| _PersSettlmtDocCurrency | _PersSettlmtDocCurrency | |||
| _CompanyCode | _CompanyCode | |||
| _PersonWorkAgreement | _PersonWorkAgreement | |||
| _SettlmtCompnRsn | _SettlmtCompnRsn | |||
| _SettlmtCompnVar | _SettlmtCompnVar | |||
| _SalesOrganization | _SalesOrganization | |||
| _DistributionChannel | _DistributionChannel | |||
| _Division | _Division |
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_PersSettlmtDocWrkflwDet.
-- 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_PersSettlmtDocWrkflwDet AS
SELECT
PersonnelSettlementDocument,
CreatedByUser,
_CreatedByUser.UserDescription AS UserFullName,
PersSettlmtDocCurrency,
TotalNetAmount,
CompanyCode,
PersonWorkAgreement,
SettlmtDate,
DocumentDate,
PersonnelCostCenter,
SettlmtCompensationReason,
_SettlmtCompnRsn._Text[1: Language = $session.system_language].SettlmtCompnRsnDesc AS SettlmtCompnRsnDesc,
SettlmtCompnVar,
_SettlmtCompnVar._Text[1: Language = $session.system_language].SettlmtCompnVarDesc AS SettlmtCompnVarDesc,
concat_with_space('Personnel Settlement Document' , PersonnelSettlementDocument , 1 ) AS DocumentTitle,
SalesOrganization,
DistributionChannel,
Division,
SettlmtDocType
FROM I_PersSettlmtDoc
LEFT OUTER JOIN C_PersSettlmtDocWrkflwItmDet AS _PersSettlmtDocWrkflwItmDet ON PersonnelSettlementDocument = _PersSettlmtDocWrkflwItmDet.PersonnelSettlementDocument -- association [0..*]
LEFT OUTER JOIN I_SettlmtCompnVar AS _SettlmtCompnVar ON SettlmtCompnVar = _SettlmtCompnVar.SettlmtCompnVar -- 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