NSDM_E_MSTBH_AGG

CDS View

CDS View for Sums on MSTBH per Period

NSDM_E_MSTBH_AGG is a CDS View in S/4HANA. CDS View for Sums on MSTBH per Period. 1 CDS views read from this table.

CDS Views using this table (1)

ViewTypeJoinVDMDescription
nsdm_e_mstbh view left_outer CDS View for MSTBH on NSDM_T_MTDCSA
@AbapCatalog.preserveKey: true
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.sqlViewName:      'NSDM_V_MSTBH_AGG'
@EndUserText.label:            'CDS View for Sums on MSTBH per Period'
@DataAging.noAgingRestriction: 'false'

@ObjectModel.usageType.sizeCategory: 'L'
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.dataClass: #TRANSACTIONAL
@ClientHandling.algorithm: #AUTOMATED
@AccessControl.authorizationCheck: #NOT_ALLOWED
@AbapCatalog.viewEnhancementCategory: #PROJECTION_LIST
define view nsdm_e_mstbh_agg  as
select from matdoc_extract
                         
{
key mandt,
key matbf     as matnr, 
key werks,
key charg_sid as charg,
key sobkz,
key gjper,

@EndUserText: { label: 'Valuated Goods Receipt Blocked Stock', quickInfo: 'Val. GR Blocked Stck' }
@Semantics.quantity.unitOfMeasure: 'MARA.MEINS'
sum(stock_qty_l1) as cwesb,
sum(/cwm/stock_qty_l1) as /cwm/cwesb

}

where charg_sid <> ''
  and (sobkz = ''
       and lbbsa_sid = '10')
  
group by mandt,
         matbf,
         werks,
         charg_sid,
         sobkz,
         gjper