R_PersSettlmtDocDraft
Personnel Settlement Doc - Draft
R_PersSettlmtDocDraft is a Basic CDS View that provides data about "Personnel Settlement Doc - Draft" in SAP S/4HANA. It reads from 1 data source (wlf_d_psdoc_d) and exposes 75 fields with key fields PersonnelSettlementDocument, DraftUUID. It has 3 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| wlf_d_psdoc_d | PersonnelSettlementDocument | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_PersonWorkAgreement_1 | _PersonWorkAgreement | $projection.PersonWorkAgreement = _PersonWorkAgreement.PersonWorkAgreement |
| [1..1] | E_PersSettlmtDocDraft | _Extension | $projection.PersonnelSettlementDocument = _Extension.PersonnelSettlementDocument and $projection.DraftUUID = _Extension.DraftUUID |
| [0..*] | R_PersSettlmtDocItemDraft | _PersSettlmtDocItem | |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Personnel Settlement Doc - Draft | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| AbapCatalog.extensibility.extensible | true | view | |
| AbapCatalog.extensibility.elementSuffix | SMH | view | |
| AbapCatalog.extensibility.quota.maximumFields | 170 | view | |
| AbapCatalog.extensibility.quota.maximumBytes | 3400 | view |
Fields (75)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PersonnelSettlementDocument | personnelsettlementdocument | Personnel Settlement Document | |
| KEY | DraftUUID | draftuuid | UUID | |
| 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 | perssettlmtacctgtransfsts | Posting Status | ||
| DocumentDate | documentdate | Journal Entry Date | ||
| DocumentReferenceID | documentreferenceid | Reference | ||
| AssignmentReference | assignmentreference | Assignment Reference | ||
| SettlmtApplSts | settlmtapplsts | Appl. Status | ||
| SettlmtApplStsGrp | settlmtapplstsgrp | Status Group | ||
| PricingProcedure | pricingprocedure | Procedure | ||
| PricingDocument | pricingdocument | Document Condition | ||
| PersonWorkAgreement | personworkagreement | Personnel No. | ||
| PersonnelCostCenter | personnelcostcenter | Worker Cost Center | ||
| PersonnelControllingArea | personnelcontrollingarea | Worker Controlling Area | ||
| CompanyCode | 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 | perssettlmtdoccurrency | Doc. Currency | ||
| ExchangeRate | exchangerate | Exchange rate | ||
| ExchangeRateType | exchangeratetype | Exch. Rate Type | ||
| ExchangeRateIsFixed | exchangerateisfixed | Fixed Exch.Rate | ||
| ExchangeRateDate | exchangeratedate | Translatn Date | ||
| TotalNetAmount | totalnetamount | Total Net Amount | ||
| PersSettlmtDocIsReversed | perssettlmtdocisreversed | Document Is Reversed | ||
| RvsdPersSettlmtDoc | rvsdperssettlmtdoc | Reversed Document | ||
| PersSettlmtDocActivityReason | perssettlmtdocactivityreason | Header Document Creation Activity Reason | ||
| PaymentReference | paymentreference | Payment Reference | ||
| 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 | perssettlmtdocincmpltnsrsn | Incomplete Rsn | ||
| 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 | perssettlmtdocchangestate | Change State | ||
| DraftEntityCreationDateTime | draftentitycreationdatetime | Draft Created On | ||
| DraftEntityLastChangeDateTime | draftentitylastchangedatetime | Draft Last Changed On | ||
| DraftAdministrativeDataUUID | draftadministrativedatauuid | UUID | ||
| DraftEntityOperationCode | draftentityoperationcode | Draft - Operation Code | ||
| HasActiveEntity | hasactiveentity | TRUE | ||
| DraftFieldChanges | draftfieldchanges | Field Changes | ||
| _PersSettlmtDocItem | _PersSettlmtDocItem | |||
| _PersonWorkAgreement | _PersonWorkAgreement |
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_PersSettlmtDocDraft.
-- 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_PersSettlmtDocDraft AS
SELECT
PersonnelSettlementDocument,
DraftUUID,
SettlmtDocType,
SettlmtDocCat,
SettlmtProcessType,
SettlmtProcessCat,
LogisticsDataEntryCat,
PostingDate,
PersSettlmtAcctgTransfSts,
DocumentDate,
DocumentReferenceID,
AssignmentReference,
SettlmtApplSts,
SettlmtApplStsGrp,
PricingProcedure,
PricingDocument,
PersonWorkAgreement,
PersonnelCostCenter,
PersonnelControllingArea,
CompanyCode,
SalesOrganization,
DistributionChannel,
Division,
SalesOffice,
SalesGroup,
CreatedByUser,
CreationDate,
CreationTime,
LastChangeDate,
PersSettlmtDocCurrency,
ExchangeRate,
ExchangeRateType,
ExchangeRateIsFixed,
ExchangeRateDate,
TotalNetAmount,
PersSettlmtDocIsReversed,
RvsdPersSettlmtDoc,
PersSettlmtDocActivityReason,
PaymentReference,
CndnContrType,
SettlmtReltdCndnContr,
CndnContrProcVar,
FiscalPeriod,
SettlmtDateCat,
ActualSettlmtDate,
SettlmtDateSequentialID,
SettlmtDate,
PersSettlmtDocIncmpltnsRsn,
SettlmtBusProcVar,
SettlmtBusProcCat,
TotalSettlmtQuantity,
TotalSettlmtQuantityUnit,
TotalSettlmtNetWeight,
TotalSettlmtGrossWeight,
TotalSettlmtWeightUnit,
TotalSettlmtVolume,
TotalSettlmtVolumeUnit,
SettlmtPeriodStartDate,
SettlmtPeriodEndDate,
CndnContrProcessCategory,
PostingPartnerCat,
JournalEntryCreationDate,
JournalEntryCreationTime,
SettlmtCompensationReason,
SettlmtCompnVar,
ApplElmntBehaviorGrp,
PersSettlmtDocChangeState,
DraftEntityCreationDateTime,
DraftEntityLastChangeDateTime,
DraftAdministrativeDataUUID,
DraftEntityOperationCode,
HasActiveEntity,
DraftFieldChanges
FROM wlf_d_psdoc_d AS PersonnelSettlementDocument
LEFT OUTER JOIN I_PersonWorkAgreement_1 AS _PersonWorkAgreement ON PersonWorkAgreement = _PersonWorkAgreement.PersonWorkAgreement -- association [0..1]
LEFT OUTER JOIN E_PersSettlmtDocDraft AS _Extension ON PersonnelSettlementDocument = _Extension.PersonnelSettlementDocument AND DraftUUID = _Extension.DraftUUID -- association [1..1]
LEFT OUTER JOIN R_PersSettlmtDocItemDraft AS _PersSettlmtDocItem ON /* condition not available in parsed metadata */ -- association [0..*]
;
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