I exactly understand the purpose of the entries in table 512w_B for a wage type.
But not able to understand the fields in the Table
4.1st derived wage type
5.2nd derived wage type
These are the basics of WT valuation and therefore of payroll, so it's really a good udea to read up on that.
The IMG explains as does all standard training material or the SAP Press HR books about payroll.
No sense copying a few book pages here, so just pointing you an directions. If you plan to become a payroll consultant, I really highly recommend you make sure you've nailed that
All the best