I_BE_CADocumentTaxReporting
Belgium Document Tax Reporting
I_BE_CADocumentTaxReporting is a Basic CDS View that provides data about "Belgium Document Tax Reporting" in SAP S/4HANA. It reads from 1 data source (dfkkrep01) and exposes 20 fields with key fields FiscalYear, VATRegistration, BusinessPartner, CompanyCode, TaxCode. It has 6 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| dfkkrep01 | dfkkrep01 | from |
Associations (6)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_BusinessPartner | _BusinessPartner | $projection.BusinessPartner = _BusinessPartner.BusinessPartner |
| [1..1] | I_CADocument | _CADocument | $projection.CADocumentNumber = _CADocument.CADocumentNumber |
| [1..1] | I_CompanyCode | _CompanyCode | $projection.CompanyCode = _CompanyCode.CompanyCode |
| [0..1] | I_Country | _Country | $projection.Country = _Country.Country |
| [1..1] | I_Currency | _CompanyCodeCurrency | $projection.CompanyCodeCurrency = _CompanyCodeCurrency.Currency |
| [1..1] | I_FiscalYearForCompanyCode | _FiscalYear | $projection.FiscalYear = _FiscalYear.FiscalYear and $projection.CompanyCode = _FiscalYear.CompanyCode |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| EndUserText.label | Belgium Document Tax Reporting | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.viewType | #BASIC | view |
Fields (20)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | FiscalYear | Settlement Year | ||
| KEY | VATRegistration | stceg | VAT Reg. No. | |
| KEY | BusinessPartner | gpart | Tech. BPartner | |
| KEY | CompanyCode | bukrs | Value | |
| KEY | TaxCode | mwskz | Tax Code | |
| KEY | CADocumentNumber | opbel | Reopen | |
| CAPostingDate | budat | Posting Date | ||
| Country | land1 | Trip Ctry/Reg | ||
| CAAmountInLocalCurrency | betrh | Local Crcy Amt | ||
| CATaxAmountInLocalCurrency | sbeth | LC Tax | ||
| CompanyCodeCurrency | hwaer | Local Currency | ||
| CADocumentType | blart | Rep. rec. doc. type | ||
| DocumentDate | bldat | Journal Entry Date | ||
| CAReferenceDocument | xblnr | Reference | ||
| _BusinessPartner | _BusinessPartner | |||
| _CADocument | _CADocument | |||
| _CompanyCode | _CompanyCode | |||
| _Country | _Country | |||
| _CompanyCodeCurrency | _CompanyCodeCurrency | |||
| _FiscalYear | _FiscalYear |
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_BE_CADocumentTaxReporting.
-- 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_BE_CADocumentTaxReporting AS
SELECT
cast( gjahr as fis_gjahr_no_conv preserving type ) AS FiscalYear,
stceg AS VATRegistration,
gpart AS BusinessPartner,
bukrs AS CompanyCode,
mwskz AS TaxCode,
opbel AS CADocumentNumber,
budat AS CAPostingDate,
land1 AS Country,
betrh AS CAAmountInLocalCurrency,
sbeth AS CATaxAmountInLocalCurrency,
hwaer AS CompanyCodeCurrency,
blart AS CADocumentType,
bldat AS DocumentDate,
xblnr AS CAReferenceDocument
FROM dfkkrep01
LEFT OUTER JOIN I_BusinessPartner AS _BusinessPartner ON BusinessPartner = _BusinessPartner.BusinessPartner -- association [1..1]
LEFT OUTER JOIN I_CADocument AS _CADocument ON CADocumentNumber = _CADocument.CADocumentNumber -- association [1..1]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode -- association [1..1]
LEFT OUTER JOIN I_Country AS _Country ON Country = _Country.Country -- association [0..1]
LEFT OUTER JOIN I_Currency AS _CompanyCodeCurrency ON CompanyCodeCurrency = _CompanyCodeCurrency.Currency -- association [1..1]
LEFT OUTER JOIN I_FiscalYearForCompanyCode AS _FiscalYear ON FiscalYear = _FiscalYear.FiscalYear AND CompanyCode = _FiscalYear.CompanyCode -- 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