A message represents a specific type of document that is transmitted between two partners Ex. Orders,orders responses,invoices etc
An idoc type can be associated with many message types
Also a message type can be associated with different idoc types. Transaction WE81