I_CashChainTrace
Flow Builder Traceability
I_CashChainTrace is a Basic CDS View that provides data about "Flow Builder Traceability" in SAP S/4HANA. It reads from 1 data source (fclm_fb2_trace) and exposes 18 fields with key field ChainTraceUUID. It has 3 associations to related views. Part of development package FCLM_REUSE.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| fclm_fb2_trace | fclm_fb2_trace | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_CashDocumentChainTraceResult | _Result | $projection.ChainTraceUUID = _Result.ChainTraceUUID |
| [0..1] | I_CompanyCode | _CompanyCode | $projection.CompanyCode = _CompanyCode.CompanyCode |
| [0..*] | I_JobStatusText | _JobStatusText | $projection.ApplicationJobStatus = _JobStatusText.ApplicationJobStatus |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Flow Builder Traceability | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.viewType | #BASIC | view |
Fields (18)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ChainTraceUUID | trace_uuid | UUID | |
| CompanyCode | origin_bukrs | Company Code | ||
| FiscalYear | origin_gjahr | Fiscal Year | ||
| AccountingDocument | origin_belnr | Journal Entry | ||
| ApplicationJobName | job_name | Job No. | ||
| ApplicationJob | job_count | Job No. | ||
| ApplicationJobStatus | job_status | Job status | ||
| DocumentChainTraceLog | trace_log | External ID | ||
| ExpirationDate | expiration_date | Valid To | ||
| ExpiredAt | Timestamp | |||
| LocalCreatedBy | local_created_by | Created By | ||
| LocalCreatedAtDateTime | local_created_at | Created On | ||
| LocalLastChangedBy | local_last_changed_by | User Name | ||
| LocalLastChangedAtDateTime | local_last_changed_at | Time Stamp | ||
| LastChangedAtDateTime | last_changed_at | Timestamp | ||
| _Result | _Result | |||
| _CompanyCode | _CompanyCode | |||
| _JobStatusText | _JobStatusText |
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_CashChainTrace.
-- 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 I_CashChainTrace AS
SELECT
trace_uuid AS ChainTraceUUID,
origin_bukrs AS CompanyCode,
origin_gjahr AS FiscalYear,
origin_belnr AS AccountingDocument,
job_name AS ApplicationJobName,
job_count AS ApplicationJob,
job_status AS ApplicationJobStatus,
trace_log AS DocumentChainTraceLog,
expiration_date AS ExpirationDate,
tstmp_seconds_between( tstmp_current_utctimestamp(), tstmp_add_seconds(cast(last_changed_at as abap.dec(15, 0)), cast( expired_at *3600 as abap.dec( 15, 0) ), 'INITIAL'), 'INITIAL') AS ExpiredAt,
local_created_by AS LocalCreatedBy,
local_created_at AS LocalCreatedAtDateTime,
local_last_changed_by AS LocalLastChangedBy,
local_last_changed_at AS LocalLastChangedAtDateTime,
last_changed_at AS LastChangedAtDateTime
FROM fclm_fb2_trace
LEFT OUTER JOIN I_CashDocumentChainTraceResult AS _Result ON ChainTraceUUID = _Result.ChainTraceUUID -- association [0..*]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode -- association [0..1]
LEFT OUTER JOIN I_JobStatusText AS _JobStatusText ON ApplicationJobStatus = _JobStatusText.ApplicationJobStatus -- association [0..*]
;
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