I_ATPResultHeader
ATP Result Header
I_ATPResultHeader is a Basic CDS View that provides data about "ATP Result Header" in SAP S/4HANA. It reads from 1 data source (atp_result_head) and exposes 20 fields with key field ATPCheckUUID. It has 6 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| atp_result_head | atp_result_head | from |
Associations (6)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_ATPResultRequirement | _Requirements | $projection.ATPCheckUUID = _Requirements.ATPCheckUUID |
| [0..1] | I_ABOPVariant | _Variant | $projection.ABOPVariantUUID = _Variant.ABOPVariantUUID |
| [0..1] | I_User | _StartedByUser | $projection.StartedByUser = _StartedByUser.UserID |
| [0..1] | I_ATPResultHeader | _ParentATPCheck | $projection.ParentATPCheckUUID = _ParentATPCheck.ATPCheckUUID |
| [0..1] | I_ABOPVariant | _MasterVariant | $projection.ABOPMasterVariantUUID = _MasterVariant.ABOPVariantUUID |
| [0..1] | I_ATPResultHeader | _ATPCheckSummary | $projection.ParentATPCheckUUID = _ATPCheckSummary.ATPCheckUUID |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | ATP Result Header | view | |
| VDM.viewType | #BASIC | view | |
| AbapCatalog.sqlViewName | IATPRESULTHEADER | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ObjectModel.representativeKey | ATPCheckUUID | view | |
| ObjectModel.compositionRoot | true | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (20)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ATPCheckUUID | cid | Holiday Cal. ID | |
| TransactionCode | appid | Transaction code | ||
| ABOPVariantUUID | variant_uuid | Release Check UUID | ||
| ABOPVariantName | variant_name | Variant Name | ||
| StartedByUser | uname | User Name | ||
| ATPCheckStartUTCDateTime | time_start | TS DT Started | ||
| ATPCheckEndUTCDateTime | time_end | TS DT Completed | ||
| ATPCheckStatus | Workflow Status | |||
| ParentATPCheckUUID | master_variant_cid | Check ID | ||
| ABOPMasterVariantUUID | master_variant_uuid | BOP Variant UUID | ||
| ABOPExecutionMode | simulation | Simulation flag | ||
| ApplicationLogHandle | application_log_hndl | Handle | ||
| ATPCheckSummaryUUID | summary_cid | Check ID | ||
| ATPCheckExecutionOrder | execution_order | Execution Order | ||
| _Requirements | _Requirements | |||
| _Variant | _Variant | |||
| _StartedByUser | _StartedByUser | |||
| _ParentATPCheck | _ParentATPCheck | |||
| _ATPCheckSummary | _ATPCheckSummary | |||
| _MasterVariant | _MasterVariant |
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 I_ATPResultHeader.
-- 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: IATPRESULTHEADER
CREATE VIEW I_ATPResultHeader AS
SELECT
cid AS ATPCheckUUID,
appid AS TransactionCode,
variant_uuid AS ABOPVariantUUID,
variant_name AS ABOPVariantName,
uname AS StartedByUser,
time_start AS ATPCheckStartUTCDateTime,
time_end AS ATPCheckEndUTCDateTime,
cast(status as atp_process_status) AS ATPCheckStatus,
master_variant_cid AS ParentATPCheckUUID,
master_variant_uuid AS ABOPMasterVariantUUID,
simulation AS ABOPExecutionMode,
application_log_hndl AS ApplicationLogHandle,
summary_cid AS ATPCheckSummaryUUID,
execution_order AS ATPCheckExecutionOrder
FROM atp_result_head
LEFT OUTER JOIN I_ATPResultRequirement AS _Requirements ON ATPCheckUUID = _Requirements.ATPCheckUUID -- association [0..*]
LEFT OUTER JOIN I_ABOPVariant AS _Variant ON ABOPVariantUUID = _Variant.ABOPVariantUUID -- association [0..1]
LEFT OUTER JOIN I_User AS _StartedByUser ON StartedByUser = _StartedByUser.UserID -- association [0..1]
LEFT OUTER JOIN I_ATPResultHeader AS _ParentATPCheck ON ParentATPCheckUUID = _ParentATPCheck.ATPCheckUUID -- association [0..1]
LEFT OUTER JOIN I_ABOPVariant AS _MasterVariant ON ABOPMasterVariantUUID = _MasterVariant.ABOPVariantUUID -- association [0..1]
LEFT OUTER JOIN I_ATPResultHeader AS _ATPCheckSummary ON ParentATPCheckUUID = _ATPCheckSummary.ATPCheckUUID -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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