Hi,
DataSource 0PAYSCALELV_ATTR is calling Function Module HR_BW_EXTRACT_IO_PAYSCALELV. Here table T510 is read. So the DataSource does not calculate anything (except some currency translation), it reads the data from table T510.
Best regards,
Sander