cancel
Showing results for 
Search instead for 
Did you mean: 

Complex Data Types and Extra Container Nodes

Former Member
0 Kudos

In a lot of the examples I see online for repeating record based data, mainly when converting flat file formats to XML, I notice that people often insert an extra node between the repeating record node and the record fields.

The screenshot of Example 1 linked below illustrates this...

http://img706.imageshack.us/img706/3391/datatypeexample1.jpg

The screenshot of Example 2 linked below is essentially the same, without the additional node under the record node...

http://img339.imageshack.us/img339/4669/datatypeexample2.jpg

I'm curious why people add the extra node. Does it make mapping easier in certain situations? I see it done quite a lot.

Accepted Solutions (1)

Accepted Solutions (1)

baskar_gopalakrishnan2
Active Contributor
0 Kudos

>I'm curious why people add the extra node. Does it make mapping easier in certain situations? I see it done quite a lot.

As per your example... First example should be like this ...

Record   1 to 1
Data         1 to unbounded

In this case,  we specify

Recordset Name : Record
Recordset structure:  Data,*

Refer michal [link|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/1092] [original link is broken] [original link is broken] [original link is broken];

Answers (0)