RMG and Page,
Thanks for your reply.
I tried the approach suggested by RMG. May be I am missing something here. Do I need to specify the out-array in my loops. I did not specify anything in out-array.
My flow looks like this.
transformFlatToHierarchy
Loop over ‘/DELVRY03_copy/DELVRY03/IDOC’
–MAP (E1EDL20-VBELN to DocHeader-DocID) (Record Reference)
–Loop over ‘/DELVRY03_copy/DELVRY03/IDOC/E1EDL20’
----MAP (E1EDL24 fields to tmp_orderline)
…(tmp_orderline is a record structure)
…(Required fields from E1EDL24 are mapped here to tmp_orderline)
----appendToRecordList (Note-at the same level as above MAP)
recordToDocument
Details on appendToRecordList.
Pipeline In Service-In Service-Out PipelineOut
3rdparty toList -------->3rdParty
-ALS
–Request
—Orderline---->toList
…fromList
tmp_orderline—>fromItem
My output looks like this.
<?xml>
<als>
<docheader>
<clientid>192761</clientid>
</docheader>
<request>
<orderline>
</request>
</als>
As you can see it did not pick up any values from my IDOC. I have verified that IDOC has data in it since I see the values in pipeline.
RMG, I sincerely appreciate your help. Though this task should have been such a simple one, it has taken more time than I ever imagined. I cannot find any examples in any of the packages. In other postings, I have seen someone post about a package called wmEDIsample. Please let me know how we can import this package, if there is any such package.
Thanks,
R
#Integration-Server-and-ESB#edi#webMethods