I_CashDocumentChainTraceResult
Flow Builder Traceability Result
I_CashDocumentChainTraceResult is a Basic CDS View that provides data about "Flow Builder Traceability Result" in SAP S/4HANA. It reads from 1 data source (fclm_fb2_trcrt) and exposes 59 fields with key field ChainResultUUID. It has 17 associations to related views. Part of development package FCLM_REUSE.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| fclm_fb2_trcrt | fclm_fb2_trcrt | from |
Associations (17)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_CashChainTrace | _Trace | $projection.ChainTraceUUID = _Trace.ChainTraceUUID |
| [0..1] | I_CashDocumentChainTraceResult | _Parent | $projection.ChainTraceUUID = _Parent.ChainTraceUUID and $projection.ParentStep = _Parent.DocumentChainCurrentStep |
| [0..1] | I_CompanyCode | _CompanyCode | $projection.CompanyCode = _CompanyCode.CompanyCode |
| [0..*] | I_LiquidityItemText | _LiquidityItemText | $projection.LiquidityItem = _LiquidityItemText.LiquidityItem |
| [0..1] | I_Currency | _TransactionCurrency | $projection.TransactionCurrency = _TransactionCurrency.Currency |
| [0..1] | I_Currency | _CompanyCodeCurrency | $projection.CompanyCodeCurrency = _CompanyCodeCurrency.Currency |
| [0..*] | I_OffsettingTypeText | _OffsettingTypeText | $projection.OffsettingType = _OffsettingTypeText.OffsettingType |
| [0..*] | I_CashGLClassificationText | _GLClassificationText | $projection.GeneralLedgerClassification = _GLClassificationText.GeneralLedgerClassification |
| [0..*] | I_StepNameText | _StepNameText | $projection.DocumentChainInternalStep = _StepNameText.DocumentChainInternalStep |
| [0..*] | I_GlAccountTextInCompanycode | _Account | $projection.GLAccount = _Account.GLAccount and $projection.CompanyCode = _Account.CompanyCode |
| [0..1] | I_BankAccount | _BankAccount | $projection.BankAccountInternalID = _BankAccount.BankAccountInternalID |
| [0..1] | I_Customer | _Customer | $projection.Customer = _Customer.Customer |
| [0..1] | I_Supplier | _Supplier | $projection.Supplier = _Supplier.Supplier |
| [0..1] | I_CompanyCode | _AssignedCompanyCode | $projection.AssignedCompanyCode = _AssignedCompanyCode.CompanyCode |
| [0..1] | I_CompanyCode | _PartnerCompany | $projection.PartnerCompany = _PartnerCompany.CompanyCode |
| [0..*] | I_MaterialText | _Material | $projection.Material = _Material.Material |
| [0..*] | I_BusinessAreaText | _BusinessArea | $projection.BusinessArea = _BusinessArea.BusinessArea |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Flow Builder Traceability Result | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.viewType | #BASIC | view |
Fields (59)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ChainResultUUID | result_uuid | UUID | |
| DocumentChainCurrentStep | current_step | c | ||
| ChainTraceUUID | trace_uuid | UUID | ||
| ParentStep | parent_step | c | ||
| CompanyCode | bukrs | Value | ||
| FiscalYear | gjahr | Settlement Year | ||
| AccountingDocument | belnr | SD Document | ||
| AccountingDocumentItem | Posting View Item | |||
| GeneralLedgerClassification | fkont | Fin.Budget | ||
| OffsettingType | forward_type | |||
| AmountInCompanyCodeCurrency | paired_dmbtr | Amount in Company Code Currency | ||
| CompanyCodeCurrency | hwaer | Local Currency | ||
| AmountInTransactionCurrency | paired_wmbtr | Amount in Transaction Currency | ||
| TransactionCurrency | waers | Transaction Currency | ||
| CashDocumentChainStep | chain_step | Chain Step | ||
| CashFlowIsFinal | is_final | Final App | ||
| CashProductType | trm_product_type | Product Type | ||
| FinancialTransactionType | trm_transaction_type | Transactn Type | ||
| TreasuryActivityCategory | trm_activity_category | Activity Cat. | ||
| SecurityClass | trm_security_id | Security Class | ||
| SecurityAccount | trm_security_account | Securities Acct | ||
| Portfolio | trm_portfolio | Portfolio | ||
| CashContractNumber | contract_number | Un. Contr No. | ||
| GLAccount | fi_account | G/L Acct | ||
| HouseBank | house_bank | House Bank | ||
| HouseBankAccount | house_bank_account | Account ID | ||
| BankAccountInternalID | bank_account_id | Technical ID | ||
| Customer | customer_number | Customer | ||
| Supplier | vendor_number | Supplier | ||
| Partner | partner | With Partner | ||
| Material | material | Vehicle Model | ||
| BusinessArea | business_area | Business Area | ||
| ProfitCenter | profit_center | Profit Center | ||
| CostCenter | cost_center | Posted Cost Center | ||
| PartnerCompany | trading_partner | Trading Partner | ||
| LiquidityItem | liquidity_item | Liquidity Item | ||
| Segment | segment | Segment number | ||
| AssignedCompanyCode | Company Code | |||
| DocumentReferenceID | internal_reference | Internal Ref. | ||
| CashCharacteristic | characteristics | Characteristics | ||
| AssignmentReference | assignment | Assignment | ||
| LocalLastChangedAtDateTime | local_last_changed_at | Time Stamp | ||
| _Parent | _Parent | |||
| _Trace | _Trace | |||
| _CompanyCode | _CompanyCode | |||
| _LiquidityItemText | _LiquidityItemText | |||
| _TransactionCurrency | _TransactionCurrency | |||
| _CompanyCodeCurrency | _CompanyCodeCurrency | |||
| _GLClassificationText | _GLClassificationText | |||
| _OffsettingTypeText | _OffsettingTypeText | |||
| _StepNameText | _StepNameText | |||
| _BankAccount | _BankAccount | |||
| _Customer | _Customer | |||
| _Supplier | _Supplier | |||
| _AssignedCompanyCode | _AssignedCompanyCode | |||
| _Material | _Material | |||
| _Account | _Account | |||
| _BusinessArea | _BusinessArea | |||
| _PartnerCompany | _PartnerCompany |
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_CashDocumentChainTraceResult.
-- 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_CashDocumentChainTraceResult AS
SELECT
result_uuid AS ChainResultUUID,
current_step AS DocumentChainCurrentStep,
trace_uuid AS ChainTraceUUID,
parent_step AS ParentStep,
bukrs AS CompanyCode,
gjahr AS FiscalYear,
belnr AS AccountingDocument,
cast( buzei as fqm_buzei preserving type ) AS AccountingDocumentItem,
fkont AS GeneralLedgerClassification,
forward_type AS OffsettingType,
paired_dmbtr AS AmountInCompanyCodeCurrency,
hwaer AS CompanyCodeCurrency,
paired_wmbtr AS AmountInTransactionCurrency,
waers AS TransactionCurrency,
chain_step AS CashDocumentChainStep,
is_final AS CashFlowIsFinal,
trm_product_type AS CashProductType,
trm_transaction_type AS FinancialTransactionType,
trm_activity_category AS TreasuryActivityCategory,
trm_security_id AS SecurityClass,
trm_security_account AS SecurityAccount,
trm_portfolio AS Portfolio,
contract_number AS CashContractNumber,
fi_account AS GLAccount,
house_bank AS HouseBank,
house_bank_account AS HouseBankAccount,
bank_account_id AS BankAccountInternalID,
customer_number AS Customer,
vendor_number AS Supplier,
Partner,
Material,
business_area AS BusinessArea,
profit_center AS ProfitCenter,
cost_center AS CostCenter,
trading_partner AS PartnerCompany,
liquidity_item AS LiquidityItem,
Segment,
cast( assigned_company_code as fqm_assigned_company_code preserving type ) AS AssignedCompanyCode,
internal_reference AS DocumentReferenceID,
characteristics AS CashCharacteristic,
assignment AS AssignmentReference,
local_last_changed_at AS LocalLastChangedAtDateTime
FROM fclm_fb2_trcrt
LEFT OUTER JOIN I_CashChainTrace AS _Trace ON ChainTraceUUID = _Trace.ChainTraceUUID -- association [1..1]
LEFT OUTER JOIN I_CashDocumentChainTraceResult AS _Parent ON ChainTraceUUID = _Parent.ChainTraceUUID AND ParentStep = _Parent.DocumentChainCurrentStep -- association [0..1]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode -- association [0..1]
LEFT OUTER JOIN I_LiquidityItemText AS _LiquidityItemText ON LiquidityItem = _LiquidityItemText.LiquidityItem -- association [0..*]
LEFT OUTER JOIN I_Currency AS _TransactionCurrency ON TransactionCurrency = _TransactionCurrency.Currency -- association [0..1]
LEFT OUTER JOIN I_Currency AS _CompanyCodeCurrency ON CompanyCodeCurrency = _CompanyCodeCurrency.Currency -- association [0..1]
LEFT OUTER JOIN I_OffsettingTypeText AS _OffsettingTypeText ON OffsettingType = _OffsettingTypeText.OffsettingType -- association [0..*]
LEFT OUTER JOIN I_CashGLClassificationText AS _GLClassificationText ON GeneralLedgerClassification = _GLClassificationText.GeneralLedgerClassification -- association [0..*]
LEFT OUTER JOIN I_StepNameText AS _StepNameText ON DocumentChainInternalStep = _StepNameText.DocumentChainInternalStep -- association [0..*]
LEFT OUTER JOIN I_GlAccountTextInCompanycode AS _Account ON GLAccount = _Account.GLAccount AND CompanyCode = _Account.CompanyCode -- association [0..*]
LEFT OUTER JOIN I_BankAccount AS _BankAccount ON BankAccountInternalID = _BankAccount.BankAccountInternalID -- association [0..1]
LEFT OUTER JOIN I_Customer AS _Customer ON Customer = _Customer.Customer -- association [0..1]
LEFT OUTER JOIN I_Supplier AS _Supplier ON Supplier = _Supplier.Supplier -- association [0..1]
LEFT OUTER JOIN I_CompanyCode AS _AssignedCompanyCode ON AssignedCompanyCode = _AssignedCompanyCode.CompanyCode -- association [0..1]
LEFT OUTER JOIN I_CompanyCode AS _PartnerCompany ON PartnerCompany = _PartnerCompany.CompanyCode -- association [0..1]
LEFT OUTER JOIN I_MaterialText AS _Material ON Material = _Material.Material -- association [0..*]
LEFT OUTER JOIN I_BusinessAreaText AS _BusinessArea ON BusinessArea = _BusinessArea.BusinessArea -- 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