V_ML_ACDOC_EX_UL_DDL

CDS View

Aggr. Ultimo lines for ACDOCA_M_EXTRACT

V_ML_ACDOC_EX_UL_DDL is a CDS View in S/4HANA. Aggr. Ultimo lines for ACDOCA_M_EXTRACT. 1 CDS views read from this table.

CDS Views using this table (1)

ViewTypeJoinVDMDescription
Mbv_Mbew_Mother_Segment view left_outer View for MBEW Mother Segments
@AbapCatalog.sqlViewName: 'V_ML_ACDOC_EX_UL'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true 
@EndUserText.label: 'Aggr. Ultimo lines for ACDOCA_M_EXTRACT'
@ClientHandling.type: #INHERITED
@ClientHandling.algorithm: #AUTOMATED
@Metadata.ignorePropagatedAnnotations: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ObjectModel.usageType.serviceQuality: #B
@ObjectModel.usageType.sizeCategory: #XL
@ObjectModel.usageType.dataClass: #TRANSACTIONAL

define view V_ML_ACDOC_EX_UL_DDL
  as

  select from  acdoca_m_extract
  
    inner join fmlv_logistic_currency as mapp on(     acdoca_m_extract.rbukrs = mapp.bukrs
                                                  and acdoca_m_extract.rclnt  = mapp.mandt )
  
{
  key acdoca_m_extract.rclnt,
  key acdoca_m_extract.rldnr,
  key acdoca_m_extract.rbukrs,
  key acdoca_m_extract.kalnr,

      acdoca_m_extract.matnr,
      acdoca_m_extract.bwkey,
      acdoca_m_extract.bwtar,
      acdoca_m_extract.ml_sobkz,
      acdoca_m_extract.ml_kdauf,
      acdoca_m_extract.ml_kdpos,
      acdoca_m_extract.ml_lifnr,
      acdoca_m_extract.ml_pspnr,

      sum(acdoca_m_extract.vmsl)   as vmsl,
      sum(acdoca_m_extract.hsl)    as hsl,
      sum(acdoca_m_extract.hvkwrt) as hvkwrt
}

where
      fiscyearper            = '9999999'
  and ryear                  = '9999'
  and poper                  = '999'
  and acdoca_m_extract.rldnr = mapp.rldnr

group by
  rclnt,
  acdoca_m_extract.rldnr,
  acdoca_m_extract.rbukrs,
  kalnr,
  matnr,
  bwkey,
  bwtar,
  ml_sobkz,
  ml_kdauf,
  ml_kdpos,
  ml_lifnr,
  ml_pspnr 
  
 /*+[internal] {
"BASEINFO":
{
"FROM":
[
"FMLV_LOGISTIC_CURRENCY",
"ACDOCA_M_EXTRACT"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/