/APE/C_ExceptionHeader

DDL: /APE/C_EXCEPTIONHEADER Type: view CONSUMPTION

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)

SourceAliasJoin Type
/APE/I_ExceptionHeader_TP /APE/I_ExceptionHeader_TP from

Associations (5)

CardinalityTargetAliasCondition
[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)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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]
;