Question: how to calculate difference between two dates in bex?
Answer: In the new formula window right click on Formula Variable and choose New Variable.
Enter the Variable Name, Description and select Replacement Path in the Processing by field.