you can use the Transaction ST05 to trace your cost calculation Transaction.
1. Open ST05, Start SQL Trace Recording with button (or F8).
2. Open your desired Transaction which Show you the data.
(When you see the data, the trace have recorded the calling ABAP select).
3. Goto Trace again direct by /nST05.
4. Stop Trace by button (or F6).
5. View Trace by button (or F7).
6. Press F8 in the trace selection page
7. Goto Menu: Trace Table Access (Tabellenzugriffe) (or STRG + F8) or (CTRL + F8)
8. Export this list to Excel, sort by data entries descending.
9. Now you can see the tables, which contains the data.
10. In SAP go back (F3) (F3) and be shure, that the trace is off. (F6).
11. Close the trace session (F3).