C_PersSettlmtDocWrkflwDet

DDL: C_PERSSETTLMTDOCWRKFLWDET Type: view CONSUMPTION

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)

SourceAliasJoin Type
I_PersSettlmtDoc I_PersSettlmtDoc from

Associations (2)

CardinalityTargetAliasCondition
[0..*] C_PersSettlmtDocWrkflwItmDet _PersSettlmtDocWrkflwItmDet $projection.PersonnelSettlementDocument = _PersSettlmtDocWrkflwItmDet.PersonnelSettlementDocument
[0..1] I_SettlmtCompnVar _SettlmtCompnVar $projection.SettlmtCompnVar = _SettlmtCompnVar.SettlmtCompnVar

Annotations (15)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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]
;