# Null values for wmb2bediconvertToString

**URL:** <https://techcommunity.softwareag.com/t/null-values-for-wmb2bediconverttostring/108264>\
**Category:** Forum\
**Tags:** EDI\
**Created:** [November 4, 2003, 3:29pm UTC](https://techcommunity.softwareag.com/t/null-values-for-wmb2bediconverttostring/108264 "2003-11-04T15:29:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Guest](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/guest/32/75_2.png) [@Guest](https://techcommunity.softwareag.com/u/Guest)\
**Post date:** [November 4, 2003, 3:29pm UTC](https://techcommunity.softwareag.com/t/null-values-for-wmb2bediconverttostring/108264/1 "2003-11-04T15:29:21Z")

</div>

Hi all,

I am using wm.b2b.edi:convertToString to convert a record structure to a csv file.

I write a flow service to connect to DB and retrieve the data, convert the data to apropiate record structure and call convertToString passing a simple template.

I test my template filling the recordlist manually and worked fine. Real world data instead contains null fields so I get the errorArray full of 'PHONE\_COUNTRY\_CODE ’ field not found in segment ‘CONTACTS’ [EDICOR.000020.000058].

I want my service to treat null/empty values by writing two consecutive separators in the csv file… How can I do this and stil using edi module?

Thanks  
Sorin

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 3:05pm UTC](https://techcommunity.softwareag.com/t/null-values-for-wmb2bediconverttostring/108264/2 "2021-04-02T15:05:08Z")

</div>


