Assume that you use the SAP adapter in .NET Connector (NCo) mode in Microsoft BizTalk Server. The adapter does not trim all the trailing non-printable characters from data when you send and receive intermediate documents (iDOCs).
This issue does not occur if the SAP adapter is used in the Classic RFC mode.