In most of the examples from SAP (https://help.sap.com/docs/ABAP_PLATFORM_NEW/fc4c71aa50014fd1b43721701471913d/254f68c7d5374e94a88241b7ce3bd414.html), the handling of total record count when requested is quite straightforward since there is only a single table involved.
But there maybe some complex reporting scenarios where it is not practical to calculate the total since it will affect the performance. How do you usually handle the total calculation? Do you give a rough estimate of the total number of records or do you really calculate the total whenever it is requested?
The issue with providing a rough estimate is that the value that you pass will usually be reflected at the table header level.