RMG,
Here is the steps in my flow service.
login
ls
Loop over ‘/dirlist’
–get
–bytesToString
–StringToDocument
–documentToRecord(XML document to record structure)
–Loop over data from above and map it to fields and structure
–before calling the RFC
–call RFC
–delete the file
logout
I see the data upto and after the documentToRecord step. When I loop through this structure and map it to a temp rec structure, I do not see any data in my target structure.
My XML structure looks like this.
ABC
–(+)ABCHeader
–(-)SHIP
----HEADER
------FIELD 1
------FIELD 2
------etc.
------(-)DETAIL (record list) contains line item data
--------field 1
--------field 2
--------etc.,
I have created a ship_detail record structure that has all the fields of DETAIL.
I am looping as below
Loop over '/ship/ABC/
–Loop over ‘/ship/ABC/SHIP’
----Loop over ‘/ship/ABC/SHIP/HEADER’
------Map individual fields from DETAIL to corresponding fields tmp_rec
------tmp_rec is created as a record reference to ship_detail
When I debug, I see that the flow goes through each loop and the map step. But, I do not see tmp_rec in the Results at all. I have played around with indexing. System defaults ‘0’ as the value. I have blanked it out.
Please help me out here. I am running out of options.
Thanks,
Roger
#Integration-Server-and-ESB#Flow-and-Java-services#webMethods