/APE/C_TRANS_HDR_BO
Trans Header and BO Header
/APE/C_TRANS_HDR_BO is a Consumption CDS View that provides data about "Trans Header and BO Header" in SAP S/4HANA. It reads from 1 data source (/APE/C_TransBOHeader) and exposes 23 fields with key field trans_uuid. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| /APE/C_TransBOHeader | /APE/C_TransBOHeader | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | /APE/C_TransHeader | _trans_header | $projection.trans_uuid = _trans_header.trans_uuid |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | /APE/C_TRHDRBO | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Trans Header and BO Header | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view |
Fields (23)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | trans_uuid | trans_uuid | UUID | |
| trans_status | _trans_header | trans_status | Translation | |
| trans_direct | _trans_header | trans_direct | ||
| sender_id | _trans_header | sender_id | Statement Sender ID | |
| receiver_id | _trans_header | receiver_id | Recipient | |
| trans_tstmp | _trans_header | trans_tstmp | ||
| trans_date | ||||
| status_date | ||||
| create_date | ||||
| change_date | ||||
| trans_doc_no | _trans_header | trans_doc_no | Transport Doc No | |
| com_acc_uuid | com_acc_uuid | |||
| blocked | blocked | Complaint Locked | ||
| tech_msg_id | tech_msg_id | |||
| bus_msg_id | bus_msg_id | |||
| proc_cluster | proc_cluster | |||
| auth_grp | _trans_header | auth_grp | AuthorizGroup | |
| client_uuid | _trans_header | client_uuid | ||
| archived | _trans_header | archived | Indicators | |
| compressed | _trans_header | compressed | Compressed father | |
| log_level | _trans_header | log_level | Problem Class | |
| created_at | _trans_header | created_at | Uploaded On | |
| changed_at | _trans_header | changed_at | Timestamp |
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_TRANS_HDR_BO.
-- 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: /APE/C_TRHDRBO
CREATE VIEW /APE/C_TRANS_HDR_BO AS
SELECT
trans_uuid,
_trans_header.trans_status AS trans_status,
_trans_header.trans_direct AS trans_direct,
_trans_header.sender_id AS sender_id,
_trans_header.receiver_id AS receiver_id,
_trans_header.trans_tstmp AS trans_tstmp,
tstmp_to_dats(_trans_header.trans_tstmp, 'UTC', $session.client, 'NULL' ) AS trans_date,
tstmp_to_dats(_trans_header.trans_status_tstmp, 'UTC', $session.client, 'NULL' ) AS status_date,
tstmp_to_dats(_trans_header.created_at, 'UTC', $session.client, 'NULL' ) AS create_date,
tstmp_to_dats(_trans_header.changed_at, 'UTC', $session.client, 'NULL' ) AS change_date,
_trans_header.trans_doc_no AS trans_doc_no,
com_acc_uuid,
blocked,
tech_msg_id,
bus_msg_id,
proc_cluster,
_trans_header.auth_grp AS auth_grp,
_trans_header.client_uuid AS client_uuid,
_trans_header.archived AS archived,
_trans_header.compressed AS compressed,
_trans_header.log_level AS log_level,
_trans_header.created_at AS created_at,
_trans_header.changed_at AS changed_at
FROM /APE/C_TransBOHeader
LEFT OUTER JOIN /APE/C_TransHeader AS _trans_header ON trans_uuid = _trans_header.trans_uuid -- 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