the record set of an IDoc contains a recipient and a sender information.
As far as I know the recipient information is taken from the respective partner profile.
But what is the source for the sender information? How are these fields filled? Where can I customize this?