Do you have any question about this error?
Message type: E = Error
Message class: 28 - Configuration
Message number: 117
Message text: Restriction not possible: expression not linear
You can only use formulas to restrict a numeric characteristic if the
formula in the characteristic you want to restrict is linear.
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
Error message extract from SAP system. Copyright SAP SE.
28117
- Restriction not possible: expression not linear ?The SAP error message 28117, "Restriction not possible: expression not linear," typically occurs in the context of SAP's optimization tools, such as SAP APO (Advanced Planning and Optimization) or SAP IBP (Integrated Business Planning). This error indicates that the system encountered a non-linear expression when it expected a linear one, which is necessary for certain types of optimization problems.
Cause:
- Non-linear Expressions: The most common cause of this error is the presence of non-linear mathematical expressions in the model. This can happen if you are trying to apply restrictions or constraints that involve products, powers, or other non-linear operations.
- Incorrect Model Setup: If the model is not set up correctly, such as using variables or parameters that are not compatible with linear programming, this error can occur.
- Data Issues: Sometimes, the data being used in the model may lead to non-linear relationships, especially if there are multiplicative factors or ratios involved.
Solution:
- Review Expressions: Check the expressions used in your constraints and ensure they are linear. Linear expressions typically involve only addition, subtraction, and multiplication by constants.
- Modify Constraints: If you find non-linear expressions, consider reformulating them into linear constraints. This may involve linearizing the problem or using piecewise linear approximations if necessary.
- Check Model Configuration: Ensure that the model is configured correctly for linear optimization. This includes verifying that all variables and parameters are defined appropriately.
- Consult Documentation: Refer to SAP documentation or help resources for guidance on formulating linear constraints and understanding the limitations of the optimization tools you are using.
- Testing: After making changes, test the model again to see if the error persists. It may be helpful to simplify the model temporarily to isolate the issue.
Related Information:
By addressing the non-linear expressions and ensuring that all constraints are linear, you should be able to resolve the error message 28117 in SAP.
Get instant SAP help. Start your 7-day free trial now.
28116
Error in conditional restriction (with IF)
What causes this issue? An error was found in a conditional restriction, starting with the keyword IF.System Response The cursor marks the incorrect...
28114
Error in generic function module interface (ABAP): &1
What causes this issue? The syntax check found an error in the function entry &V1&. The function module referred cannot be used, because the ...
28118
Duplicate entry &1 in the allowed values for characteristic &2
What causes this issue? The allowed values after the keyword IN contain duplicate entries.System Response The syntax check issues a warning.How to f...
28121
Table/function does not allow inference of values
What causes this issue? If a table/function in an action is not in the conditional part of an action (after IF), the table/function is used to infer ...
Click on this link to search all SAP messages.