/APE/C_ExceptionHeader
Exception Header
/APE/C_ExceptionHeader is a Consumption CDS View that provides data about "Exception Header" in SAP S/4HANA. It reads from 1 data source (/APE/I_ExceptionHeader_TP) and exposes 30 fields with key field excp_uuid. It has 5 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| /APE/I_ExceptionHeader_TP | /APE/I_ExceptionHeader_TP | from |
Associations (5)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | /APE/C_ExceptionParameter | _ExcpPara | $projection.excp_uuid = _ExcpPara.excp_uuid |
| [0..*] | /APE/C_ExceptionSolution | _ExcpSolv | $projection.excp_uuid = _ExcpSolv.excp_uuid |
| [0..*] | /APE/C_EXCEPTIONLINKBO | _ExcpLinkBO | $projection.excp_uuid = _ExcpLinkBO.excp_uuid |
| [0..1] | /APE/C_ExceptionCode | _ExcpCode | $projection.excp_config_uuid = _ExcpCode.config_key |
| [0..1] | /APE/I_ProcessDocument_Cluster | _ProcDoc | $projection.bo_uuid = _ProcDoc.proc_uuid and $projection.bo_type = 'PDoc' |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | /APE/C_EXCPHDR | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Exception Header | view | |
| VDM.viewType | #CONSUMPTION | view |
Fields (30)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | excp_uuid | db_key | UUID | |
| excp_doc_no | excp_doc_no | |||
| client_uuid | client_uuid | |||
| com_acc_uuid | com_acc_uuid | |||
| excp_code | excp_code | |||
| proc_cluster | ||||
| excp_status | excp_status | |||
| bus_status | bus_status | |||
| bo_type | bo_type | SOT Name | ||
| bo_uuid | bo_uuid | |||
| owner_uuid | owner_uuid | |||
| bo_character | bo_character | |||
| priority | priority | Workflow priority | ||
| processor | processor | User Name | ||
| note | note | TradeRequest Comment | ||
| remote | remote | Remote possible | ||
| test | test | Test | ||
| blocked | blocked | Complaint Locked | ||
| auth_grp | auth_grp | AuthorizGroup | ||
| archived | archived | Indicators | ||
| log_level | log_level | Problem Class | ||
| created_at | created_at | Uploaded On | ||
| created_by | created_by | Version Created By | ||
| changed_at | changed_at | Timestamp | ||
| changed_by | changed_by | User Name | ||
| _ExcpSolv | _ExcpSolv | |||
| _ExcpPara | _ExcpPara | |||
| _ExcpLinkBO | _ExcpLinkBO | |||
| _ExcpCode | _ExcpCode | |||
| PDoc_CLuster | _ProcDoc | PDoc_CLuster |
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 /APE/C_ExceptionHeader.
-- 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.
CREATE VIEW /APE/C_ExceptionHeader AS
SELECT
db_key AS excp_uuid,
excp_doc_no,
client_uuid,
com_acc_uuid,
excp_code,
coalesce( proc_cluster, 'APE' ) AS proc_cluster,
excp_status,
bus_status,
bo_type,
bo_uuid,
owner_uuid,
bo_character,
priority,
processor,
note,
remote,
test,
blocked,
auth_grp,
archived,
log_level,
created_at,
created_by,
changed_at,
changed_by,
_ProcDoc.PDoc_CLuster AS PDoc_CLuster
FROM /APE/I_ExceptionHeader_TP
LEFT OUTER JOIN /APE/C_ExceptionParameter AS _ExcpPara ON excp_uuid = _ExcpPara.excp_uuid -- association [0..*]
LEFT OUTER JOIN /APE/C_ExceptionSolution AS _ExcpSolv ON excp_uuid = _ExcpSolv.excp_uuid -- association [0..*]
LEFT OUTER JOIN /APE/C_EXCEPTIONLINKBO AS _ExcpLinkBO ON excp_uuid = _ExcpLinkBO.excp_uuid -- association [0..*]
LEFT OUTER JOIN /APE/C_ExceptionCode AS _ExcpCode ON excp_config_uuid = _ExcpCode.config_key -- association [0..1]
LEFT OUTER JOIN /APE/I_ProcessDocument_Cluster AS _ProcDoc ON bo_uuid = _ProcDoc.proc_uuid AND bo_type = 'PDoc' -- 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