Sapass

 Simplify SAP R/3 development with Excel VBA/VB RFC  
Home> UserExit>COPA0004



Index

COPA0004

CO-PA: User Exits
This enhancement lets you modify foreign currency translation in Profitability Analysis.

The components comprise the function module EXIT_SAPLKECU_001.

Function module EXIT_SAPLKECU_001 can be used to change the exchange rate type for currency translation when actual data is processed in Profitability Analysis. By default, the system always translates the values using the exchange rate type "M". You can change this type (export parameter E_KURST) for a specific operating concern (import parameter I_ERKRS). The import parameters I_CURRENCY_FROM and I_CURRENCY_TO contain the currency key of the currencies involved in the translation.

You can only change the exchange rate type for translating actual values! For planning, you specify the exchange rate type in Customizing when you define your plan versions.

Example:

For operating concern S001, you want to use exchange rate type "G" instead of "M" for currency translation. To do so, you would need a user exit like this:

CASE I_ERKRS.

WHEN 'S001'.
E_KURST = 'G'.

ENDCASE.


Function/Program:
  • EXIT_SAPLKECU_001: User Exit for Determining the Exchange Rate Type

02-Oct-2005