Ansicht
Dokumentation

Report Writer: Currency translation in reports ( RELNFI_GLX_RW_CURRCONV )

Report Writer: Currency translation in reports ( RELNFI_GLX_RW_CURRCONV )

RFUMSV00 - Advance Return for Tax on Sales/Purchases   PERFORM Short Reference  
Diese Dokumentation steht unter dem Copyright der SAP AG.
SAP E-Book

!!!!!!!!!!!!NICHT ÜBERSETZEN - RELEASE-2.1-RELEVANT!!!!!!!!!!!!!!!

Kurztext

Report Writer: Currency translation in reports

Beschreibung

The Report Writer is now able to translate currency amounts in reports for the standard data base tables GLT1 and GLT2 into any target currencies.

Soft-/Hardwarevoraussetzungen

None

Besonderheiten bei der Installation

None

Auswirkungen auf die Systemverwaltung

None

Auswirkungen auf das Customizing

None

Änderungen in der Vorgehensweise

Translated currency amounts are defined using special data set entries. The following data set entries are available:

CC_TSL-0 Translation transaction   (TSL-0)
  currency/actual
CC_TSL-1 Translation transaction   (TSL-1)
  currency/planned
CC_HSL-0 Translation local   (HSL-0)
  currency/actual
CC_HSL-1 Translation local   (HSL-1)
  currency/planned
CC_KSL-0 Translation group   (KSL-0)
  currency/actual
CC_KSL-1 Translation group   (KSL-1)
  currency/planned

Example

A report should contain the columns 'transaction currency/actual' and 'transaction currency/actual in USD for the average exchange rate on key date 01.01.1993'. The column set would then be a data set with the two entries TSL-0 and CC_TSL-0. The following input fields would then appear on the selection initial screen:

Target currency (Trans.currency)...   _____ <- USD
Exchange rate date.....................   __________ <- 01.01.93
Exchange rate type.......................   ____ <- M

The exchange rate is taken from table TCURR.

Abhängige Funktionen

None

Planungen

None

Weitere Hinweise

Currency translation runs using 'user exits'; these are ABAP subprograms which perform the actual translation. These programs cannot be used for data bases defined by the user. If currency translation in reports is required for such data bases, new exits must be written. The simplest way to do this is to copy the standard exits for the data bases GLT1 or GLT2, and use a different data base table.

The exits are in the following ABAP members in the FORM pool SAPFGRWG:

FGRWGE05 Translation transaction   (GLT1)
  currency
FGRWGE06 Translation local   (GLT1)
  currency
FGRWGE07 Translation group   (GLT1)
  currency
FGRWGE21 Translation transaction   (GLT2)
  currencies
FGRWGE22 Translation local   (GLT2)
  currencies
FGRWGE23 Translation group   (GLT2)
  currency

The names of new ABAP members must start with the letter 'Z'; they must be included in the FORM pool assigned to the data base table by INCLUDE. This FORM pool is defined in table T804A. The FORM pool must also start with 'Z' for user-defined exits, and it must contain the same includes as the standard SAPFGRWG (simply copy SAPFGRWG to Z.......).

To define the data set entries CC_nnn, tables T804B and T804F must be maintained (transaction SM31). In particular, the exit is entered in table T804B. It is best to use the definition of the analog standard entries as a reference.

Note: it is planned to write the standard exits table-independent, so that no new exits must be written for the currency translation.






SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   CPI1466 during Backup  
Diese Dokumentation steht unter dem Copyright der SAP AG.

Length: 6819 Date: 20240523 Time: 164811     sap01-206 ( 69 ms )