Simple. Determine the maximum landing weight at the destination airport, taking into consideration of LDA, P/A, Approach Climb Limit, and Max Tire Speed.
Add your trip fuel and APU usage burn to the Maximum Landing Weight, and viola... Maximum Take off Weight
To that add taxi fuel and viola... Maximum Ramp Weight