Do you have any question about this error?
Message type: E = Error
Message class: C0 - PP-PI: Messages for PI Sheet and Syntax Checker
Message number: 604
Message text: Phase &, instr. &: Error when taking a logarithm in formula &
The process instruction &V2& for phase &V1& of the process order
contains the formula &V3&. This formula contains a LOG function to
which an invalid argument was passed on during the calculation.
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
RESET N1
Check and, if necessary, correct the values reported in the PI sheet
that are used in the formula.
<ZH>In the case of PI sheets with test function:</>
Check and, if necessary, correct the definition of the formula in the
process order.
Then create a new control recipe and maintain the corresponding PI
sheet.
<DS:TRAN.COR2>Change process order</>
<ZH>In the case of productive PI sheets:</>
Errors in the process instruction cannot be corrected for the current
PI sheet.
If necessary, deactivate the process instruction in the PI sheet.
Manually calculate the value.
Manually create the process message to be used for reporting the value.
<DS:TRAN.CO57>Create message</>
INCLUDE 'NA_PLNREZ_HINW' OBJECT DOKU ID TX LANGUAGE E
<DS:TRAN.C202>Change master recipe</>
Error message extract from SAP system. Copyright SAP SE.
C0604
- Phase &, instr. &: Error when taking a logarithm in formula & ?The SAP error message C0604 indicates that there is an issue with a logarithmic calculation in a formula within the SAP system. This error typically arises in the context of calculations that involve logarithmic functions, which can occur in various modules, such as SAP CO (Controlling) or SAP PS (Project System).
Cause:
The error message "Error when taking a logarithm in formula &" usually occurs due to one of the following reasons:
Invalid Input Values: The logarithm function is only defined for positive numbers. If the input value to the logarithm is zero or negative, the system will throw this error.
Data Type Issues: There may be a mismatch in data types, where the input to the logarithm function is not in the expected numeric format.
Formula Logic Errors: There could be a logical error in the formula that leads to an invalid calculation, such as division by zero or incorrect variable assignments.
Configuration Issues: In some cases, the configuration of the system or the specific module may not be set up correctly, leading to unexpected behavior during calculations.
Solution:
To resolve the C0604 error, you can take the following steps:
Check Input Values: Review the values being passed to the logarithm function. Ensure that all inputs are positive and valid for logarithmic calculations.
Debug the Formula: If you have access to the formula or calculation logic, debug it to identify any potential issues. Look for any divisions or calculations that could result in zero or negative values.
Data Type Verification: Ensure that the data types of the variables used in the formula are correct and compatible with the logarithm function.
Review Configuration: If applicable, check the configuration settings in the relevant SAP module to ensure that everything is set up correctly.
Consult Documentation: Refer to SAP documentation or help resources for specific guidance on the formula or function you are using.
Seek Support: If the issue persists, consider reaching out to your SAP support team or consulting with an SAP expert who can provide more tailored assistance.
Related Information:
By following these steps, you should be able to identify and resolve the cause of the C0604 error in your SAP system.
Get instant SAP help. Start your 7-day free trial now.
C0603
Phase &, instr. &: Invalid arithmetic expression in formula &
What causes this issue? The process instruction &V2& for phase &V1& of the process order contains the formula &V3&. This for...
C0602
Phase &, instr. &: Error in formula table for formula &
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
C0605
Phase &, instr. &: Invalid parameter in formula &
What causes this issue? The process instruction &V2& for phase &V1& of the process order contains the formula &V3&. This for...
C0606
Phase &, instr. &: Error when taking a root in formula &
What causes this issue? The process instruction &V2& for phase &V1& of the process order contains the formula &V3&. This for...
Click on this link to search all SAP messages.