To find the volume of the sphere in which the rectangular box is inscribed, we begin with the given conditions: the surface area (SA) of the rectangular box is 846 sq cm, and the sum of the lengths of all its edges (P) is 144 cm.
Let's denote the dimensions of the box as \(a\), \(b\), and \(c\). The following equations arise from the problem statement:
- SA Equation: \[2(ab+bc+ca)=846 \rightarrow ab+bc+ca=423\]
- Perimeter Equation: \[4(a+b+c)=144 \rightarrow a+b+c=36\]
The box is inscribed in a sphere. Thus, the diagonal of the box equals the diameter of the sphere. Using the Pythagorean theorem in three dimensions, the diagonal \(d\) is:
\[d=\sqrt{a^2+b^2+c^2}\]
Now, we use the identity:
\[(a+b+c)^2=a^2+b^2+c^2+2(ab+bc+ca)\]
Substituting the known values:
\[36^2=a^2+b^2+c^2+2 \times 423\]
\[1296=a^2+b^2+c^2+846\]
Therefore:
\[a^2+b^2+c^2=450\]
Thus, the diagonal (the diameter of the sphere) is:
\[d=\sqrt{450}=15\sqrt{2}\]
The radius \(r\) of the sphere is \(\frac{d}{2}=\frac{15\sqrt{2}}{2}\).
The volume \(V\) of the sphere is given by the formula:
\[V=\frac{4}{3}\pi r^3\]
Substituting \(r=\frac{15\sqrt{2}}{2}\), we get:
\[V=\frac{4}{3}\pi \left(\frac{15\sqrt{2}}{2}\right)^3\]
\[=\frac{4}{3}\pi \times \left(\frac{3375 \times 2\sqrt{2}}{8}\right)\]
\[=\frac{4}{3}\pi \times \frac{6750\sqrt{2}}{8}\]
\[=\pi \times 1125\sqrt{2}\]
Thus, the volume of the sphere is \(\boxed{1125\pi\sqrt{2}}\) cubic cm.