I_TaxReportingDateStRpActivity

DDL: I_TAXREPORTINGDATESTRPACTIVITY SQL: ISTRPTAXREPDTLOG Type: view BASIC

Tax Reporting Date Log

I_TaxReportingDateStRpActivity is a Basic CDS View that provides data about "Tax Reporting Date Log" in SAP S/4HANA. It reads from 1 data source (figld_taxdoc_log) and exposes 13 fields with key fields CompanyCode, AccountingDocument, FiscalYear, ChangedOnDateTime. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
figld_taxdoc_log taxdoclog from

Associations (3)

CardinalityTargetAliasCondition
[1..1] I_AccountingDocument _AccountingDocument $projection.CompanyCode = _AccountingDocument.CompanyCode and $projection.AccountingDocument = _AccountingDocument.AccountingDocument and $projection.FiscalYear = _AccountingDocument.FiscalYear
[1..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode
[0..1] I_FiscalYearForCompanyCode _FiscalYear $projection.FiscalYear = _FiscalYear.FiscalYear and $projection.CompanyCode = _FiscalYear.CompanyCode

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName ISTRPTAXREPDTLOG view
VDM.viewType #BASIC view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Tax Reporting Date Log view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.representativeKey ChangedOnDateTime view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view

Fields (13)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode bukrs Value
KEY AccountingDocument belnr SD Document
KEY FiscalYear gjahr Settlement Year
KEY ChangedOnDateTime changed_on Variant Changed on
LastChangedByUser figld_taxdoc_log changed_by User Name
OldTaxReportingDate figld_taxdoc_log old_vatdate Old Tax Reporting Da
NewTaxReportingDate figld_taxdoc_log new_vatdate New Tax Reporting Da
OriginalTaxReportingDate figld_taxdoc_log original_vatdate Tax Reporting Date
TaxItemIsIncluded figld_taxdoc_log status_incl_excl Inclusive/ Exclusive
Comments figld_taxdoc_log comments User Notes
_AccountingDocument _AccountingDocument
_CompanyCode _CompanyCode
_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_TaxReportingDateStRpActivity.
-- 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.
-- SQL view name: ISTRPTAXREPDTLOG

CREATE VIEW I_TaxReportingDateStRpActivity AS
SELECT
  bukrs AS CompanyCode,
  belnr AS AccountingDocument,
  gjahr AS FiscalYear,
  changed_on AS ChangedOnDateTime,
  taxdoclog.changed_by AS LastChangedByUser,
  taxdoclog.old_vatdate AS OldTaxReportingDate,
  taxdoclog.new_vatdate AS NewTaxReportingDate,
  taxdoclog.original_vatdate AS OriginalTaxReportingDate,
  taxdoclog.status_incl_excl AS TaxItemIsIncluded,
  taxdoclog.comments AS Comments
FROM figld_taxdoc_log AS taxdoclog
LEFT OUTER JOIN I_AccountingDocument AS _AccountingDocument ON CompanyCode = _AccountingDocument.CompanyCode AND AccountingDocument = _AccountingDocument.AccountingDocument AND FiscalYear = _AccountingDocument.FiscalYear  -- association [1..1]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode  -- association [1..1]
LEFT OUTER JOIN I_FiscalYearForCompanyCode AS _FiscalYear ON FiscalYear = _FiscalYear.FiscalYear AND CompanyCode = _FiscalYear.CompanyCode  -- association [0..1]
;