cancel
Showing results for 
Search instead for 
Did you mean: 

Converting File Content: 2 different record structures

Former Member
0 Kudos

Dear all,

I have the following question: Is the PI 7.0 file adapter capable to convert the file content of a file which has two different record types? E.g.

Rekord 1: String(2) String(4) String(19)

Rekord 2: String(2) String(7) String(8)

....

In the XML structure I need for each of the record set, an own record structure e.g.

<documentName>...

<recordset1>

<NameA>

<field-nameA1>field-value</field-nameA1> // String(2)

<field-nameA2>field-value</field-nameA2> // String(4)

<field-nameA3>field-value</field-nameA3> // String(19)

</NameA>

</recordset1>

<recordset2>

<NameA>

<field-nameA1>field-value</field-nameA1> // String(2)

<field-nameA2>field-value</field-nameA2> // String(7)

<field-nameA3>field-value</field-nameA3> // String(8)

</NameA>

</recordset2>

...

The different record sets can be determined by the value of field 1 (string(2))

Thanks and best regards

Florian

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

yes posible.

Check the below link and do the FCC.

[https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/6713] [original link is broken] [original link is broken] [original link is broken];

*Reward Points If Useful*

Regards,

Prakasu