Preserving Spaces on outbound EDI file generation.

Preserving Spaces on outbound EDI file generation.

book

Article ID: KB0092405

calendar_today

Updated On:

Products Versions
TIBCO BusinessConnect EDI Protocol Powered by Instream -
Not Applicable -

Description

Description:
When generating an outbound X12 or EDIFACT document, BusinessConnect strips out leading and trailing blanks in the outbound message fields. How can I prevent this from happening?

Resolution

You can accomplish this by modifying the XE.map files. Here are the steps to do so.

1). Have the Translator installed standalone on one of your Windows system.

2).  Generate and export the <guideline>.xsd, the <guideline>_XE.map and the <guideline>_EX.map files from the Export screen within EDISIM. Save these files under $TRANSLATOR_HOME/Database .

3). Go to the $EDISIM_HOME/User Files/Public Guidelines directory and look for the <guideline>.std file. Copy this file into the $TRANSLATOR_HOME/Database .

4). Go to $TRANSLATOR_HOME/bin and execute the "Translation Tool.exe" program.

a). Click on File | Open Map file and select <guideline>_XE.map in the Database directory. A screen will appear with the map file.
b). Click on Settings | Target Guideline settings. A settings box will appear. In the middle of the box there will be a drop-down box with “Remove Spaces” next to it.  Select “No” in the box, click “OK”, and save the map file.
c). If the value in question only contains spaces, check the value of the property "Allow Only Space(s) Value".
d). Do a File | Save to save the file and exit the tool.

5). Import all files into the BusinessConnect Operations Editor.

Issue/Introduction

Preserving Spaces on outbound EDI file generation.

Additional Information

Foresight Translator documentation