The function SetDocumentFrameSystemPartnerByGLN() implements the system partner at the source document.
The transfer parameter is the GLN of the partner to be set.
SetDocumentFrameSystemPartnerByGLN(PartnerILN)
caution: This does not affect which system partner is involved in the target message.
This means that you cannot influence the partner for the EntityMessageCreator in mapping.