C_PubSecPeriodicCmtmtAdjTP
Periodic Commitment Adjustment
C_PubSecPeriodicCmtmtAdjTP is a Consumption CDS View that provides data about "Periodic Commitment Adjustment" in SAP S/4HANA. It reads from 1 data source (I_PubSecPeriodicCmtmtAdjTP) and exposes 60 fields with key fields CompanyCode, SourceReferenceDocumentType, SourceReferenceDocument, SourceReferenceDocumentItem, AccountAssignmentNumber. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_PubSecPeriodicCmtmtAdjTP | I_PubSecPeriodicCmtmtAdjTP | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | tbtco | _JobStatus | I_PubSecPeriodicCmtmtAdjTP.ReferenceApplicationJobName = _JobStatus.jobname and I_PubSecPeriodicCmtmtAdjTP.ApplicationJob = _JobStatus.jobcount |
| [0..1] | apj_d_job_exe | _JobText | I_PubSecPeriodicCmtmtAdjTP.ReferenceApplicationJobName = _JobText.job_name association[0..*] to C_HierRuntimeRprstnDplLeafNode as _CostCenterHierarchyLeafNode on $projection.CostCenter = _CostCenterHierarchyLeafNode.UnivHierarchyBusinessEntity and $projection.ControllingArea = _CostCenterHierarchyLeafNode.HierarchyNodeClass and _CostCenterHierarchyLeafNode.ValidityStartDate <= $session.system_date and _CostCenterHierarchyLeafNode.ValidityEndDate >= $session.system_date and _CostCenterHierarchyLeafNode.HierarchyType = '0101' association[0..*] to C_HierRuntimeRprstnDplLeafNode as _FundHierarchyLeafNode on $projection.Fund = _FundHierarchyLeafNode.UnivHierarchyBusinessEntity and $projection.FinancialManagementArea = _FundHierarchyLeafNode.HierarchyNodeClass and _FundHierarchyLeafNode.ValidityStartDate <= $session.system_date and _FundHierarchyLeafNode.ValidityEndDate >= $session.system_date and _FundHierarchyLeafNode.HierarchyType = '0111' association[0..*] to C_HierRuntimeRprstnDplLeafNode as _GrantHierarchyLeafNode on $projection.GrantID = _GrantHierarchyLeafNode.UnivHierarchyBusinessEntity and _GrantHierarchyLeafNode.ValidityStartDate <= $session.system_date and _GrantHierarchyLeafNode.ValidityEndDate >= $session.system_date and _GrantHierarchyLeafNode.HierarchyType = '0113' association[0..*] to C_HierRuntimeRprstnDplLeafNode as _BudgetAcctHierarchyLeafNode on $projection.PubSecBudgetAccount = _BudgetAcctHierarchyLeafNode.UnivHierarchyBusinessEntity and _BudgetAcctHierarchyLeafNode.ValidityStartDate <= $session.system_date and _BudgetAcctHierarchyLeafNode.ValidityEndDate >= $session.system_date and _BudgetAcctHierarchyLeafNode.HierarchyType = '0115' |
Annotations (19)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CPSMS4CPCMTADJTP | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| EndUserText.label | Periodic Commitment Adjustment | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.transactionalProcessingDelegated | true | view | |
| ObjectModel.compositionRoot | true | view | |
| ObjectModel.representativeKey | CompanyCode | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| UI.headerInfo.typeName | Open Item | view | |
| UI.headerInfo.typeNamePlural | Open Items | view | |
| UI.headerInfo.title.value | Open Item | view | |
| UI.headerInfo.description.value | Description | view | |
| Search.searchable | true | view |
Fields (60)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | CompanyCode | Receiver Company Code | |
| KEY | SourceReferenceDocumentType | SourceReferenceDocumentType | Ref. procedure | |
| KEY | SourceReferenceDocument | SourceReferenceDocument | Reference Doc. | |
| KEY | SourceReferenceDocumentItem | SourceReferenceDocumentItem | Ref. Doc. Item | |
| KEY | AccountAssignmentNumber | AccountAssignmentNumber | Account Assgmt No. | |
| PubSecBudgetCnsmpnType | PubSecBudgetCnsmpnType | Budget Consumption Type | ||
| Fund | Fund | Sender Fund | ||
| BudgetPeriod | BudgetPeriod | Budget Period | ||
| FiscalYear | FiscalYear | G/L Fiscal Year | ||
| FunctionalArea | FunctionalArea | Sendr Fctl Area | ||
| statusendasApplicationJobStatusText | Job Status | |||
| SystemMessageType | SystemMessageType | Message type | ||
| SystemMessageLongText | ||||
| ApplicationJobName | _JobText | job_text | Job Description | |
| TotalAmountInCoCodeCrcy | TotalAmountInCoCodeCrcy | Total Amount | ||
| FinClosingRunBatchJobName | I_PubSecPeriodicCmtmtAdjTP | ReferenceApplicationJobName | Job No. | |
| CreationDateTime | _JobText | created_at | Uploaded On | |
| CreatedByUser | _JobText | created_by | Version Created By | |
| CompanyCodeCurrency | CompanyCodeCurrency | Local Currency | ||
| FinancialManagementArea | FinancialManagementArea | FM Area | ||
| GrantID | GrantID | Sender Grant | ||
| ChartOfAccounts | ChartOfAccounts | Node Class | ||
| PubSecBudgetAccount | PubSecBudgetAccount | Budget Account | ||
| ControllingArea | ControllingArea | Controlling Area | ||
| CostCenter | CostCenter | Cost Center | ||
| CostCenterHierarchyNode | ||||
| CostCenterHierarchy | ||||
| FundHierarchyNode | Fund Hierarchy Node | |||
| FundHierarchy | Fund Hierarchy | |||
| BudgetAccountHierarchyNode | Budget Account Hierarchy Node | |||
| BudgetAccountHierarchy | Budget Account Hierarchy | |||
| GrantHierarchyNode | Grant Hierarchy Node | |||
| GrantHierarchy | Grant Hierarchy | |||
| WBSElementExternalID | WBSElementExternalID | WBS Element External ID | ||
| WBSElementInternalID | WBSElementInternalID | WBS Internal ID | ||
| ProfitCenter | ProfitCenter | Profit Center | ||
| Segment | Segment | Segment number | ||
| _SourceReferenceDocumentType | _SourceReferenceDocumentType | |||
| _BudgetPeriod | _BudgetPeriod | |||
| _ChartOfAccounts | _ChartOfAccounts | |||
| _PubSecBdgtCnsmpnType | _PubSecBdgtCnsmpnType | |||
| _CompanyCode | _CompanyCode | |||
| _CompanyCodeCurrency | _CompanyCodeCurrency | |||
| _ControllingArea | _ControllingArea | |||
| _CurrentCostCenter | _CurrentCostCenter | |||
| _WBSElementBasicData | _WBSElementBasicData | |||
| _WBSElementExternalID | _WBSElementExternalID | |||
| _FinancialManagementArea | _FinancialManagementArea | |||
| _FunctionalArea | _FunctionalArea | |||
| _Fund | _Fund | |||
| _BudgetAccountInChtAccts | _BudgetAccountInChtAccts | |||
| _MessageType | _MessageType | |||
| _Grant | _Grant | |||
| _Segment | _Segment | |||
| _CurrentProfitCenter | _CurrentProfitCenter | |||
| _FiscalYear | _FiscalYear | |||
| _CostCenterHierarchyLeafNode | _CostCenterHierarchyLeafNode | |||
| _FundHierarchyLeafNode | _FundHierarchyLeafNode | |||
| _GrantHierarchyLeafNode | _GrantHierarchyLeafNode | |||
| _BudgetAcctHierarchyLeafNode | _BudgetAcctHierarchyLeafNode |
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_PubSecPeriodicCmtmtAdjTP.
-- 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.
-- SQL view name: CPSMS4CPCMTADJTP
CREATE VIEW C_PubSecPeriodicCmtmtAdjTP AS
SELECT
CompanyCode,
SourceReferenceDocumentType,
SourceReferenceDocument,
SourceReferenceDocumentItem,
AccountAssignmentNumber,
PubSecBudgetCnsmpnType,
Fund,
BudgetPeriod,
FiscalYear,
FunctionalArea,
case when _JobStatus.status = 'F' then replace(_JobStatus.status, 'F', 'Finished') when _JobStatus.status = 'R' then replace(_JobStatus.status, 'R', 'In Process') when _JobStatus.status = 'A' then replace(_JobStatus.status, 'A', 'Failed') when _JobStatus.status = 'S' then replace(_JobStatus.status, 'S', 'Released') when _JobStatus.status = 'Y' then replace(_JobStatus.status, 'Y', 'Ready') else _JobStatus.status end as ApplicationJobStatusText AS statusendasApplicationJobStatusText,
SystemMessageType,
cast( ' ' as messagetext ) AS SystemMessageLongText,
_JobText.job_text AS ApplicationJobName,
TotalAmountInCoCodeCrcy,
I_PubSecPeriodicCmtmtAdjTP.ReferenceApplicationJobName AS FinClosingRunBatchJobName,
_JobText.created_at AS CreationDateTime,
_JobText.created_by AS CreatedByUser,
CompanyCodeCurrency,
FinancialManagementArea,
GrantID,
ChartOfAccounts,
PubSecBudgetAccount,
ControllingArea,
CostCenter,
cast('' as fis_cctr_hrynid_50) AS CostCenterHierarchyNode,
cast('' as fis_cctr_hryid_42) AS CostCenterHierarchy,
cast('' as fmis_fund_hrynid_50) AS FundHierarchyNode,
cast('' as fmis_hryid_fund) AS FundHierarchy,
cast('' as psm_hrynid_budgetaccount) AS BudgetAccountHierarchyNode,
cast('' as psm_hryid_budgetaccount) AS BudgetAccountHierarchy,
cast('' as gm_hrynid_grant) AS GrantHierarchyNode,
cast('' as gm_hryid_grant) AS GrantHierarchy,
WBSElementExternalID,
WBSElementInternalID,
ProfitCenter,
Segment
FROM I_PubSecPeriodicCmtmtAdjTP
LEFT OUTER JOIN tbtco AS _JobStatus ON I_PubSecPeriodicCmtmtAdjTP.ReferenceApplicationJobName = _JobStatus.jobname AND I_PubSecPeriodicCmtmtAdjTP.ApplicationJob = _JobStatus.jobcount -- association [0..1]
LEFT OUTER JOIN apj_d_job_exe AS _JobText ON I_PubSecPeriodicCmtmtAdjTP.ReferenceApplicationJobName = _JobText.job_name association[0..*] to C_HierRuntimeRprstnDplLeafNode as _CostCenterHierarchyLeafNode on CostCenter = _CostCenterHierarchyLeafNode.UnivHierarchyBusinessEntity AND ControllingArea = _CostCenterHierarchyLeafNode.HierarchyNodeClass AND _CostCenterHierarchyLeafNode.ValidityStartDate <= $session.system_date AND _CostCenterHierarchyLeafNode.ValidityEndDate >= $session.system_date AND _CostCenterHierarchyLeafNode.HierarchyType = '0101' association[0..*] to C_HierRuntimeRprstnDplLeafNode as _FundHierarchyLeafNode on Fund = _FundHierarchyLeafNode.UnivHierarchyBusinessEntity AND FinancialManagementArea = _FundHierarchyLeafNode.HierarchyNodeClass AND _FundHierarchyLeafNode.ValidityStartDate <= $session.system_date AND _FundHierarchyLeafNode.ValidityEndDate >= $session.system_date AND _FundHierarchyLeafNode.HierarchyType = '0111' association[0..*] to C_HierRuntimeRprstnDplLeafNode as _GrantHierarchyLeafNode on GrantID = _GrantHierarchyLeafNode.UnivHierarchyBusinessEntity AND _GrantHierarchyLeafNode.ValidityStartDate <= $session.system_date AND _GrantHierarchyLeafNode.ValidityEndDate >= $session.system_date AND _GrantHierarchyLeafNode.HierarchyType = '0113' association[0..*] to C_HierRuntimeRprstnDplLeafNode as _BudgetAcctHierarchyLeafNode on PubSecBudgetAccount = _BudgetAcctHierarchyLeafNode.UnivHierarchyBusinessEntity AND _BudgetAcctHierarchyLeafNode.ValidityStartDate <= $session.system_date AND _BudgetAcctHierarchyLeafNode.ValidityEndDate >= $session.system_date AND _BudgetAcctHierarchyLeafNode.HierarchyType = '0115' -- association [0..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