Do you have any question about this error?
Message type: E = Error
Message class: O4 - IS-Oil: MAP message pool
Message number: 140
Message text: Enter either the average currency rule OR the daily currency rule
The system will either determine the currency exchange rate using the
daily currency rule OR the average currency rule. You have entered
both values.
The system requires that you enter only one of these rules.
Enter the daily currency rule if you want to base the currency exchange
rate on an exchange rate linked to each quoted day. If you want to use
an exchange rate which is determined by an average value calculation,
then choose the average currency rule, and complete the relevant fields
from the following list which describe the average period concerned:
- time unit of measure
- reference date
- reference date offset
- period before
- exclude event date
- period after
Error message extract from SAP system. Copyright SAP SE.
O4140
- Enter either the average currency rule OR the daily currency rule ?The SAP error message O4140, which states "Enter either the average currency rule OR the daily currency rule," typically occurs in the context of currency conversion settings in SAP, particularly when dealing with foreign currency valuations or reporting.
Cause:
This error arises when both the average currency rule and the daily currency rule are not properly defined or when the system expects one of these rules to be specified but finds neither. This can happen in various scenarios, such as:
- Missing Configuration: The currency conversion settings in the system may not be configured correctly.
- Incorrect Settings: Both rules may be set to inactive or not defined in the relevant configuration.
- Transaction Context: The transaction or report you are trying to execute requires one of these rules to be specified, but neither is available.
Solution:
To resolve this error, you can follow these steps:
Check Configuration:
- Go to the SAP Customizing Implementation Guide (IMG) by using transaction code
SPRO
.- Navigate to Financial Accounting (New) > Financial Accounting Global Settings (New) > Currencies > Define Currency Conversion.
- Ensure that either the average currency rule or the daily currency rule is defined and active.
Define Currency Rules:
- If neither rule is defined, you will need to create one. You can do this by selecting the appropriate option to define either the average or daily currency rule.
- Make sure to enter the necessary parameters for the currency conversion rules.
Check Transaction Settings:
- If you are executing a specific transaction or report, check if there are any settings or parameters that need to be adjusted to specify which currency rule to use.
Testing:
- After making the necessary changes, test the transaction or report again to see if the error persists.
Consult Documentation:
- If you are unsure about the settings, refer to SAP documentation or consult with your SAP functional consultant for guidance on the correct configuration.
Related Information:
By following these steps, you should be able to resolve the O4140 error and ensure that your currency conversion settings are correctly configured.
Get instant SAP help. Start your 7-day free trial now.
O4139
Please enter a time unit of measure
What causes this issue? You have specified a period before or a period after, without specifying a time unit of measure. The system cannot therefore...
O4138
Do not exclude event date if period before/after fields are blank
What causes this issue? Due to your entries, the system ignores the event date when determining the averaging period. However, a period before or af...
O4141
Enter either the daily or average currency rule
What causes this issue? You have not entered a currency conversion rule.System Response The system requires a currency conversion rule in order to c...
O4142
Daily currency rules chosen: the other fields have to be blank
What causes this issue? You have selected the daily currency rules. Therefore the other fields highlighted on the screen are not required.System Res...
Click on this link to search all SAP messages.