/APE/I_TransHeader_TP
Transaction Header
/APE/I_TransHeader_TP is a Transactional CDS View that provides data about "Transaction Header" in SAP S/4HANA. It reads from 1 data source (/APE/I_TransHeader) and exposes 37 fields with key field db_key. It has 3 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| /APE/I_TransHeader | /APE/I_TransHeader | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | /APE/I_TransBOHeader_TP | _bo_header | $projection.db_key = _bo_header.parent_key |
| [0..*] | /APE/I_TransLink_TP | _TransLink | $projection.db_key = _TransLink.parent_key |
| [1..1] | /APE/E_TransHeader_TP | _Extension | $projection.db_key = _Extension.db_key |
Annotations (17)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | /APE/I_TRHDR | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Transaction Header | view | |
| ObjectModel.modelCategory | #BUSINESS_OBJECT | view | |
| ObjectModel.compositionRoot | true | view | |
| ObjectModel.transactionalProcessingEnabled | true | view | |
| ObjectModel.writeActivePersistence | /APE/TRHDR | view | |
| ObjectModel.createEnabled | true | view | |
| ObjectModel.updateEnabled | true | view | |
| ObjectModel.deleteEnabled | true | view | |
| ObjectModel.entityChangeStateId | changed_at | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (37)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | db_key | db_key | UUID | |
| trans_doc_no | trans_doc_no | Transport Doc No | ||
| client_uuid | client_uuid | |||
| trans_tstmp | trans_tstmp | |||
| trans_status | trans_status | Translation | ||
| trans_direct | trans_direct | |||
| aggr_type | aggr_type | |||
| sender_id | sender_id | Statement Sender ID | ||
| sender_cl_id | sender_cl_id | |||
| receiver_id | receiver_id | Recipient | ||
| payload_ext | payload_ext | |||
| payload_int | payload_int | |||
| asynchronous | asynchronous | |||
| execute_prio | execute_prio | |||
| auth_grp | auth_grp | AuthorizGroup | ||
| log_level | log_level | Problem Class | ||
| blocked | blocked | Complaint Locked | ||
| test | test | Test | ||
| bo_status | bo_status | |||
| tech_msg_id | tech_msg_id | |||
| bus_msg_id | bus_msg_id | |||
| com_acc_uuid | com_acc_uuid | |||
| doc_tags | doc_tags | |||
| doc_size | doc_size | |||
| bo_ext_uuid | bo_ext_uuid | |||
| response_cat | response_cat | |||
| service_type | service_type | Type of Ext. Service | ||
| proc_cluster | proc_cluster | |||
| archived | archived | Indicators | ||
| compressed | compressed | Compressed father | ||
| created_at | created_at | Uploaded On | ||
| created_by | created_by | Version Created By | ||
| changed_at | changed_at | Timestamp | ||
| changed_by | changed_by | User Name | ||
| _dataaging | _dataaging | Data Aging | ||
| _bo_header | _bo_header | |||
| _TransLink | _TransLink |
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/I_TransHeader_TP.
-- 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/I_TransHeader_TP AS
SELECT
db_key,
trans_doc_no,
client_uuid,
trans_tstmp,
trans_status,
trans_direct,
aggr_type,
sender_id,
sender_cl_id,
receiver_id,
payload_ext,
payload_int,
asynchronous,
execute_prio,
auth_grp,
log_level,
blocked,
test,
bo_status,
tech_msg_id,
bus_msg_id,
com_acc_uuid,
doc_tags,
doc_size,
bo_ext_uuid,
response_cat,
service_type,
proc_cluster,
archived,
compressed,
created_at,
created_by,
changed_at,
changed_by
FROM /APE/I_TransHeader
LEFT OUTER JOIN /APE/I_TransBOHeader_TP AS _bo_header ON db_key = _bo_header.parent_key -- association [0..*]
LEFT OUTER JOIN /APE/I_TransLink_TP AS _TransLink ON db_key = _TransLink.parent_key -- association [0..*]
LEFT OUTER JOIN /APE/E_TransHeader_TP AS _Extension ON db_key = _Extension.db_key -- association [1..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