# EDI SE01 segment mapping

**URL:** <https://techcommunity.softwareag.com/t/edi-se01-segment-mapping/108958>\
**Category:** Forum\
**Tags:** EDI\
**Created:** [July 19, 2006, 12:22pm UTC](https://techcommunity.softwareag.com/t/edi-se01-segment-mapping/108958 "2006-07-19T12:22:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![unnati.yadav.23953](https://avatars.discourse-cdn.com/v4/letter/u/7bcc69/32.png) [@unnati.yadav.23953](https://techcommunity.softwareag.com/u/unnati.yadav.23953)\
**Post date:** [July 19, 2006, 12:22pm UTC](https://techcommunity.softwareag.com/t/edi-se01-segment-mapping/108958/1 "2006-07-19T12:22:37Z")

</div>

I am using database fields to send into EDI856 document segments finally i have to map SE01 segment as well on the basis of no. of segments used in it . how can i calculate the SE01 segment value?.i am using WEBMETHOD developer.

---

<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:** [July 19, 2006, 6:17pm UTC](https://techcommunity.softwareag.com/t/edi-se01-segment-mapping/108958/2 "2006-07-19T18:17:53Z")

</div>

unnati,

Here is the lit trick for SE01 (segmentcount),just intialize the SE01 with (setValue) icon in the pipeline editor before you call convertToString and this service will take care of the segmentcount from ST to SE and generate it for you.check the results/pipeline string to make sure the same.

HTH,  
RMG

---

<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/edi-se01-segment-mapping/108958/3 "2021-04-02T15:05:27Z")

</div>

Closed on April 2, 2021, 3:05pm UTC


