Hi,
Its a system variable field
You have to apply formula
TotalBeforeDiscount = DocTotal - TotalDiscount - VatSum
For System Variable List Please check this link.
https://websmp110.sap-ag.de/~sapidb/011000358700000491342007E.zip
Hope this help.
Thanks,
Regards,
Sudhir