I_JrnlEntrAltvCrcyTrnsltnItem

DDL: I_JRNLENTRALTVCRCYTRNSLTNITEM SQL: IALTCURRTRANSITM Type: view BASIC Package: FIN_HISTORIC_EXCHANGE_RATES

T2Factors used in journal entries

I_JrnlEntrAltvCrcyTrnsltnItem is a Basic CDS View that provides data about "T2Factors used in journal entries" in SAP S/4HANA. It reads from 1 data source (acdoca_hxf) and exposes 22 fields with key fields CompanyCode, AccountingDocument, FiscalYear, JrnlEntrAltvCrcyTrnsltnItem. It has 3 associations to related views. Part of development package FIN_HISTORIC_EXCHANGE_RATES.

Data Sources (1)

SourceAliasJoin Type
acdoca_hxf acdoca_hxf from

Associations (3)

CardinalityTargetAliasCondition
[0..1] I_Country _Country $projection.TaxCountry = _Country.Country
[0..1] I_TaxCode _TaxCode $projection.TaxCode = _TaxCode.TaxCode and $projection.taxcalculationprocedure = _TaxCode.TaxCalculationProcedure
[0..*] I_TaxJurisdiction _TaxJurisdiction $projection.TaxJurisdiction = _TaxJurisdiction.TaxJurisdiction

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName IALTCURRTRANSITM view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
VDM.viewType #BASIC view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
EndUserText.label T2Factors used in journal entries view

Fields (22)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode bukrs Value
KEY AccountingDocument belnr SD Document
KEY FiscalYear gjahr Settlement Year
KEY JrnlEntrAltvCrcyTrnsltnItem item_number Position
TransToCoCodeCrcyCnvrsnFctr t2ccode_crcy_conv_factor Tax Amt Fctr in LC
TransToRptgCrcyCnvrsnFctr t2cntry_crcy_conv_factor Tax Amt Fctr in RC
ServicesRenderedDate fbuda Services Rendered Date
PredecessorReferenceDocument prec_awref PrecRefDocument
PredecessorReferenceDocItem prec_awitem Prec. Ref. Doc. Item
TransToCoCodeCrcyCnvrsnMeth ccode_factor_method Co. Cd. Fctr. Method
TransToRptgCrcyCnvrsnMeth cntry_factor_method Country Fctr. Method
TaxCountry tax_country Tax Ctry/Rgn
TaxCalculationProcedure _Country TaxCalculationProcedure Tax Procedure
TaxCode tax_code Tax Code
TaxCodeValidFromDate tax_rt_valid_from Tax Rate Valid-From
TaxJurisdiction taxjurcode Tax Jurisdiction
SDDocumentItem posnr_sd Item
TransToCoCodeCrcyExchRate Tax Exch. Rate in LC
TransToRptgCrcyExchRate Tax Exch. Rate in RC
_Country _Country
_TaxCode _TaxCode
_TaxJurisdiction _TaxJurisdiction

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_JrnlEntrAltvCrcyTrnsltnItem.
-- 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: IALTCURRTRANSITM

CREATE VIEW I_JrnlEntrAltvCrcyTrnsltnItem AS
SELECT
  bukrs AS CompanyCode,
  belnr AS AccountingDocument,
  gjahr AS FiscalYear,
  item_number AS JrnlEntrAltvCrcyTrnsltnItem,
  t2ccode_crcy_conv_factor AS TransToCoCodeCrcyCnvrsnFctr,
  t2cntry_crcy_conv_factor AS TransToRptgCrcyCnvrsnFctr,
  fbuda AS ServicesRenderedDate,
  prec_awref AS PredecessorReferenceDocument,
  prec_awitem AS PredecessorReferenceDocItem,
  ccode_factor_method AS TransToCoCodeCrcyCnvrsnMeth,
  cntry_factor_method AS TransToRptgCrcyCnvrsnMeth,
  tax_country AS TaxCountry,
  _Country.TaxCalculationProcedure AS TaxCalculationProcedure,
  tax_code AS TaxCode,
  tax_rt_valid_from AS TaxCodeValidFromDate,
  taxjurcode AS TaxJurisdiction,
  posnr_sd AS SDDocumentItem,
  cast( ccode_exchg_rate as fin_cocode_exchg_rate ) AS TransToCoCodeCrcyExchRate,
  cast( cntry_exchg_rate as fin_country_exchg_rate ) AS TransToRptgCrcyExchRate
FROM acdoca_hxf
LEFT OUTER JOIN I_Country AS _Country ON TaxCountry = _Country.Country  -- association [0..1]
LEFT OUTER JOIN I_TaxCode AS _TaxCode ON TaxCode = _TaxCode.TaxCode AND taxcalculationprocedure = _TaxCode.TaxCalculationProcedure  -- association [0..1]
LEFT OUTER JOIN I_TaxJurisdiction AS _TaxJurisdiction ON TaxJurisdiction = _TaxJurisdiction.TaxJurisdiction  -- association [0..*]
;