R_PersSettlmtDocTP

DDL: R_PERSSETTLMTDOCTP Type: view_entity TRANSACTIONAL

Personnel Settlement Document - TP

R_PersSettlmtDocTP is a Transactional CDS View that provides data about "Personnel Settlement Document - TP" in SAP S/4HANA. It reads from 1 data source (R_PersSettlmtDoc) and exposes 106 fields with key field PersonnelSettlementDocument. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
R_PersSettlmtDoc R_PersSettlmtDoc from

Associations (3)

CardinalityTargetAliasCondition
[1..1] E_SettlmtMgmtDoc _Extension $projection.PersonnelSettlementDocument = _Extension.SettlmtMgmtDoc
[0..*] R_PersSettlmtDocItemTP _PersSettlmtDocItem
[0..*] R_PersSettlmtDocPrcgElmntTP _PersSettlmtDocPrcgElmnt

Annotations (17)

NameValueLevelField
EndUserText.label Personnel Settlement Document - TP view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
ObjectModel.representativeKey PersonnelSettlementDocument view
ObjectModel.sapObjectNodeType.name PersonnelSettlementDocument view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XXL view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
Analytics.technicalName RWLFPSDOCTP view
Metadata.ignorePropagatedAnnotations true view
Metadata.allowExtensions false view
AbapCatalog.extensibility.extensible true view
AbapCatalog.extensibility.elementSuffix SMH view
AbapCatalog.extensibility.quota.maximumFields 170 view
AbapCatalog.extensibility.quota.maximumBytes 3400 view

Fields (106)

KeyFieldSource TableSource FieldDescription
KEY PersonnelSettlementDocument PersonnelSettlementDocument Personnel Settlement Document
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 PersSettlmtDocTotalNetAmount
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
_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_PersSettlmtDocTP.
-- 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_PersSettlmtDocTP AS
SELECT
  PersonnelSettlementDocument,
  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,
  PersSettlmtDocTotalNetAmount AS 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
FROM R_PersSettlmtDoc
LEFT OUTER JOIN E_SettlmtMgmtDoc AS _Extension ON PersonnelSettlementDocument = _Extension.SettlmtMgmtDoc  -- association [1..1]
LEFT OUTER JOIN R_PersSettlmtDocItemTP AS _PersSettlmtDocItem ON /* condition not available in parsed metadata */  -- association [0..*]
LEFT OUTER JOIN R_PersSettlmtDocPrcgElmntTP AS _PersSettlmtDocPrcgElmnt ON /* condition not available in parsed metadata */  -- association [0..*]
;