C_CommitmentItem_ObjP

DDL: C_COMMITMENTITEM_OBJP SQL: CCOMMITIOBJP Type: view CONSUMPTION

Additional Selection - Commitment Item

C_CommitmentItem_ObjP is a Consumption CDS View that provides data about "Additional Selection - Commitment Item" in SAP S/4HANA. It reads from 1 data source (I_CommitmentItem) and exposes 36 fields with key fields FinancialManagementArea, FinMgmtAreaFiscalYear, CommitmentItem. It has 8 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_CommitmentItem I_CommitmentItem from

Associations (8)

CardinalityTargetAliasCondition
[0..*] C_GlAccountByFinMgmtArea _GLAccount $projection.FinancialManagementArea = _GLAccount.FinancialManagementArea and $projection.CommitmentItemShortID = _GLAccount.CommitmentItemShortID
[0..*] C_OplAcctgDocItemForObjp _AccountingLine $projection.FinancialManagementArea = _AccountingLine.CompanyCode and $projection.CommitmentItemShortID = _AccountingLine.CommitmentItemShortID
[0..*] C_BudDocItemForObjP _BudgetEntryDocument $projection.FinancialManagementArea = _BudgetEntryDocument.FinancialManagementArea and $projection.CommitmentItem = _BudgetEntryDocument.BudgetedCommitmentItem
[0..*] C_PurchaseOrderByFMAA _PurchaseOrder $projection.FinancialManagementArea = _PurchaseOrder.FinancialManagementArea and $projection.CommitmentItem = _PurchaseOrder.PostedCommitmentItem
[0..*] C_PurchaseRequisitionByFMAA _PurchaseRequisition $projection.FinancialManagementArea = _PurchaseRequisition.FinancialManagementArea and $projection.CommitmentItem = _PurchaseRequisition.PostedCommitmentItem
[0..*] C_EarmarkedFundsItemForObjP _EarmarkedFundsItem $projection.FinancialManagementArea = _EarmarkedFundsItem.FinancialManagementArea and $projection.CommitmentItem = _EarmarkedFundsItem.CommitmentItem
[0..1] C_LastValidFundsCenterWST _FundsCenter $projection.FinancialManagementArea = _FundsCenter.FinancialManagementArea and $projection.CmtmtItmDefaultFundsCenter = _FundsCenter.FundsCenter
[0..*] C_SetLeafForCIObjP _Sets _Sets.SetClass = '0311' and $projection.CommitmentItem = _Sets.CommitmentItem and $projection.FinancialManagementArea = _Sets.SetSubClass

Annotations (13)

NameValueLevelField
VDM.viewType #CONSUMPTION view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XXL view
AbapCatalog.sqlViewName CCOMMITIOBJP view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Additional Selection - Commitment Item view
UI.headerInfo.typeName Commitment Item view
UI.headerInfo.typeNamePlural Commitment Items view
UI.headerInfo.title.value CommitmentItem view
UI.headerInfo.description.value CommitmentItemName view

Fields (36)

KeyFieldSource TableSource FieldDescription
KEY FinancialManagementArea I_CommitmentItem FinancialManagementArea Financial Management Area
KEY FinMgmtAreaFiscalYear I_CommitmentItem FinMgmtAreaFiscalYear Financial Management Area Fiscal Year
KEY CommitmentItem I_CommitmentItem CommitmentItem Commitment item
CommitmentItemShortID I_CommitmentItem CommitmentItemShortID Internal Commitment Item Name
CommitmentItemIsPostingEnabled I_CommitmentItem CommitmentItemIsPostingEnabled Directly Postable
CmtmtItmFinancialTransaction I_CommitmentItem CmtmtItmFinancialTransaction Financial Transaction
CmtmtItmFinTransactionText Financial Transaction Description
CommitmentItemCategory I_CommitmentItem CommitmentItemCategory Commitment Item Category
CommitmentItemCategoryName Commitment Item Category Name
CommitmentItemType I_CommitmentItem CommitmentItemType Commitment Item Type
ParentCommitmentItem I_CommitmentItem ParentCommitmentItem Parent Commitment Item
CommitmentItemInternalId I_CommitmentItem CommitmentItemInternalId Internal Commitment Item Number
CmtmtItmDefaultFundsCenter I_CommitmentItem CmtmtItmDefaultFundsCenter Default Funds Center
FundsCenterName _FundsCenter FundsCenterName Default Funds Center Name
FundsCenterDescription _FundsCenter FundsCenterDescription Default Funds Center Description
CmtmtItmCarryFwdItmCategory I_CommitmentItem CmtmtItmCarryFwdItmCategory Carry Forward Item Category
CommitmentItemAuthznGrp I_CommitmentItem CommitmentItemAuthznGrp
CommitmentItemIsStatistical I_CommitmentItem CommitmentItemIsStatistical Statistical Commitment Item
CommitmentItemRequestType I_CommitmentItem CommitmentItemRequestType
CreatedByUser
CreationDate
FinMgmtAreaFiscalYearVariant
CmtmtItemFinMgmtAreaForAuthzn I_CommitmentItem CmtmtItemFinMgmtAreaForAuthzn
FinancialManagementAreaName Financial Management Area Name
FinMgmtAreaExtendedName
CommitmentItemName
ValidityEndDate I_CommitmentItem ValidityEndDate ValidTo
ValidityStartDate I_CommitmentItem ValidityStartDate Validity Start Date
CommitmentItemExpirationDate I_CommitmentItem CommitmentItemExpirationDate
_GLAccount _GLAccount
_AccountingLine _AccountingLine
_BudgetEntryDocument _BudgetEntryDocument
_PurchaseOrder _PurchaseOrder
_PurchaseRequisition _PurchaseRequisition
_EarmarkedFundsItem _EarmarkedFundsItem
_Sets _Sets

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_CommitmentItem_ObjP.
-- 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: CCOMMITIOBJP

CREATE VIEW C_CommitmentItem_ObjP AS
SELECT
  I_CommitmentItem.FinancialManagementArea AS FinancialManagementArea,
  I_CommitmentItem.FinMgmtAreaFiscalYear AS FinMgmtAreaFiscalYear,
  I_CommitmentItem.CommitmentItem AS CommitmentItem,
  I_CommitmentItem.CommitmentItemShortID AS CommitmentItemShortID,
  I_CommitmentItem.CommitmentItemIsPostingEnabled AS CommitmentItemIsPostingEnabled,
  I_CommitmentItem.CmtmtItmFinancialTransaction AS CmtmtItmFinancialTransaction,
  I_CommitmentItem._FinancialTransaction._Text[1:Language = $session.system_language].CmtmtItmFinTransactionText AS CmtmtItmFinTransactionText,
  I_CommitmentItem.CommitmentItemCategory AS CommitmentItemCategory,
  I_CommitmentItem._CommitmentItemCategory._Text[1:Language = $session.system_language].CommitmentItemCategoryName AS CommitmentItemCategoryName,
  I_CommitmentItem.CommitmentItemType AS CommitmentItemType,
  I_CommitmentItem.ParentCommitmentItem AS ParentCommitmentItem,
  I_CommitmentItem.CommitmentItemInternalId AS CommitmentItemInternalId,
  I_CommitmentItem.CmtmtItmDefaultFundsCenter AS CmtmtItmDefaultFundsCenter,
  _FundsCenter.FundsCenterName AS FundsCenterName,
  _FundsCenter.FundsCenterDescription AS FundsCenterDescription,
  I_CommitmentItem.CmtmtItmCarryFwdItmCategory AS CmtmtItmCarryFwdItmCategory,
  I_CommitmentItem.CommitmentItemAuthznGrp AS CommitmentItemAuthznGrp,
  I_CommitmentItem.CommitmentItemIsStatistical AS CommitmentItemIsStatistical,
  I_CommitmentItem.CommitmentItemRequestType AS CommitmentItemRequestType,
  I_CommitmentItem._CommitmentItemHierarchy[1:CommitmentItemHierarchyVariant = '000'].CreatedByUser AS CreatedByUser,
  I_CommitmentItem._CommitmentItemHierarchy[1:CommitmentItemHierarchyVariant = '000'].CreationDate AS CreationDate,
  I_CommitmentItem._FinMgmtArea.FinMgmtAreaFiscalYearVariant AS FinMgmtAreaFiscalYearVariant,
  I_CommitmentItem.CmtmtItemFinMgmtAreaForAuthzn AS CmtmtItemFinMgmtAreaForAuthzn,
  I_CommitmentItem._FinMgmtArea._Text[1:Language = $session.system_language].FinancialManagementAreaName AS FinancialManagementAreaName,
  cast( concat_with_space(FinancialManagementArea, _FinMgmtArea._Text[1:Language = $session.system_language].FinancialManagementAreaName, 1) as fmis_fmaextendedname ) AS FinMgmtAreaExtendedName,
  _Text[1:Language=$session.system_language].CommitmentItemName AS CommitmentItemName,
  I_CommitmentItem.ValidityEndDate AS ValidityEndDate,
  I_CommitmentItem.ValidityStartDate AS ValidityStartDate,
  I_CommitmentItem.CommitmentItemExpirationDate AS CommitmentItemExpirationDate
FROM I_CommitmentItem
LEFT OUTER JOIN C_GlAccountByFinMgmtArea AS _GLAccount ON FinancialManagementArea = _GLAccount.FinancialManagementArea AND CommitmentItemShortID = _GLAccount.CommitmentItemShortID  -- association [0..*]
LEFT OUTER JOIN C_OplAcctgDocItemForObjp AS _AccountingLine ON FinancialManagementArea = _AccountingLine.CompanyCode AND CommitmentItemShortID = _AccountingLine.CommitmentItemShortID  -- association [0..*]
LEFT OUTER JOIN C_BudDocItemForObjP AS _BudgetEntryDocument ON FinancialManagementArea = _BudgetEntryDocument.FinancialManagementArea AND CommitmentItem = _BudgetEntryDocument.BudgetedCommitmentItem  -- association [0..*]
LEFT OUTER JOIN C_PurchaseOrderByFMAA AS _PurchaseOrder ON FinancialManagementArea = _PurchaseOrder.FinancialManagementArea AND CommitmentItem = _PurchaseOrder.PostedCommitmentItem  -- association [0..*]
LEFT OUTER JOIN C_PurchaseRequisitionByFMAA AS _PurchaseRequisition ON FinancialManagementArea = _PurchaseRequisition.FinancialManagementArea AND CommitmentItem = _PurchaseRequisition.PostedCommitmentItem  -- association [0..*]
LEFT OUTER JOIN C_EarmarkedFundsItemForObjP AS _EarmarkedFundsItem ON FinancialManagementArea = _EarmarkedFundsItem.FinancialManagementArea AND CommitmentItem = _EarmarkedFundsItem.CommitmentItem  -- association [0..*]
LEFT OUTER JOIN C_LastValidFundsCenterWST AS _FundsCenter ON FinancialManagementArea = _FundsCenter.FinancialManagementArea AND CmtmtItmDefaultFundsCenter = _FundsCenter.FundsCenter  -- association [0..1]
LEFT OUTER JOIN C_SetLeafForCIObjP AS _Sets ON _Sets.SetClass = '0311' AND CommitmentItem = _Sets.CommitmentItem AND FinancialManagementArea = _Sets.SetSubClass  -- association [0..*]
;