Formulas and formula parameters are maintained in Customizing - Work center :
Formula parameter in Define formula parameters for work centers
Formulas in Define formulas for work centers
You must define formula parameters that you want to use before you create formulas, if you do not want to use formula parameters that have been defined by SAP.
You use an indicator to determine where the formula should be used, for example in scheduling and costing.
A formula can be up to three lines long.
There must be at least one space between operand and operator. Exception: brackets in a function, for example, SIN(A).
Formulas use the same syntax as the ABAP statement COMPUTE . For further information see ABAP User’s guide in the Basis documentation under Numerical operations .
Units are converted automatically.
Arithmetic functions |
+, -,*,/ |
Trigonometric functions |
SIN, COS |
Integral division |
DIV, MOD |
Square root |
SQRT |
Exponential function |
EXP |
Natural logarithm |
LOG |
If you want to take splits into account in a formula, you must explicitly enter the split in a formula parameter.
Note
In scheduling to calculate the execution time, the lot size is divided by the number of partial lots. In capacity planning to calculate the capacity requirements, the set-up time is multiplied by the number of partial lots.