R_PersSettlmtDoc
Personnel Settlement Document
R_PersSettlmtDoc is a Basic CDS View that provides data about "Personnel Settlement Document" in SAP S/4HANA. It reads from 1 data source (R_SettlmtMgmtDoc) and exposes 108 fields with key field PersonnelSettlementDocument. It has 11 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| R_SettlmtMgmtDoc | R_SettlmtMgmtDoc | from |
Associations (11)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | R_PersSettlmtDocItem | _PersSettlmtDocItem | $projection.PersonnelSettlementDocument = _PersSettlmtDocItem.PersonnelSettlementDocument |
| [0..1] | I_PersSettlmtAcctgTransfSts | _PersSettlmtAcctgTransfSts | $projection.PersSettlmtAcctgTransfSts = _PersSettlmtAcctgTransfSts.PersSettlmtAcctgTransfSts |
| [0..*] | R_PersSettlmtDocPrcgElmnt | _PersSettlmtDocPrcgElmnt | $projection.PersonnelSettlementDocument = _PersSettlmtDocPrcgElmnt.PersonnelSettlementDocument |
| [0..1] | I_Currency | _PersSettlmtDocCurrency | $projection.PersSettlmtDocCurrency = _PersSettlmtDocCurrency.Currency |
| [0..1] | R_PersSettlmtDoc | _RvsdPersSettlmtDoc | $projection.RvsdPersSettlmtDoc = _RvsdPersSettlmtDoc.PersonnelSettlementDocument |
| [0..1] | I_SettlmtActivityReasonCode | _PersSettlmtDocActivityReason | $projection.PersSettlmtDocActivityReason = _PersSettlmtDocActivityReason.SettlmtActivityReason |
| [0..1] | I_SettlmtMgmtDocIncmpltnsRsnCd | _PersSettlmtDocIncmpltnsRsn | $projection.PersSettlmtDocIncmpltnsRsn = _PersSettlmtDocIncmpltnsRsn.SettlmtMgmtDocIncmpltnsRsn |
| [0..1] | I_SettlmtCompnRsn | _SettlmtCompensationReason | $projection.SettlmtCompensationReason = _SettlmtCompensationReason.SettlmtCompensationReason |
| [0..1] | I_CostCenter | _PersonnelCostCenter | $projection.PersonnelCostCenter = _PersonnelCostCenter.CostCenter and $projection.PersonnelControllingArea = _PersonnelCostCenter.ControllingArea and _PersonnelCostCenter.ValidityEndDate >= $projection.PostingDate and _PersonnelCostCenter.ValidityStartDate <= $projection.PostingDate |
| [0..1] | I_ControllingArea | _PersonnelControllingArea | $projection.PersonnelControllingArea = _PersonnelControllingArea.ControllingArea |
| [1..1] | E_SettlmtMgmtDoc | _Extension | $projection.PersonnelSettlementDocument = _Extension.SettlmtMgmtDoc |
Annotations (15)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | RWLFPERSSMTDOC | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| EndUserText.label | Personnel Settlement Document | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| ObjectModel.representativeKey | PersonnelSettlementDocument | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ClientHandling.type | #INHERITED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| Metadata.allowExtensions | false | view |
Fields (108)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PersonnelSettlementDocument | Document Number | ||
| SettlmtDocType | SettlmtDocType | Settlement Document Type | ||
| SettlmtDocCat | SettlmtDocCat | Settlement Document Category | ||
| SettlmtProcessType | SettlmtProcessType | Settlement Process Type | ||
| SettlmtProcessCat | SettlmtProcessCat | Settlement Process Category | ||
| LogisticsDataEntryCat | LogisticsDataEntryCat | Entry Category | ||
| PostingDate | PostingDate | Posting Date for GR | ||
| PersSettlmtAcctgTransfSts | SettlmtMgmtAcctgTransfSts | Posting Status | ||
| DocumentDate | DocumentDate | Journal Entry Date | ||
| DocumentReferenceID | DocumentReferenceID | Reference | ||
| AssignmentReference | AssignmentReference | Assignment Reference | ||
| SettlmtApplSts | SettlmtApplSts | Appl. Status | ||
| SettlmtApplStsGrp | SettlmtApplStsGrp | Status Group | ||
| PricingProcedure | SuplrPrcgProc. | |||
| PricingDocument | Supplier Document Condition | |||
| PersonWorkAgreement | PersonWorkAgreement | Personnel No. | ||
| PersonnelCostCenter | PersonnelCostCenter | Worker Cost Center | ||
| PersonnelControllingArea | PersonnelControllingArea | Worker Controlling Area | ||
| CompanyCode | Receiver Company Code | |||
| SalesOrganization | SalesOrganization | Sales Organization | ||
| DistributionChannel | DistributionChannel | RefDistCh-Cust/Mat. | ||
| Division | Division | Internal Division ID | ||
| SalesOffice | SalesOffice | Sales Office | ||
| SalesGroup | SalesGroup | Sales Group | ||
| CreatedByUser | CreatedByUser | User Name | ||
| CreationDate | CreationDate | Time Stamp | ||
| CreationTime | CreationTime | Time of Change | ||
| LastChangeDate | LastChangeDate | Time Stamp | ||
| PersSettlmtDocCurrency | SettlmtDocCurrency | Doc. Currency | ||
| ExchangeRate | ExchangeRate | Exchange rate | ||
| ExchangeRateType | ExchangeRateType | Exch. Rate Type | ||
| ExchangeRateIsFixed | ExchangeRateIsFixed | Fixed Exch.Rate | ||
| ExchangeRateDate | ExchangeRateDate | Translatn Date | ||
| PersSettlmtDocTotalNetAmount | Supplier Total Net Amount | |||
| PersSettlmtDocIsReversed | Doc. Reversed | |||
| RvsdPersSettlmtDoc | CancelledSettlmtMgmtDoc | |||
| PersSettlmtDocActivityReason | SettlmtDocActivityReason | Header Document Creation Activity Reason | ||
| PaymentReference | PaymentReference | Payment Reference | ||
| SettlmtReltdRefDocCat | SettlmtReltdRefDocCat | Contract Cat. | ||
| SettlmtReltdRefDoc | SettlmtReltdRefDoc | Contract | ||
| CndnContrType | CndnContrType | Contract Type | ||
| SettlmtReltdCndnContr | SettlmtReltdCndnContr | Related Condition Contract | ||
| CndnContrProcVar | CndnContrProcVar | Process Variant | ||
| FiscalPeriod | FiscalPeriod | Tax period | ||
| SettlmtDateCat | SettlmtDateCat | Settlement Date Type | ||
| ActualSettlmtDate | ActualSettlmtDate | Actual Settl. Date | ||
| SettlmtDateSequentialID | SettlmtDateSequentialID | Settlement Date ID | ||
| SettlmtDate | SettlmtDate | Settlement Date | ||
| PersSettlmtDocIncmpltnsRsn | SettlmtMgmtDocIncmpltnsRsn | |||
| SettlmtBusProcVar | SettlmtBusProcVar | Proc. Category | ||
| SettlmtBusProcCat | SettlmtBusProcCat | Use Case Type | ||
| TotalSettlmtQuantity | TotalSettlmtQuantity | Total Quantity | ||
| TotalSettlmtQuantityUnit | TotalSettlmtQuantityUnit | UoM Total Quantity | ||
| TotalSettlmtNetWeight | TotalSettlmtNetWeight | Total Net Weight | ||
| TotalSettlmtGrossWeight | TotalSettlmtGrossWeight | Total Gross Weight | ||
| TotalSettlmtWeightUnit | TotalSettlmtWeightUnit | UoW Total Weight | ||
| TotalSettlmtVolume | TotalSettlmtVolume | Total Volume | ||
| TotalSettlmtVolumeUnit | TotalSettlmtVolumeUnit | Unit Total Volume | ||
| SettlmtPeriodStartDate | SettlmtPeriodStartDate | Start Date of Period | ||
| SettlmtPeriodEndDate | SettlmtPeriodEndDate | End Date of Period | ||
| CndnContrProcessCategory | CndnContrProcessCategory | Process Category | ||
| PostingPartnerCat | PostingPartnerCat | Posting Partner | ||
| JournalEntryCreationDate | JournalEntryCreationDate | Journal Entry Creation Date | ||
| JournalEntryCreationTime | JournalEntryCreationTime | Journal Entry Creation Time | ||
| SettlmtCompensationReason | SettlmtCompensationReason | Compensation Reason | ||
| SettlmtCompnVar | SettlmtCompnVar | Compensation Variant | ||
| ApplElmntBehaviorGrp | ApplElmntBehaviorGrp | Element Behavior Group | ||
| PersSettlmtDocChangeState | SettlmtMgmtDocChangeState | |||
| _PersSettlmtDocItem | _PersSettlmtDocItem | |||
| _PersSettlmtDocPrcgElmnt | _PersSettlmtDocPrcgElmnt | |||
| _SettlmtDocType | _SettlmtDocType | |||
| _SettlmtDocCat | _SettlmtDocCat | |||
| _SettlmtProcessType | _SettlmtProcessType | |||
| _SettlmtProcessCat | _SettlmtProcessCat | |||
| _LogisticsDataEntryCat | _LogisticsDataEntryCat | |||
| _PersSettlmtAcctgTransfSts | _PersSettlmtAcctgTransfSts | |||
| _SettlmtApplSts | _SettlmtApplSts | |||
| _SettlmtApplStsGrp | _SettlmtApplStsGrp | |||
| _SettlmtApplStsGrpStsAssgmt | _SettlmtApplStsGrpStsAssgmt | |||
| _PersonWorkAgreement | _PersonWorkAgreement | |||
| _CompanyCode | _CompanyCode | |||
| _SalesOrganization | _SalesOrganization | |||
| _DistributionChannel | _DistributionChannel | |||
| _Division | _Division | |||
| _SalesOffice | _SalesOffice | |||
| _SalesGroup | _SalesGroup | |||
| _SalesArea | _SalesArea | |||
| _CreatedByUser | _CreatedByUser | |||
| _PersSettlmtDocCurrency | _PersSettlmtDocCurrency | |||
| _ExchangeRateType | _ExchangeRateType | |||
| _RvsdPersSettlmtDoc | _RvsdPersSettlmtDoc | |||
| _PersSettlmtDocActivityReason | _PersSettlmtDocActivityReason | |||
| _CndnContrType | _CndnContrType | |||
| _SettlmtReltdCndnContr | _SettlmtReltdCndnContr | |||
| _CndnContrProcVar | _CndnContrProcVar | |||
| _SettlmtDateCat | _SettlmtDateCat | |||
| _PersSettlmtDocIncmpltnsRsn | _PersSettlmtDocIncmpltnsRsn | |||
| _SettlmtBusProcVar | _SettlmtBusProcVar | |||
| _SettlmtBusProcCat | _SettlmtBusProcCat | |||
| _TotalSettlmtQuantityUnit | _TotalSettlmtQuantityUnit | |||
| _TotalSettlmtWeightUnit | _TotalSettlmtWeightUnit | |||
| _TotalSettlmtVolumeUnit | _TotalSettlmtVolumeUnit | |||
| _CndnContrProcessCategory | _CndnContrProcessCategory | |||
| _PostingPartnerCat | _PostingPartnerCat | |||
| _SettlmtCompensationReason | _SettlmtCompensationReason | |||
| _SettlmtCompnVar | _SettlmtCompnVar | |||
| _PersonnelCostCenter | _PersonnelCostCenter | |||
| _PersonnelControllingArea | _PersonnelControllingArea |
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 R_PersSettlmtDoc.
-- 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 R_PersSettlmtDoc AS
SELECT
cast( SettlmtMgmtDoc as wlf_pers_settlmt_doc preserving type ) AS PersonnelSettlementDocument,
SettlmtDocType,
SettlmtDocCat,
SettlmtProcessType,
SettlmtProcessCat,
LogisticsDataEntryCat,
PostingDate,
SettlmtMgmtAcctgTransfSts AS PersSettlmtAcctgTransfSts,
DocumentDate,
DocumentReferenceID,
AssignmentReference,
SettlmtApplSts,
SettlmtApplStsGrp,
cast( SupplierPricingProcedure as wlf_kalsm preserving type ) AS PricingProcedure,
cast( SupplierPricingDocument as wlf_knumv preserving type ) AS PricingDocument,
PersonWorkAgreement,
PersonnelCostCenter,
PersonnelControllingArea,
cast( CompanyCode as fis_bukrs preserving type ) AS CompanyCode,
SalesOrganization,
DistributionChannel,
Division,
SalesOffice,
SalesGroup,
CreatedByUser,
CreationDate,
CreationTime,
LastChangeDate,
SettlmtDocCurrency AS PersSettlmtDocCurrency,
ExchangeRate,
ExchangeRateType,
ExchangeRateIsFixed,
ExchangeRateDate,
cast( SupplierTotalNetAmount as netwr_lf preserving type ) AS PersSettlmtDocTotalNetAmount,
cast( SettlmtMgmtDocIsCancelled as wlf_fksto_psdoc preserving type ) AS PersSettlmtDocIsReversed,
CancelledSettlmtMgmtDoc AS RvsdPersSettlmtDoc,
SettlmtDocActivityReason AS PersSettlmtDocActivityReason,
PaymentReference,
SettlmtReltdRefDocCat,
SettlmtReltdRefDoc,
CndnContrType,
SettlmtReltdCndnContr,
CndnContrProcVar,
FiscalPeriod,
SettlmtDateCat,
ActualSettlmtDate,
SettlmtDateSequentialID,
SettlmtDate,
SettlmtMgmtDocIncmpltnsRsn AS PersSettlmtDocIncmpltnsRsn,
SettlmtBusProcVar,
SettlmtBusProcCat,
TotalSettlmtQuantity,
TotalSettlmtQuantityUnit,
TotalSettlmtNetWeight,
TotalSettlmtGrossWeight,
TotalSettlmtWeightUnit,
TotalSettlmtVolume,
TotalSettlmtVolumeUnit,
SettlmtPeriodStartDate,
SettlmtPeriodEndDate,
CndnContrProcessCategory,
PostingPartnerCat,
JournalEntryCreationDate,
JournalEntryCreationTime,
SettlmtCompensationReason,
SettlmtCompnVar,
ApplElmntBehaviorGrp,
SettlmtMgmtDocChangeState AS PersSettlmtDocChangeState
FROM R_SettlmtMgmtDoc
LEFT OUTER JOIN R_PersSettlmtDocItem AS _PersSettlmtDocItem ON PersonnelSettlementDocument = _PersSettlmtDocItem.PersonnelSettlementDocument -- association [0..*]
LEFT OUTER JOIN I_PersSettlmtAcctgTransfSts AS _PersSettlmtAcctgTransfSts ON PersSettlmtAcctgTransfSts = _PersSettlmtAcctgTransfSts.PersSettlmtAcctgTransfSts -- association [0..1]
LEFT OUTER JOIN R_PersSettlmtDocPrcgElmnt AS _PersSettlmtDocPrcgElmnt ON PersonnelSettlementDocument = _PersSettlmtDocPrcgElmnt.PersonnelSettlementDocument -- association [0..*]
LEFT OUTER JOIN I_Currency AS _PersSettlmtDocCurrency ON PersSettlmtDocCurrency = _PersSettlmtDocCurrency.Currency -- association [0..1]
LEFT OUTER JOIN R_PersSettlmtDoc AS _RvsdPersSettlmtDoc ON RvsdPersSettlmtDoc = _RvsdPersSettlmtDoc.PersonnelSettlementDocument -- association [0..1]
LEFT OUTER JOIN I_SettlmtActivityReasonCode AS _PersSettlmtDocActivityReason ON PersSettlmtDocActivityReason = _PersSettlmtDocActivityReason.SettlmtActivityReason -- association [0..1]
LEFT OUTER JOIN I_SettlmtMgmtDocIncmpltnsRsnCd AS _PersSettlmtDocIncmpltnsRsn ON PersSettlmtDocIncmpltnsRsn = _PersSettlmtDocIncmpltnsRsn.SettlmtMgmtDocIncmpltnsRsn -- association [0..1]
LEFT OUTER JOIN I_SettlmtCompnRsn AS _SettlmtCompensationReason ON SettlmtCompensationReason = _SettlmtCompensationReason.SettlmtCompensationReason -- association [0..1]
LEFT OUTER JOIN I_CostCenter AS _PersonnelCostCenter ON PersonnelCostCenter = _PersonnelCostCenter.CostCenter AND PersonnelControllingArea = _PersonnelCostCenter.ControllingArea AND _PersonnelCostCenter.ValidityEndDate >= PostingDate AND _PersonnelCostCenter.ValidityStartDate <= PostingDate -- association [0..1]
LEFT OUTER JOIN I_ControllingArea AS _PersonnelControllingArea ON PersonnelControllingArea = _PersonnelControllingArea.ControllingArea -- association [0..1]
LEFT OUTER JOIN E_SettlmtMgmtDoc AS _Extension ON PersonnelSettlementDocument = _Extension.SettlmtMgmtDoc -- 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