Creating EDIFACT messages

I’m struggeling with the task of creating an EDIFACT message in IS 4.6.

When I insert the values to the EDIFACT structure and run the convertToEDI method the undersegment is added aswell. As you can see the subfields still has + as separator even though it should be :

To illustrate, here is a sample of what I mean

Should be like this.

Turns out like this

Does anybody know the reason for this?

What EDIFACT message type you are using? and i think you are trying to create outbound EDI,pls try also with convertToString.

The problem might be in the template segment structure or some thing overlapping of segment (DTM)in the map.