Dec 25, 2011 00:14 0 Comments Development Pavan

Pre requisites:

 a)      Wm EDI samples . sample services . XI 2 values service

b)      Sef parse

c)       Edi dictionary (empty)

d)      Edi schema DT (path)

e)      Edi schema (generated through sef parse)

f)       Flat file dictionary

g)      Flat file schema

h)      Flat file schema DT


1) Take a flat file dictionary ,for each and every ST/SE  segment create an dictionary with record as the ST/SE segment and create fields as the fields of the ST/SE segments.


   Ex:   BEG  segment

                  Record  BEG:

Fields n BEG:

                                    Transaction set purpose code

                    Po type code

                                     Po No



  • Create a flat file schema by setting ref flat file dictionary.
  • Through the flat file schema generate schema DT .
  • Create  an empty EDI dictionary
  • Call sef parse service by giving EDI schema path , then EDI dictionary will be populated and EDI schema will be generated through which generate EDI schema DT
  • Open WM EDI samples .sample services . XI 2 to values service .
  • Copy the flow steps in it
  • Create a own new flow service and paste the flow steps in it
  • Loop over   ‘/values/ISA/GS/ST’ (After this step edit)


Edit                       MAP

                              Wm . b2b .Edi . Util .get EDI string

                                            ST – values

                                Wm . b2b .Edi . convert to values


                                 EDI Flat file schema : copy and paste Edi schema

                                 Pipe out – ref of Edi schema DT

                                 Map Edi values – Edi schema DT


2) Then add these flow steps.


              Edi schema DT  -  flat file schema DT

               Map each and every segment to field

      EX:  ISA


                         BEG 01 – Transaction purpose code

                         BEG 02 – PO type code

                               :          PO no.

                               :                :

                               :                :


3) Use Pub . flat file .convert to string

                                                               Flat file schema DT -  flat file values

                                                                Flat file schema – path

  • Sample .Io . test . write to file



Prev Next
About the Author
Topic Replies (0)
Leave a Reply
Guest User

You might also like

Not sure what course is right for you?

Choose the right course for you.
Get the help of our experts and find a course that best suits your needs.

Let`s Connect