This link should help:
Transportation (LE-TRA) - SAP Library
I believe you will need to calculate the cost on the sub-item level and create a custom access sequence (if I understand your requirement clearly) as the standard options don't seem to meet your requirement exactly. If you could check the access sequence and condition records from the examples you have seen it would save time.