SAP Message Q8140 - No table DB statistics are available; profile & is set to &

Diagnosis
Database statistics in the system are not active as the parameterdisplayed is set to 0 in the profile.
Therefore, the statistic display you have selected is therefore eitherrestricted or not possible at all.

Procedure
Set the profile parameter for the database statistics rsdb/staton to 1.