Release character not considered by ConvertToValues

I am using Webmethods 4.0.1 integrated with SAP Business Connector. I am facing a problem with ConvertToValues service from WmEDI package. It is not considering the release character while converting an EDI String to EDI Values record. e.g. if we are using ‘:’ as delimiter and ‘?’ as release character, then an input string “abcd?:efgh” should be converted to a single field “abcd:efgh”. But ConvertToValues parses it into two fields “abcd?” and “efgh”. Any suggestions ?

  • Kiran

Hi Kiran,
I too had the same problem but found a work around for this.
Try this way out. In your Flat File Schema give the Quoted release character also as ? along with release character as ? and then check out. Atleast it worked for me. Can anyone throw more light on this cause documentation says release character is enough.

Regards,
Pradeep.

Hi Pradeep,

Thanks for your comments. The thing is, the schema which is being used is not of the flat file but the one for EDI Standard messages. So I wonder how can we find workaround for this.

Thanks and regards,
Kiran

Hi Kiran,
Yeah there is a work around for EDI File as well. In wm.b2b.edi:convertToValues service you explicitly set the delimiters in the serviceIn. There itself you set the release character also. Remember you have to set all the delimiters there not only the release character. I have tried this out and is working fine for me.

Regards,
Pradeep.

Hi Pradeep,

Could you please confirm which version of Business Connector or WebMethods you are testing with.

Thanks
Surresh

Hi Suresh,
Sorry for the late reply. I am using 6.1 Version of Webmethods.

Regards,
pradeep.