Atpc_Cds_Mdur

DDL: ATPC_CDS_MDUR SQL: ATPC_MDUR Type: view

CDS View on MDUR Table for ATP

Atpc_Cds_Mdur is a CDS View that provides data about "CDS View on MDUR Table for ATP" in SAP S/4HANA. It reads from 2 data sources (resb, reul) and exposes 23 fields.

Data Sources (2)

SourceAliasJoin Type
resb resb inner
reul reul from

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName ATPC_MDUR 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 MDUR Table for ATP view

Fields (23)

KeyFieldSource TableSource FieldDescription
delnr reul rsnum Reservation
delps reul rspos Item no.
atpcat
shkzgwhenHthen1else2endassort1
sort2
mandt reul mandt Editing Client
matnr reul matnr Vehicle Model
werks reul umwrk Receiving plant
lgort resb umlgo Receiving SLoc.
rspos reul rspos Item no.
rsnum reul rsnum Reservation
rsart reul rsart Risk type
bdart resb bdart RequirementType
sskey_ext
atpdate resb bdter Reqmts date
bdmng resb bdmng Threshold value
shkzg resb shkzg Returns
enmng resb enmng Withdrawal Qty
charg resb charg Chargeable Proc.
sgt_rcat resb sgt_rcat Req. Segment
sgt_scat resb sgt_scat Stock Segment
vmeng resb vmeng Received
lifnr resb lifnr Vendor no.

Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.

-- Derived SQL interpretation of CDS view Atpc_Cds_Mdur.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: ATPC_MDUR

CREATE VIEW Atpc_Cds_Mdur AS
SELECT
  reul.rsnum AS delnr,
  reul.rspos AS delps,
  'UL' AS atpcat,
  case resb.shkzg when 'H' then '1' else '2' end as sort1 AS shkzgwhenHthen1else2endassort1,
  '04' AS sort2,
  reul.mandt AS mandt,
  reul.matnr AS matnr,
  reul.umwrk AS werks,
  resb.umlgo AS lgort,
  reul.rspos AS rspos,
  reul.rsnum AS rsnum,
  reul.rsart AS rsart,
  resb.bdart AS bdart,
  '' AS sskey_ext,
  resb.bdter AS atpdate,
  resb.bdmng AS bdmng,
  resb.shkzg AS shkzg,
  resb.enmng AS enmng,
  resb.charg AS charg,
  resb.sgt_rcat AS sgt_rcat,
  resb.sgt_scat AS sgt_scat,
  resb.vmeng AS vmeng,
  resb.lifnr AS lifnr
FROM reul
INNER JOIN resb ON /* join condition not captured in parsed metadata */
;