Segments missing in STblock after enveloping in Sterling Integrator

Technote (troubleshooting)


Problem(Abstract)

In the process of re-enveloping the inbound EDI file (ASN) , many segments inside the ST block are getting missed. Sending the EDI files to TP is impacted

Cause

.

Diagnosing the problem

After re- enveloping the ASN file has blank lines after each segment and this is causing the map (used in the outbound envelope) to miss the segments in ST block.
This is because read and write functions used in the extended rule will stop reading and writing a segment when a blank space is obtained.


Resolving the problem

1. If Document Keyword Replace Service is used in the enveloping BP to replace tilde (~) with 0D0A and if this logic no longer holds good, remove this Document Keyword Replace Service from the BP.
- This will help in getting the missing segments in ST block but there will be 2 tildes as the segment terminators.

2. To have only one tilde as the segment terminator, add Document Keyword Replace Service in enveloping BP to replace the tilde (~) with nothing.

<assign to="replace1" from="string('')"></assign>


Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

Sterling B2B Integrator
Adapters

Software version:

5.2.2

Operating system(s):

Windows

Software edition:

Standard

Reference #:

1618765

Modified date:

2013-03-26

Translate my page

Machine Translation

Content navigation