Atpc_Cds_Resb_D

DDL: ATPC_CDS_RESB_D SQL: ATPC_RESB_D Type: view

CDS View on RESB for Reading of Own Deltas in ATP

Atpc_Cds_Resb_D is a CDS View that provides data about "CDS View on RESB for Reading of Own Deltas in ATP" in SAP S/4HANA. It reads from 1 data source (resb) and exposes 21 fields.

Data Sources (1)

SourceAliasJoin Type
resb resb from

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName ATPC_RESB_D view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MIXED view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.compiler.compareFilter true view
EndUserText.label CDS View on RESB for Reading of Own Deltas in ATP view

Fields (21)

KeyFieldSource TableSource FieldDescription
delnr
delps rspos
matnr matnr
werks werks
lgort lgort
charg charg
sobkz sobkz
kdauf kdauf
kdpos kdpos
pspel pspel
lifnr lifnr
bdart bdart
umwrk umwrk
umlgo umlgo
umsok umsok
atpdate bdter
shkzg shkzg
bdmng bdmng
enmng enmng
vmeng vmeng
xwaok xwaok
@AbapCatalog.sqlViewName: 'ATPC_RESB_D'
@ObjectModel.usageType: {
    serviceQuality: #X,
    sizeCategory: #XXL,
    dataClass: #MIXED
}
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@AbapCatalog.compiler.compareFilter: true
@EndUserText.label: 'CDS View on RESB for Reading of Own Deltas in ATP'
define view Atpc_Cds_Resb_D
  as select from resb

  // should not be used anymore


{
  //  key the single select

  cast (rsnum as delnr) as delnr,
  rspos                 as delps,
  case when bdart = 'AR' and xwaok = 'X' then 'WR'
       else bdart end   as atpcat, // rsart????????

  //  key for mass select

  matnr                 as matnr,
  werks                 as werks,
  lgort                 as lgort,
  charg                 as charg,
  sobkz                 as sobkz,
  kdauf                 as kdauf,
  kdpos                 as kdpos,
  pspel                 as pspel,
  lifnr                 as lifnr,
  //  ATP Data

  bdart                 as bdart,
  umwrk                 as umwrk,
  umlgo                 as umlgo,
  umsok                 as umsok,
  bdter                 as atpdate,
  shkzg                 as shkzg,
  bdmng                 as bdmng,
  enmng                 as enmng,
  vmeng                 as vmeng,
  //  for check against customizing / masterdata

  //    bdart  as bdart,

  xwaok                 as xwaok
}
where
       resb.xloek   = ''
  and  resb.kzear   = ''
  and

       resb.bdmng   > resb.enmng
  and  resb.dumps   = ''
  and  resb.no_disp = ''
  and

       resb.txtps   = ''
  and  resb.schgt   = ''
  and  resb.dbskz   = ''
  and(
       resb.vorab   is null
    or resb.vorab   = ''
  );
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"RESB"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/