I_CAExtractDocumentHeader
Header Data for FICA Extracted Doc
I_CAExtractDocumentHeader is a Basic CDS View that provides data about "Header Data for FICA Extracted Doc" in SAP S/4HANA. It reads from 1 data source (dfkkko_short) and exposes 16 fields with key fields CompanyCode, FiscalYear, CADocumentNumber. It has 3 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| dfkkko_short | dfkkko_short | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_CompanyCode | _CompCode | $projection.CompanyCode = _CompCode.CompanyCode |
| [0..1] | I_Currency | _Currency | $projection.TransactionCurrency = _Currency.Currency |
| [1..1] | I_CADocumentExtract | _CADocExtract | $projection.CADocumentExtract = _CADocExtract.CADocumentExtract |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Header Data for FICA Extracted Doc | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (16)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | bukrs | Value | |
| KEY | FiscalYear | gjahr | Settlement Year | |
| KEY | CADocumentNumber | Reopen | ||
| TransactionCurrency | Transaction Currency | |||
| DocumentDate | Journal Entry Date | |||
| CAPostingDate | budat | Posting Date | ||
| CADocumentType | blart | Rep. rec. doc. type | ||
| ReferenceDocumentType | Reference Document Type | |||
| OriginalReferenceDocument | awkey | RefKey GJE | ||
| CAReconciliationKey | fikey | Reconcil. Key | ||
| CAReversedDocumentNumber | Reversed Doc. | |||
| CAReversalDocumentNumber | Revers.document | |||
| CADocumentExtract | extract_id | Extract ID | ||
| _CompCode | _CompCode | |||
| _Currency | _Currency | |||
| _CADocExtract | _CADocExtract |
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_CAExtractDocumentHeader.
-- 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_CAExtractDocumentHeader AS
SELECT
bukrs AS CompanyCode,
gjahr AS FiscalYear,
cast(opbel as opbel_gfn_kk preserving type ) AS CADocumentNumber,
cast(waers as fis_rwcur preserving type ) AS TransactionCurrency,
cast(bldat as fis_bldat preserving type ) AS DocumentDate,
budat AS CAPostingDate,
blart AS CADocumentType,
cast(awtyp as fis_awtyp preserving type ) AS ReferenceDocumentType,
awkey AS OriginalReferenceDocument,
fikey AS CAReconciliationKey,
cast(stbel as stbel_gfn_kk preserving type ) AS CAReversedDocumentNumber,
cast(storb as storb_gfn_kk preserving type ) AS CAReversalDocumentNumber,
extract_id AS CADocumentExtract
FROM dfkkko_short
LEFT OUTER JOIN I_CompanyCode AS _CompCode ON CompanyCode = _CompCode.CompanyCode -- association [0..1]
LEFT OUTER JOIN I_Currency AS _Currency ON TransactionCurrency = _Currency.Currency -- association [0..1]
LEFT OUTER JOIN I_CADocumentExtract AS _CADocExtract ON CADocumentExtract = _CADocExtract.CADocumentExtract -- 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