Astronomical units and constants in the general relativity framework