I_JrnlEntrAltvCrcyTrnsltnItem
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)
| Source | Alias | Join Type |
|---|---|---|
| acdoca_hxf | acdoca_hxf | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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..*]
;
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