Atpc_Cds_Union
Union View of relevant docs for ATP BOP
Atpc_Cds_Union is a CDS View that provides data about "Union View of relevant docs for ATP BOP" in SAP S/4HANA. It reads from 2 data sources (Atpc_Cds_Sto, Atpc_Cds_Vbep) and exposes 151 fields with key fields mandt, delnr, delps, delet, atpcat.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| Atpc_Cds_Sto | Atpc_Cds_Sto | union |
| Atpc_Cds_Vbep | Atpc_Cds_Vbep | from |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ATPC_UNION | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Union View of relevant docs for ATP BOP | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (151)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | mandt | mandt | Editing Client | |
| KEY | delnr | delnr | Order No.(OLTP) | |
| KEY | delps | delps | Order Item | |
| KEY | delet | delet | Scheduling | |
| KEY | atpcat | atpcat | MRP Elmnt Ind. | |
| matnr | matnr | Vehicle Model | ||
| werks | werks | Receiving Plant | ||
| berid | berid | Single-Character Flag | ||
| lgort | lgort | Sublocation | ||
| charg | charg | Chargeable Proc. | ||
| bwtar | bwtar | Valuation Type | ||
| sgt_rcat | sgt_rcat | Req. Segment | ||
| sobkz | sobkz | Special Stock | ||
| sskey | sskey | Special Stock | ||
| sskey_ext | sskey_ext | Ext. SSKEY | ||
| group_number | group_number | Line Number | ||
| Group_Type | Group_Type | Task List Type | ||
| fixmg | fixmg | Planned qty | ||
| uepvw | uepvw | Usage HL Item | ||
| uepos | uepos | Higher-Lev.Item | ||
| mtvfp | mtvfp | Avail. check | ||
| abgru | abgru | RejectionReason | ||
| lfsta | lfsta | Delivery Status | ||
| xchar | xchar | HU assignment | ||
| lprio | lprio | Delivery Prior. | ||
| kztlf | kztlf | Part.dlv./item | ||
| antlf | antlf | Max.Part.Deliv. | ||
| webaz | GR Proc. Time | |||
| resmd | resmd | |||
| req_class | req_class | |||
| pstyv | pstyv | Item Category | ||
| bstyp | Source doc.cat. | |||
| bsart | Stnd purch.ord. | |||
| PACDATAmat_avail_date | ||||
| open_reqqty | open_reqqty | |||
| meinsSchedulingDATAvkorg | ||||
| vtweg | vtweg | RefDistCh-Cust/Mat. | ||
| spart | spart | Source supplier | ||
| auart | auart | Sales Doc. Type | ||
| vsbed | vsbed | Shipping Conditions | ||
| vstel | vstel | ShpPtDeparture | ||
| route | route | Vehicle route | ||
| aulwe | aulwe | Route Schedule | ||
| plifz | Plnd Deliv.Time | |||
| tddat | tddat | TranspPlngDate | ||
| tduhr | tduhr | Tr. Plan. Time | ||
| wadat | wadat | Planned Gds Mvmt | ||
| wauhr | wauhr | GI Time | ||
| lddat | lddat | Loading Date | ||
| lduhr | lduhr | Loading Time | ||
| eldat | Planned dates | |||
| eluhr | GR End Time | |||
| vrkmebrgew | ||||
| gewei | gewei | Weight Unit | ||
| kwmeng | kwmeng | Sales Quantity | ||
| uvvlk | uvvlk | Delivery – Item | ||
| fsh_candate | fsh_candate | Cancel Date | ||
| CreationDate | CreationDate | Time Stamp | ||
| LastChangeDate | LastChangeDate | Time Stamp | ||
| ABCDATAsubstitution_status | ||||
| Substn_Numerator | Substn_Numerator | Numerator for Conversion | ||
| Substn_Denominator | Substn_Denominator | Denominator for Conversion | ||
| cuobj | cuobj | Object Number | ||
| cuobj_ch | cuobj_ch | Int.object no. | ||
| rfsta | rfsta | Reference Sts | ||
| bwart | bwart | Valuation Type | ||
| shkzg | shkzg | Returns | ||
| awahr | awahr | Probability | ||
| vbtyp | vbtyp | TSW Det.Doc typ | ||
| stman | stman | Processing status | ||
| TMIntegrationumvkn | ||||
| umvkz | umvkz | Numerator | ||
| lsmeng | lsmeng | Subitem Qty | ||
| volum | volum | Volume | ||
| voleh | voleh | Volume Unit | ||
| ntgew | ntgew | Net Weight | ||
| tm_ctrl_key | tm_ctrl_key | Control Key | ||
| KEY | delnr | delnr | Order No.(OLTP) | |
| KEY | delps | delps | Order Item | |
| KEY | delet | delet | Scheduling | |
| KEY | atpcat | atpcat | MRP Elmnt Ind. | |
| matnr | matnr | Vehicle Model | ||
| werks | werks | Receiving Plant | ||
| berid | Single-Character Flag | |||
| lgort | lgort | Sublocation | ||
| charg | charg | Chargeable Proc. | ||
| bwtar | Valuation Type | |||
| sgt_rcat | sgt_rcat | Req. Segment | ||
| sobkz | sobkz | Special Stock | ||
| sskey | sskey | Special Stock | ||
| sskey_ext | sskey_ext | Ext. SSKEY | ||
| Group_Type | Task List Type | |||
| fixmg | fixmg | Planned qty | ||
| uepvw | Usage HL Item | |||
| uepos | Higher-Lev.Item | |||
| mtvfp | mtvfp | Avail. check | ||
| abgru | RejectionReason | |||
| lfsta | Delivery Status | |||
| xchar | HU assignment | |||
| lprio | lprio | Delivery Prior. | ||
| kztlf | Part.dlv./item | |||
| antlf | Max.Part.Deliv. | |||
| webaz | webaz | GR Proc. Time | ||
| resmd | resmd | |||
| req_class | ||||
| pstyv | Item Category | |||
| bstyp | bstyp | Source doc.cat. | ||
| bsart | bsart | Stnd purch.ord. | ||
| PACDATAmat_avail_date | ||||
| open_reqqty | ||||
| meinsSchedulingDATAvkorg | ||||
| vtweg | vtweg | RefDistCh-Cust/Mat. | ||
| spart | spart | Source supplier | ||
| auart | Sales Doc. Type | |||
| vsbed | vsbed | Shipping Conditions | ||
| vstel | vstel | ShpPtDeparture | ||
| Route | Route | Vehicle route | ||
| aulwe | aulwe | Route Schedule | ||
| plifz | plifz | Plnd Deliv.Time | ||
| tddat | tddat | TranspPlngDate | ||
| tduhr | tduhr | Tr. Plan. Time | ||
| wadat | wadat | Planned Gds Mvmt | ||
| wauhr | wauhr | GI Time | ||
| lddat | lddat | Loading Date | ||
| lduhr | lduhr | Loading Time | ||
| eldat | eldat | Planned dates | ||
| eluhr | eluhr | GR End Time | ||
| lmeinbrgew | ||||
| gewei | gewei | Weight Unit | ||
| kwmeng | kwmeng | Sales Quantity | ||
| UVVLK | ||||
| FSH_CANDATE | ||||
| CreationDate | CreationDate | Time Stamp | ||
| LastChangeDate | LastChangeDate | Time Stamp | ||
| Substn_Numerator | Numerator for Conversion | |||
| Substn_Denominator | Denominator for Conversion | |||
| cuobj | Object Number | |||
| cuobj_ch | Int.object no. | |||
| rfsta | Reference Sts | |||
| bwart | Valuation Type | |||
| shkzg | Returns | |||
| awahr | Probability | |||
| RFDYDATAreceiving_werks | ||||
| vbtyp | TSW Det.Doc typ | |||
| stman | Processing status | |||
| umvkz | Numerator | |||
| lsmeng | Subitem Qty | |||
| volum | Volume | |||
| voleh | Volume Unit | |||
| ntgew | Net Weight | |||
| tm_ctrl_key | tm_ctrl_key | Control Key |
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_Union.
-- 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_UNION
CREATE VIEW Atpc_Cds_Union AS
SELECT
mandt,
delnr,
delps,
delet,
atpcat,
matnr,
werks,
berid,
lgort,
charg,
bwtar,
sgt_rcat,
sobkz,
sskey,
sskey_ext,
group_number,
Group_Type,
fixmg,
uepvw,
uepos,
mtvfp,
abgru,
lfsta,
xchar,
lprio,
kztlf,
antlf,
cast('0' as webaz) AS webaz,
resmd,
req_class,
pstyv,
cast('' as ebstyp preserving type) AS bstyp,
cast('' as esart) AS bsart,
open_reqqty,
vtweg,
spart,
auart,
vsbed,
vstel,
route,
aulwe,
cast(0 as eplif) AS plifz,
tddat,
tduhr,
wadat,
wauhr,
lddat,
lduhr,
cast('00000000' as eldat) AS eldat,
cast('000000' as eluhr) AS eluhr,
gewei,
kwmeng,
uvvlk,
fsh_candate,
CreationDate,
LastChangeDate,
Substn_Numerator,
Substn_Denominator,
cuobj,
cuobj_ch,
rfsta,
bwart,
shkzg,
awahr,
vbtyp,
stman,
umvkz,
lsmeng,
volum,
voleh,
ntgew,
tm_ctrl_key
FROM Atpc_Cds_Vbep
-- UNION with additional select branch(es): Atpc_Cds_Sto
;
Learn More
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA