You can maintain the sales unit for each material and sales organization/distribution channel. The sales unit is proposed in Sales and Distribution (SD) documents such as sales orders. If a variable sales unit is not allowed, the unit specified in documents may not differ from that in the master record.
used in pricing scenario: Material master record that the system uses as a reference for pricing purposes.
The detail mapping logic is implemented in this subroutine: