Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

WCF-SAP Nco Connector creates additional white spaces in BizTalk Server


View products that this article applies to.

Symptoms

When you use the WCF-SAP Nco connector type (the .NET Framework connector) in BizTalk Server 2013 R2, additional padding (white spaces) is added and sent to SAP.

When an IDOC Receive operation occurs, text fields are padded with white spaces of a length that is equal to that field length. For example, the OBJECT_KEY element is defined by SAP as a 50-character string.

When you use classic RFC as in the following example, no trailing white spaces are added:

<OBJECT_KEY>testfromBiztalk</OBJECT_KEY>

However, when you use the Nco connector type, trailing white spaces are added, as in the following example:

<OBJECT_KEY>testfromBiztalk                                   </OBJECT_KEY>

↑ Back to the top


Cause

This issue occurs because the new Nco adapter is missing end-trimming functionality to exclude additional white spaces.

↑ Back to the top


Resolution

Cumulative update information

The fix that resolves this issue is included in Cumulative update package 4 for BizTalk Adapter Pack 2013  and Cumulative update package 5 for BizTalk Server 2013 R2 .

Note After you apply this update, the IDOC will be trimmed the same as when you use classic RFC.

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

↑ Back to the top


Keywords: kb, kbqfe, kbsurveynew, kbfix, kbexpertiseinter

↑ Back to the top

Article Info
Article ID : 3197184
Revision : 1
Created on : 1/7/2017
Published on : 11/14/2016
Exists online : False
Views : 459