C_TxRegMigratedTransaclTaxItem

DDL: C_TXREGMIGRATEDTRANSACLTAXITEM Type: view_entity CONSUMPTION Package: FIN_TAXREG_MIGRATION_APPL

Migrated Indirect Tax Items

C_TxRegMigratedTransaclTaxItem is a Consumption CDS View that provides data about "Migrated Indirect Tax Items" in SAP S/4HANA. It reads from 1 data source (I_TransactionalTaxItem) and exposes 13 fields with key field TaxItemUUID. It has 1 association to related views. It is exposed through 2 OData services (ASQL_F6715, UI_MIGRATE_TAX_ITEMS). Part of development package FIN_TAXREG_MIGRATION_APPL.

Data Sources (1)

SourceAliasJoin Type
I_TransactionalTaxItem MigratedIndirectTaxItems from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_GlAccountTextInCompanycode _GLAccountTextInCompanyCode $projection.GLAccount = _GLAccountTextInCompanyCode.GLAccount and $projection.CompanyCode = _GLAccountTextInCompanyCode.CompanyCode

Annotations (7)

NameValueLevelField
VDM.viewType #CONSUMPTION view
VDM.lifecycle.contract.type #NONE view
AccessControl.authorizationCheck #MANDATORY view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
EndUserText.label Migrated Indirect Tax Items view

OData Services (2)

ServiceBindingVersionContractRelease
ASQL_F6715 ASQL_F6715 C2 NOT_RELEASED
UI_MIGRATE_TAX_ITEMS UI_MIGRATE_TAX_ITEMS_V2 V2 C1 NOT_RELEASED

Fields (13)

KeyFieldSource TableSource FieldDescription
KEY TaxItemUUID TaxItemUUID Tax Item UUID
CompanyCode CompanyCode Receiver Company Code
AccountingDocument AccountingDocument Journal Entry
FiscalYear FiscalYear G/L Fiscal Year
TaxCountry TaxCountry Tax Ctry/Reg.
TaxationType TaxationType Taxation Type
PostingDate PostingDate Posting Date for GR
GLAccount GLAccount General Ledger
TaxAmountInCoCodeCrcy TaxAmountInCoCodeCrcy Tax Amount in Company Code Currency
CompanyCodeCurrency CompanyCodeCurrency Local Currency
TaxRegisterMigrationUUID TaxRegisterMigrationUUID UUID
NumberOfTaxItems Number of Tax Lines
_GLAccountTextInCompanyCode _GLAccountTextInCompanyCode

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 C_TxRegMigratedTransaclTaxItem.
-- 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 C_TxRegMigratedTransaclTaxItem AS
SELECT
  TaxItemUUID,
  CompanyCode,
  AccountingDocument,
  FiscalYear,
  TaxCountry,
  TaxationType,
  PostingDate,
  GLAccount,
  TaxAmountInCoCodeCrcy,
  CompanyCodeCurrency,
  TaxRegisterMigrationUUID,
  count(*) AS NumberOfTaxItems
FROM I_TransactionalTaxItem AS MigratedIndirectTaxItems
LEFT OUTER JOIN I_GlAccountTextInCompanycode AS _GLAccountTextInCompanyCode ON GLAccount = _GLAccountTextInCompanyCode.GLAccount AND CompanyCode = _GLAccountTextInCompanyCode.CompanyCode  -- association [0..*]
;