R_ProjSettlmtRuleTP

DDL: R_PROJSETTLMTRULETP Type: view_entity TRANSACTIONAL

Settlement Rule for Project

R_ProjSettlmtRuleTP is a Transactional CDS View that provides data about "Settlement Rule for Project" in SAP S/4HANA. It reads from 1 data source (I_ProjSettlmtRule) and exposes 69 fields with key field ControllingObject. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_ProjSettlmtRule I_ProjSettlmtRule from

Associations (2)

CardinalityTargetAliasCondition
[0..*] R_ProjSettlmtRuleDistrRuleTP _ProjSettlmtRuleDistrRuleTP
[0..*] R_PrjSettlmtRuleHistPerLdgrTP _PrjSettlmtRuleHistPerLdgrTP

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
EndUserText.label Settlement Rule for Project view

Fields (69)

KeyFieldSource TableSource FieldDescription
KEY ControllingObject ControllingObject Object number
ControllingObjectExternalID ControllingObjectExternalID WBS Element
ControllingObjectDescription ControllingObjectDescription
ControllingObjectType ControllingObjectType Object Type
AllocationStructure AllocationStructure Alloc.Structure
ControllingSettlementProfile ControllingSettlementProfile Settlement Profile
ProfitabilityAcctgTransfStruc ProfitabilityAcctgTransfStruc
CtrlgObjectSettlementRuleName CtrlgObjectSettlementRuleName
PrjSettlmtRuleDistrRuleIsCrted PrjSettlmtRuleDistrRuleIsCrted
AssetValueDate AssetValueDate Reference date
SettlementSourceStructure SettlementSourceStructure
SettlmtWithFreeDefinedCurrency SettlmtWithFreeDefinedCurrency
SettlmtRuleProcessingSequence SettlmtRuleProcessingSequence
SettlmtRuleAutoGnrtnStrgySqnc SettlmtRuleAutoGnrtnStrgySqnc
CreatedByUser CreatedByUser User Name
LastChangedByUser LastChangedByUser User Name
CreationDate CreationDate Time Stamp
LastChangeDate LastChangeDate Time Stamp
ProjSettlmtRuleSettlmtIsAllwd ProjSettlmtRuleSettlmtIsAllwd
HistoryPerLedgerIsHidden HistoryPerLedgerIsHidden
WBSElementIsBillingElement WBSElementIsBillingElement Billing elem.
WBSIsAccountAssignmentElement WBSIsAccountAssignmentElement
WBSElementIsPlanningElement WBSElementIsPlanningElement
WBSIsStatisticalWBSElement WBSIsStatisticalWBSElement Statistical
ActualPostedCostCenter ActualPostedCostCenter Cost Center for Actual Costs Posting
ResponsibleCostCenter ResponsibleCostCenter Responsible Cost Center
CompanyCode CompanyCode Receiver Company Code
ProjSettlmtRuleCtrlgObjPar
HierarchyNode
HierarchyParentNode
HierarchyDistanceFromRoot
HierarchyDescendantCount
HierarchyDrillState
HierarchyNodeOrdinalNumber
ControllingArea ControllingArea Controlling Area
ProfitCenter ProfitCenter Profit Center
SenderDetailsWBSElmntIsHidden SenderDetailsWBSElmntIsHidden
SenderDetailsProjectIsHidden SenderDetailsProjectIsHidden
SenderCreatedByUser SenderCreatedByUser User Name
SenderCreationDate SenderCreationDate Time Stamp
SenderLastChangedByUser SenderLastChangedByUser User Name
SenderLastChangedDate SenderLastChangedDate Time Stamp
FunctionalArea FunctionalArea Sendr Fctl Area
ProjectCurrency ProjectCurrency Project Currency
PlannedStartDate PlannedStartDate Latest Planned Start
PlannedEndDate PlannedEndDate Ltst Planned Finish
WBSDescription WBSDescription WBS Element Name
WBSElementExternalID WBSElementExternalID WBS Element External ID
ProjectDescription ProjectDescription Project Name
ProjectExternalID ProjectExternalID Project def.
ProjectInternalID ProjectInternalID Project Def.
ProjectProfileCode ProjectProfileCode Project Profile
Plant Plant Valuation Area
ProjectType ProjectType Project Type
_SenderCreatedByUser _SenderCreatedByUser
_SenderLastChangedByUser _SenderLastChangedByUser
_CostCenter _CostCenter
_CompanyCode _CompanyCode
_ResponsibleCostCenter _ResponsibleCostCenter
_ControllingObjectType _ControllingObjectType
_FunctionalArea _FunctionalArea
_ProjectCurrency _ProjectCurrency
_CtrlgObjectSettlementRule _CtrlgObjectSettlementRule
_CreatedByUser _CreatedByUser
_LastChangedByUser _LastChangedByUser
_ProjSettlmtRuleDistrRuleTP _ProjSettlmtRuleDistrRuleTP
_PrjSettlmtRuleHistPerLdgrTP _PrjSettlmtRuleHistPerLdgrTP
_RootWBSElement _RootWBSElement
_Project _Project

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_ProjSettlmtRuleTP.
-- 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_ProjSettlmtRuleTP AS
SELECT
  ControllingObject,
  ControllingObjectExternalID,
  ControllingObjectDescription,
  ControllingObjectType,
  AllocationStructure,
  ControllingSettlementProfile,
  ProfitabilityAcctgTransfStruc,
  CtrlgObjectSettlementRuleName,
  PrjSettlmtRuleDistrRuleIsCrted,
  AssetValueDate,
  SettlementSourceStructure,
  SettlmtWithFreeDefinedCurrency,
  SettlmtRuleProcessingSequence,
  SettlmtRuleAutoGnrtnStrgySqnc,
  CreatedByUser,
  LastChangedByUser,
  CreationDate,
  LastChangeDate,
  ProjSettlmtRuleSettlmtIsAllwd,
  HistoryPerLedgerIsHidden,
  WBSElementIsBillingElement,
  WBSIsAccountAssignmentElement,
  WBSElementIsPlanningElement,
  WBSIsStatisticalWBSElement,
  ActualPostedCostCenter,
  ResponsibleCostCenter,
  CompanyCode,
  cast('' as j_objnr) AS ProjSettlmtRuleCtrlgObjPar,
  cast( '' as abap.sstring(1333) ) AS HierarchyNode,
  cast( '' as abap.sstring(1333) ) AS HierarchyParentNode,
  cast( 0 as abap.int4 ) AS HierarchyDistanceFromRoot,
  cast( 0 as abap.int4 ) AS HierarchyDescendantCount,
  cast( 0 as abap.char(22) ) AS HierarchyDrillState,
  cast( 0 as abap.int4 ) AS HierarchyNodeOrdinalNumber,
  ControllingArea,
  ProfitCenter,
  SenderDetailsWBSElmntIsHidden,
  SenderDetailsProjectIsHidden,
  SenderCreatedByUser,
  SenderCreationDate,
  SenderLastChangedByUser,
  SenderLastChangedDate,
  FunctionalArea,
  ProjectCurrency,
  PlannedStartDate,
  PlannedEndDate,
  WBSDescription,
  WBSElementExternalID,
  ProjectDescription,
  ProjectExternalID,
  ProjectInternalID,
  ProjectProfileCode,
  Plant,
  ProjectType
FROM I_ProjSettlmtRule
LEFT OUTER JOIN R_ProjSettlmtRuleDistrRuleTP AS _ProjSettlmtRuleDistrRuleTP ON /* condition not available in parsed metadata */  -- association [0..*]
LEFT OUTER JOIN R_PrjSettlmtRuleHistPerLdgrTP AS _PrjSettlmtRuleHistPerLdgrTP ON /* condition not available in parsed metadata */  -- association [0..*]
;