I_CADocumentExtract

DDL: I_CADOCUMENTEXTRACT Type: view_entity BASIC

FICA Documents for Extracts

I_CADocumentExtract is a Basic CDS View that provides data about "FICA Documents for Extracts" in SAP S/4HANA. It reads from 1 data source (dfkk_doc_extr) and exposes 5 fields with key field CADocumentExtract. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
dfkk_doc_extr dfkk_doc_extr from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_CompanyCode _CompCode $projection.CompanyCode = _CompCode.CompanyCode
[1..1] I_Currency _CompanyCodeCurrency $projection.CompanyCodeCurrency = _CompanyCodeCurrency.Currency

Annotations (8)

NameValueLevelField
EndUserText.label FICA Documents for Extracts view
VDM.viewType #BASIC view
ObjectModel.representativeKey CADocumentExtract 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 (5)

KeyFieldSource TableSource FieldDescription
KEY CADocumentExtract extract_id Extract ID
CompanyCode bukrs Value
CompanyCodeCurrency Transaction Currency
_CompCode _CompCode
_CompanyCodeCurrency _CompanyCodeCurrency

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_CADocumentExtract.
-- 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_CADocumentExtract AS
SELECT
  extract_id AS CADocumentExtract,
  bukrs AS CompanyCode,
  cast(waers as fis_hwaer preserving type ) AS CompanyCodeCurrency
FROM dfkk_doc_extr
LEFT OUTER JOIN I_CompanyCode AS _CompCode ON CompanyCode = _CompCode.CompanyCode  -- association [0..1]
LEFT OUTER JOIN I_Currency AS _CompanyCodeCurrency ON CompanyCodeCurrency = _CompanyCodeCurrency.Currency  -- association [1..1]
;