cancel
Showing results for 
Search instead for 
Did you mean: 

Recordset structure

Former Member
0 Kudos

Hi

I have a Message typ structure as shown below:

MT_Name

>Details.............(1...unbound)

>>>Name..........(1...Unbound)

>>>Eno.............(1...Unbound)

>>>Location......(1...Unbound)

>>>Group.........(1...Unbound)

I have a input file as

Thomas,123,MN,xi

Andrew,234,NC,basis

David,345,NC,xi

This is just a test example.......but I want output like.........three output files to be creared. Each file should contain one record. Basically i am using the below weblog as a base

/people/sravya.talanki2/blog/2005/11/29/night-mare-processing-huge-files-in-sap-xi

But I am not able to succeed. Could anybody explain me how can I achive this ??

Regards

kumar

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Kumar,

your recordset would be MT_Name

recordset structure would be Details

and in the parameter Recordsets per Message give '1'

I think you might need to put another node between 'MT_Name' and 'Details',then that would be recordset and Details would be recordset structure.

Former Member
0 Kudos

Hi Babu,

Could you Plz clarify me one thing. If I code like what you suggested.....will I get 3 output files ?? or only one out file ?? Because I didn't observed any change eventhough I set Recordsets per Message as '1' . I am getting all the records in the same out file.

thanks

kumar

Former Member
0 Kudos

Hi Babu,

FYI.....My scenario is like file(csv)--XI-----file(xml).

thanks

kumar

Former Member
0 Kudos

Hi Kumar,

Here is the complete solution of ur scenario:

In Content Conversion Parameter use -

RecordsetName- MT_Name

Recordset Namespace- Namespace of ur Design Objects

Recordset Structure- Details,1

Recordset Per Message- 1

Details.fieldSeparator- ,

Details.fieldNames- Name,Eno,Location,Group

In this way you will get different output files for each record of your source file.

Regards

Pravesh

Answers (0)