C_SetleafForCommitmentItemGrp

DDL: C_SETLEAFFORCOMMITMENTITEMGRP SQL: CSETLEAFCMTGRP Type: view CONSUMPTION

Setleaf For Commitment Item Group

C_SetleafForCommitmentItemGrp is a Consumption CDS View that provides data about "Setleaf For Commitment Item Group" in SAP S/4HANA. It reads from 1 data source (I_Setleaf) and exposes 28 fields with key fields SetClass, SetSubClass, SetID, SetLineNumber, CommitmentItem. It has 4 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_Setleaf I_Setleaf from

Associations (4)

CardinalityTargetAliasCondition
[0..1] I_SetHeader _SetHeader $projection.SetClass = _SetHeader.SetClass and $projection.SetSubClass = _SetHeader.SetSubClass and $projection.SetID = _SetHeader.SetID
[0..*] C_CommitmentItem_ObjP _Commitment $projection.SetSubClass = _Commitment.FinancialManagementArea and ( _Commitment.CommitmentItem between $projection.SetRangeFromValue and $projection.SetRangeToValue )
[0..1] C_Setleaf _setleaf $projection.SetClass = _setleaf.SetClass and $projection.SetSubClass = _setleaf.SetSubClass and $projection.SetID = _setleaf.SetID and $projection.SetLineNumber = _setleaf.SetLineNumber
[0..1] I_FundsMgmtEmptySet _EmptySet $projection.SetRangeOption = _EmptySet.SetRangeOption

Annotations (9)

NameValueLevelField
VDM.viewType #CONSUMPTION view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
AbapCatalog.sqlViewName CSETLEAFCMTGRP view
AbapCatalog.compiler.compareFilter true view
EndUserText.label Setleaf For Commitment Item Group view

Fields (28)

KeyFieldSource TableSource FieldDescription
KEY SetClass SetClass
KEY SetSubClass SetSubClass
KEY SetID SetID Commitment Item Group
KEY SetLineNumber SetLineNumber
KEY CommitmentItem _Commitment CommitmentItem Commitmet Item
KEY FinancialManagementArea _Commitment FinancialManagementArea Financial Management Area
CreatedByUser _Commitment CreatedByUser Created By
CreationDate _Commitment CreationDate Created On
ValidityStartDate _Commitment ValidityStartDate Valid From
ValidityEndDate _Commitment ValidityEndDate Valid To
CommitmentItemCategory _Commitment CommitmentItemCategory Item category
FinancialManagementAreaName _Commitment FinancialManagementAreaName Financial Management Area Text
FinMgmtAreaFiscalYear _Commitment FinMgmtAreaFiscalYear Fiscal Year
CmtmtItmFinancialTransaction _Commitment CmtmtItmFinancialTransaction Financial Transaction
FinMgmtAreaFiscalYearVariant _Commitment FinMgmtAreaFiscalYearVariant Fiscal Year Varient
FundsCenterName _Commitment FundsCenterName Funds Center Name
CmtmtItmDefaultFundsCenter _Commitment CmtmtItmDefaultFundsCenter Default Funds Center
FundsCenterDescription _Commitment FundsCenterDescription Funds Center Description
CommitmentItemExpirationDate _Commitment CommitmentItemExpirationDate Expiration Date
CommitmentItemAuthznGrp _Commitment CommitmentItemAuthznGrp
CmtmtItemFinMgmtAreaForAuthzn _Commitment CmtmtItemFinMgmtAreaForAuthzn
SetRangeSign SetRangeSign
SetRangeOption I_Setleaf SetRangeOption
SetRangeFromValue SetRangeFromValue
SetRangeToValue SetRangeToValue
ValidFrom _setleaf SetRangeFromValue Range From
ValidTo _setleaf SetRangeToValue Range To
SetDescription Commitment Item Group Name
@VDM.viewType: #CONSUMPTION
@AccessControl.authorizationCheck: #CHECK

@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType.dataClass: #MASTER
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #XL

@AbapCatalog.sqlViewName: 'CSETLEAFCMTGRP'
@AbapCatalog.compiler.compareFilter: true
@EndUserText.label: 'Setleaf For Commitment Item Group'
define view C_SetleafForCommitmentItemGrp
  as select from I_Setleaf

  association [0..1] to I_SetHeader           as _SetHeader  on  $projection.SetClass    = _SetHeader.SetClass
                                                             and $projection.SetSubClass = _SetHeader.SetSubClass
                                                             and $projection.SetID       = _SetHeader.SetID

  association [0..*] to C_CommitmentItem_ObjP as _Commitment on  $projection.SetSubClass   = _Commitment.FinancialManagementArea
                                                             and (
                                                                _Commitment.CommitmentItem between $projection.SetRangeFromValue and $projection.SetRangeToValue
                                                              )
  association [0..1] to C_Setleaf             as _setleaf    on  $projection.SetClass      = _setleaf.SetClass
                                                             and $projection.SetSubClass   = _setleaf.SetSubClass
                                                             and $projection.SetID         = _setleaf.SetID
                                                             and $projection.SetLineNumber = _setleaf.SetLineNumber

  association [0..1] to I_FundsMgmtEmptySet   as _EmptySet   on  $projection.SetRangeOption = _EmptySet.SetRangeOption

{
      @UI.hidden: true
  key SetClass,
      @Consumption.hidden: true
  key SetSubClass,
      @EndUserText.label:'Commitment Item Group'
      @Consumption.semanticObject:'CommitmentItemGroup'
      @UI.hidden: true
  key SetID,
      @Consumption.hidden: true
  key SetLineNumber,
      @EndUserText.label:'Commitmet Item'
      @Consumption.semanticObject:'CommitmentItem'
  key _Commitment.CommitmentItem,
      @EndUserText.label:'Financial Management Area'
  key _Commitment.FinancialManagementArea,
      @EndUserText.label:'Commitment Item Text'
      case when _Commitment.CommitmentItem is null then
        _EmptySet._Text[1:Language = $session.system_language].FundsMgmtEmptySetDescription
      else
        _Commitment.CommitmentItemName
      end                        as CommitmentItemName,
      @EndUserText.label:'Created By'
      _Commitment.CreatedByUser,
      @EndUserText.label:'Created On'
      _Commitment.CreationDate,
      @EndUserText.label:'Valid From'
      _Commitment.ValidityStartDate,
      @EndUserText.label:'Valid To'
      _Commitment.ValidityEndDate,
      @EndUserText.label:'Item category'
      _Commitment.CommitmentItemCategory,
      @EndUserText.label:'Financial Management Area Text'
      _Commitment.FinancialManagementAreaName,
      @EndUserText.label:'Fiscal Year'
      _Commitment.FinMgmtAreaFiscalYear,
      @EndUserText.label:'Financial Transaction'
      _Commitment.CmtmtItmFinancialTransaction,
      @EndUserText.label:'Fiscal Year Varient'
      _Commitment.FinMgmtAreaFiscalYearVariant,
      @EndUserText.label:'Funds Center Name'
      _Commitment.FundsCenterName,
      @EndUserText.label:'Default Funds Center'
      _Commitment.CmtmtItmDefaultFundsCenter,
      @EndUserText.label:'Funds Center Description'
      _Commitment.FundsCenterDescription,
      @EndUserText.label:'Expiration Date'
      _Commitment.CommitmentItemExpirationDate,
      @Consumption.hidden: true
      _Commitment.CommitmentItemAuthznGrp,
      @Consumption.hidden: true
      _Commitment.CmtmtItemFinMgmtAreaForAuthzn,
      // _Commitment.

      @Consumption.hidden: true
      SetRangeSign,
      @Consumption.hidden: true
      I_Setleaf.SetRangeOption,

      //case


      //when SetRangeFromValue = SetRangeToValue then ''

      //else SetRangeFromValue

      @Consumption.hidden: true
      SetRangeFromValue,

      //@EndUserText.label:'Range To'

      @Consumption.hidden: true
      SetRangeToValue,
      @EndUserText.label:'Range From'
      _setleaf.SetRangeFromValue as ValidFrom,
      @EndUserText.label:'Range To'
      _setleaf.SetRangeToValue   as ValidTo,
      @UI.hidden: true
      @EndUserText.label:'Commitment Item Group Name'
      _SetHeader._SetHeaderText[1:Language=$session.system_language].SetDescription
      //_Setleaf




      //meta

      // @EndUserText.label:'Created By'

      //_SetHeader.CreatedByUser,

      //@EndUserText.label:'Creation Date'

      //_SetHeader.CreationDate,



      //Texts

      // @EndUserText.label:'Group Description'

      //_SetHeader._SetHeaderText[1:Language=$session.system_language].SetDescription


      // @Consumption.hidden: true

      // cast( concat_with_space(SetID, _SetHeader._SetText[1:Language=$session.system_language].SetDescription, 1 ) as fmis_fundsmgmtextendedsetname ) as  FundsMgmtExtendedSetDesc



}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"C_COMMITMENTITEM_OBJP",
"C_SETLEAF",
"I_FUNDSMGMTEMPTYSET",
"I_FUNDSMGMTEMPTYSETTEXT",
"I_SETHEADER",
"I_SETHEADERTEXT",
"I_SETLEAF"
],
"ASSOCIATED":
[
"C_COMMITMENTITEM_OBJP",
"C_SETLEAF",
"I_FUNDSMGMTEMPTYSET",
"I_SETHEADER"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/