# Segment missing while performing ConvertToString service

**URL:** <https://techcommunity.softwareag.com/t/segment-missing-while-performing-converttostring-service/107087>\
**Category:** Forum\
**Tags:** EDI\
**Created:** [November 23, 2005, 1:23am UTC](https://techcommunity.softwareag.com/t/segment-missing-while-performing-converttostring-service/107087 "2005-11-23T01:23:03Z")\
**Posts on this page:** 12\
**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 23, 2005, 1:23am UTC](https://techcommunity.softwareag.com/t/segment-missing-while-performing-converttostring-service/107087/1 "2005-11-23T01:23:03Z")

</div>

Hey there,

We are missing one segment while executing the “wm.b2b.edi:convertToString” service. All the values are getting populated in the EDI String except one segment. We do have the values in the iData Object that is being input to Values of “wm.b2b.edi:convertToString” service.

Does anyone come across this issue. Can someone help us with this.

Thanks.

---

<div class="post-metadata">

**Author:** ![gupta\_r.17495](https://avatars.discourse-cdn.com/v4/letter/g/9fc348/32.png) [@gupta\_r.17495](https://techcommunity.softwareag.com/u/gupta_r.17495)\
**Post date:** [November 23, 2005, 1:37am UTC](https://techcommunity.softwareag.com/t/segment-missing-while-performing-converttostring-service/107087/2 "2005-11-23T01:37:18Z")

</div>

Please give us more details of your mapping and what EDI transaction(documentType)you are using?

This will help you for users to respond accordingly.

Please register yourself in this forum and get the responses.

HTH,  
RMG

---

<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 23, 2005, 2:04am UTC](https://techcommunity.softwareag.com/t/segment-missing-while-performing-converttostring-service/107087/3 "2005-11-23T02:04:30Z")

</div>

Thanks RMG.

The document is EDI 810 Invoice and we are trying to generate the EDI String with these segments: BIG, NTE, CUR, REF, PER, N1, IT1/PWK etc., We are able to convert the all the values to EDI String except PWK segment. PWK is getting populated in the iData Object as well but missing after conversion.

Any ideas?

Thanks for the support.

---

<div class="post-metadata">

**Author:** ![spg](https://avatars.discourse-cdn.com/v4/letter/s/9dc877/32.png) [@spg](https://techcommunity.softwareag.com/u/spg)\
**Post date:** [November 23, 2005, 2:11am UTC](https://techcommunity.softwareag.com/t/segment-missing-while-performing-converttostring-service/107087/4 "2005-11-23T02:11:05Z")

</div>

Do you see the PWK segment in the schema that you’re using for the convertToString service ?  
Note that if the segment is not defined in the schema it would not be converted even if you have it in the IData object.

Shubhro

---

<div class="post-metadata">

**Author:** ![Yemi\_Bedu](https://avatars.discourse-cdn.com/v4/letter/y/7993a0/32.png) [@Yemi\_Bedu](https://techcommunity.softwareag.com/u/Yemi_Bedu)\
**Post date:** [November 23, 2005, 2:11am UTC](https://techcommunity.softwareag.com/t/segment-missing-while-performing-converttostring-service/107087/5 "2005-11-23T02:11:15Z")

</div>

Hello,

> [@](#):
>
> I think sometimes if you save a field meant to be a document list as a single document, it won’t convert properly. I think that also happens on composite string fields. Good day.

Yemi Bedu

---

<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 23, 2005, 2:41am UTC](https://techcommunity.softwareag.com/t/segment-missing-while-performing-converttostring-service/107087/6 "2005-11-23T02:41:18Z")

</div>

Thanks for the responses. Schema used is the standard version and does have the PWK segment in it. Is there a chance of schema getting corrupt or needs to re-create (was wondering. will try if needed to do)

Also, PWK segment is coming as a Doc List in the document that is given as input to Values of “wm.b2b.edi:convertToString” service.

---

<div class="post-metadata">

**Author:** ![Ramesh\_Sambandan](https://avatars.discourse-cdn.com/v4/letter/r/9fc29f/32.png) [@Ramesh\_Sambandan](https://techcommunity.softwareag.com/u/Ramesh_Sambandan)\
**Post date:** [November 23, 2005, 2:48am UTC](https://techcommunity.softwareag.com/t/segment-missing-while-performing-converttostring-service/107087/7 "2005-11-23T02:48:22Z")

</div>

Contact webMethods Support regarding this.As a workaround, edit the standard schema and include the PWK segment.be careful while migrating to QA and PRD as you have to move the schema also.

ramesh.

---

<div class="post-metadata">

**Author:** ![spg](https://avatars.discourse-cdn.com/v4/letter/s/9dc877/32.png) [@spg](https://techcommunity.softwareag.com/u/spg)\
**Post date:** [November 23, 2005, 2:51am UTC](https://techcommunity.softwareag.com/t/segment-missing-while-performing-converttostring-service/107087/8 "2005-11-23T02:51:54Z")

</div>

To see if the schema is right you can try Testing the schema against a 810 document which you know is valid.

Also can you make sure that the PWK segment elements have the correct values.

---

<div class="post-metadata">

**Author:** ![Ramesh\_Sambandan](https://avatars.discourse-cdn.com/v4/letter/r/9fc29f/32.png) [@Ramesh\_Sambandan](https://techcommunity.softwareag.com/u/Ramesh_Sambandan)\
**Post date:** [November 23, 2005, 2:56am UTC](https://techcommunity.softwareag.com/t/segment-missing-while-performing-converttostring-service/107087/9 "2005-11-23T02:56:43Z")

</div>

i think schema is corrupted.install it again.

ramesh

---

<div class="post-metadata">

**Author:** ![gupta\_r.17495](https://avatars.discourse-cdn.com/v4/letter/g/9fc348/32.png) [@gupta\_r.17495](https://techcommunity.softwareag.com/u/gupta_r.17495)\
**Post date:** [November 23, 2005, 3:46am UTC](https://techcommunity.softwareag.com/t/segment-missing-while-performing-converttostring-service/107087/10 "2005-11-23T03:46:19Z")

</div>

Contact tech support regarding PWK issue,or reinstall the Schema and make sure your IDATA contains the PWD(Recordlist) which matches against 810 Schema.

BTW,what EDI version of 810 trying to use?4010 or higher?

HTH,  
RMG

---

<div class="post-metadata">

**Author:** ![javier.monzon.45096](https://avatars.discourse-cdn.com/v4/letter/j/c6cbf5/32.png) [@javier.monzon.45096](https://techcommunity.softwareag.com/u/javier.monzon.45096)\
**Post date:** [November 23, 2005, 4:05am UTC](https://techcommunity.softwareag.com/t/segment-missing-while-performing-converttostring-service/107087/11 "2005-11-23T04:05:14Z")

</div>

Hi wm\_edi\_ut ,

Could you post your EDI data for analysis ?

---

<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:04pm UTC](https://techcommunity.softwareag.com/t/segment-missing-while-performing-converttostring-service/107087/12 "2021-04-02T15:04:40Z")

</div>


