Example: Formula for the Duration of an Operation 
You can create your own formulas within the R/3 System. The following is an example of a formula for calculating the duration of an operation.
In the simplest case, the result of a formula is a standard value entered for the operation:
F = DURAT
If the operation duration is, for example, dependent on the operation quantity, you can also include additional "general operation values":
F = DURAT * OPQT/ BASEQT
If the operation duration is, for example, dependent on the resource used for this operation, you can also enter "resource constants" in the formula:
F = DURAT * OPQT/ BASEQT x BASEOUT /RESOUT
The meaning of the formula keys and the origin of the parameters in this formula are displayed in the following table.
Origin of the Parameters from the Formula for Duration
Parameter ID |
Meaning |
Origin |
DURAT |
Duration |
Standard values |
OPQT |
Operation quantity |
General operation value |
BASEQT |
Base quantity |
General operation value |
RESOUT |
Resource output |
Resource constant |
BASEOUT |
Base output |
Resource constant |