SAP ABAP IMG Activity SD_ANLY_CURRCONV (Adjust Currency Conversion for Queries and Key Figures)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   SD (Application Component) Sales and Distribution
     ERP_SD_ANALYTICS_CORE_TR (Package) Sales, Billing and Delivery Analytics - Translation Relevant
IMG Activity
ID SD_ANLY_CURRCONV Adjust Currency Conversion for Queries and Key Figures  
Transaction Code S_EBS_44000372   (empty) 
Created on 20110202    
Customizing Attributes SD_ANLY_CURRCONV   Adjust Currency Conversion for Queries 
Customizing Activity SD_ANLY_CURRCONV   Adjust Currency Conversion for Queries 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name BADI_SD_ANLY_CURRCONV    

Use

With this Business Add-In (BAdI), you can can overwrite the currency conversion in the standard system.
Before you implement this BAdI, you should check whether the functions in the standard system fulfill your requirements.

Requirements

Standard settings

In the standard system, the logic for determining the target currency is stored as follows:

  • In the relevant queries, the Conversion area on the Properties tab is set as follows for the key figure to be converted:
    • The Conversion Type is specified as Currency Conversion for SD Queries (0SDCURRCONV).
    • The Entry of Variables option is set up so that the target currency is determined by the SAP exit variable ERP_STAT_CURR.
    • SAP exit processing determines the target currency based on the sales organization (statistic currency) or the company code (local currency) in the Customizing settings. For the currency conversion, filter variables are defined in the respective characteristics, Sales Organization and Company Code.
  • For a currency conversion to take place at query runtime, the following conditions must be fulfilled:
    • The sales employee must enter at least one selection value.
      If the sales employee enters both a sales organization and a company code, the system gives the sales organization higher priority.
    • If the user enters several sales organizations for the selection, the same statistic currency must be set in Customizing for all the sales organizations. This rule also applies to company codes.

Additional Possibilities in the Standard System

Additional possibilities in the standard system allow you to define the currency conversion for your processes in query definitions with minimal effort. To do this, you change the settings for the conversion type Currency Conversion for SD Queries (0SDCURRCONV) for the key figure in question.
You have the following options:

  • Under the Variable Entry option, you can also choose the variable Target Currency for Currency Conversion (Single Value) (/ERP/STAT_CURR_MANUAL). In this case, the sales employee can always enter the desired target currency on the variable screen at query runtime.
    The entry is optional. If the representative does not enter a target currency, there is no currency conversion.
  • Under the Value Entry option, you can choose a target currency from the entry values, into which the system should always convert.

Activities

Implement the method SET_TARGET_CURRENCY for the use case described above.
For more information, refer to the documentation on the method Set Target Currency for Currency Conversion

For information about implementing BAdIs as part of the Enhancement Concept, see SAP Library for SAP NetWeaver under BAdIs - Embedding in the Enhancement Framework.

Business Attributes
ASAP Roadmap ID 207   Establish Reporting 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency A   Valid for all countries 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20110203 
SAP Release Created in 606