Transaction STAD (The Business Transaction Analysis ) delivers workload statistics across jobs and business transactions.By default, these data storing value is 48 hours for every SAP system but you can change it via profile parameter…
System Parameter –> stat/max_files
If you want to change this value then you have to change this parameter and restart the SAP system.
But don’t forget that, maximum value for this parameter is 99 hours