Mapping record to recordlist

Hi,
I am not sure if you guys found the solution to this or not but what I have done in the past and it has worked very well for me, is to specify the record structure form of the bound node in TN(assuming u are using TN). To do this open up the document type and under the options tab fill in the “Format as an IS document type:” Once TN puts the bound node in the pipe, it will have the expected form.
HTH

Hi All,
we are posting an IDOC from SAP-BC to SAP. The starting services we are using are getfile/stringtodocument/documenttorecord.
We had a structure named Itemdetails which is a list. But during runtime is is getting converted to Document and the values are not populating(Line Items).Can anyone guide me please.

Thanks in Advance,
Shankar