Introduction
A hotfix is available that enables Microsoft BizTalk Server 2009 to remove additional space and zero characters that are leading or trailing in an Electronic Data Interchange (EDI) message. The hotfix changes the user interface (UI) of the Validation and ACK Generation Settings page and the Validation and ACK Processing Settings page.
Note Because the update affects the EDI user interface (UI), the hotfix also affects Health Insurance Portability and Accountability Act (HIPAA) messages.More Information
Before you apply the cumulative update package, the user interface (UI) of the Validation and ACK Generation Settings page and the Validation and ACK Processing Settings page resembles the following:
<NM103_SubscriberLastName>NM103_Test </NM103_SubscriberLastName> If the Allow leading and trailing zeros and spaces check box is selected on the Validation and ACK Generation Settings page and on the Validation and ACK Processing Settings page, BizTalk Server generates the following EDI message:
NM1*IL*1*NM103_Test *****II*NM109_SubscriberPrimaryIdentifierIf the Allow leading and trailing zeros and spaces check box is cleared on the Validation and ACK Generation Settings page or on the Validation and ACK Processing Settings page, an event that resembles the following is logged in the Application log:
Event Type: Error
Event Source: BizTalk Server 2009 EDI Event Category: None Event ID: 8116 Description: Error: 1 (Field level error) SegmentID: NM1 Position in TS: 15 Data Element ID: NM103_SubscriberLastName Position in Segment: 3 Data Value: 6: Leading or trailing space foundAfter you apply the following cumulative update package, the Allow leading or trailing zeros and spaces check box is replaced by the Handling leading and trailing spaces and zeros options. The user interface (UI) resembles the following:
-
Allow
-
Do not allow
-
Trim
The Allow and Do not allow options are features that are available before this update is applied. However, the Trim option is a new feature.
If the Allow option is selected, BizTalk Server does not remove any additional space and zero characters that are leading or trailing from an EDI message. If the Do not allow option is selected, BizTalk Server logs an instance of an event when an EDI message contains additional space and zero characters that are leading or trailing. The event that is logged has Event ID 8116 and the "Leading or trailing space found" error message. If the Trim option is selected, BizTalk Server removes the additional space and zero characters that are leading or trailing. If the Trim option is selected in the previous example, BizTalk Server generates the following EDI message:NM1*IL*1*NM103_Test*****II*NM109_SubscriberPrimaryIdentifierNote In earlier versions of BizTalk Server, additional zero and space characters that are leading or trailing are removed.
Cumulative update information
2497794 Cumulative update package 2 for BizTalk Server 2009
The hotfix that resolves this issue is included in cumulative update package 2 for BizTalk Server 2009. For more information about how to obtain the cumulative update package, click the following article number to view the article in the Microsoft Knowledge Base:References
For more information about the Validation and ACK Generation Settings page, visit the following MSDN website:
General information about the Validation and ACK Generation Settings page For more information about BizTalk Server hotfixes, click the following article number to view the article in the Microsoft Knowledge Base:
2003907 Information about BizTalk Server hotfixes