I_PubSecCmtmtAgingBasic

DDL: I_PUBSECCMTMTAGINGBASIC SQL: ICMTMTAGINGBASIC Type: view BASIC

commitment aging basic view

I_PubSecCmtmtAgingBasic is a Basic CDS View that provides data about "commitment aging basic view" in SAP S/4HANA. It reads from 1 data source (P_ACDOCA) and exposes 5 fields with key fields SourceReferenceDocumentType, SourceReferenceDocument, SourceReferenceDocumentItem.

Data Sources (1)

SourceAliasJoin Type
P_ACDOCA main from

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName ICMTMTAGINGBASIC view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
EndUserText.label commitment aging basic view view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #BASIC view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.buffering.status #NOT_ALLOWED view
AccessControl.personalData.blocking #NOT_REQUIRED view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XXL view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY SourceReferenceDocumentType
KEY SourceReferenceDocument
KEY SourceReferenceDocumentItem
PubSecOpenCmtmtAgingDate
PubSecOpnCmtmtAmtInTransCrcy
@AbapCatalog.sqlViewName: 'ICMTMTAGINGBASIC'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@EndUserText.label: 'commitment aging basic view'
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM.viewType: #BASIC
@ClientHandling.algorithm: #SESSION_VARIABLE
@AbapCatalog.buffering.status: #NOT_ALLOWED
@AccessControl.personalData.blocking: #NOT_REQUIRED
@ObjectModel: {
     usageType: {
         dataClass: #MIXED,
         serviceQuality: #D,
         sizeCategory: #XXL
     }
}


define view I_PubSecCmtmtAgingBasic
  as select from P_ACDOCA as main
{
  key cast( main.src_awtyp as fins_src_awtyp )                                          as SourceReferenceDocumentType,
  key cast( main.src_awref as fins_src_awref preserving type )                          as SourceReferenceDocument,
  key cast( main.src_awitem as fins_src_awitem )                                        as SourceReferenceDocumentItem,
      cast( min( main.bdgt_cnsmpn_date ) as psm_open_cmtmt_aging_date preserving type ) as PubSecOpenCmtmtAgingDate,
      sum(main.tsl)                                                                     as PubSecOpnCmtmtAmtInTransCrcy
}
where
       main.rldnr         = '0E'
  and  main.xcommitment   = 'X'
  and  main.bdgt_relevant = 'X'
  and(
       main.src_awtyp     = 'PORD'
    or main.src_awtyp     = 'PREQ'
    or main.src_awtyp     = 'FMRES'
  )
group by
  main.src_awtyp,
  main.src_awref,
  main.src_awitem
having
  sum(
    main.tsl
  ) <> 0