cancel
Showing results for 
Search instead for 
Did you mean: 

Sender File Content Conversion Complexity

Former Member
0 Kudos

It is again time to dip into the well of knowledge that is SDN.

I have a question about sender file content conversion.

It appears that I can only create simple XML structures with it, but I'm hoping someone here can help.

Lets says I have a file where each record layout is the same. There are not header records, trailer records, etc. Basically only one structure within the recordset.

However the record itself may have a complicated structure. For example, the layout of each record may be:

String1, String2, String3, Array(0:3) consisting of String4, String5, String6.

Can I convert that to a structure of

<Node>

<string1>

<string2>

<string3>

<array>

<string4>

<string5>

<string6>

<array>

<string4>

<string5>

<string6>

</Node>

Or must I create a DT containing one node giving string4,5 and 6 a unique name for each occurance?

Thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

moorthy
Active Contributor
0 Kudos

Hi,

You can go with generic structure and then either in the adapter module or Mapping, you can format the structure. Because content conversion has a limitation to upto one level.

check this for limitation-

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/50061bd9-e56e-2910-3495-c5faa652...

check this for generic structure-

/people/sravya.talanki2/blog/2005/08/16/configuring-generic-sender-file-cc-adapter

Rgds,

Moorthy

Answers (1)

Answers (1)

0 Kudos

Hi,

do you have a various number of arrays? maybe you can post an example how the file looks:

S1,S2,S3,S4,S5,S6,S4,S5,S6,...

or

S1,S2,S3,S4#S5#S6,S4#S5#S6,...

or

...

Regards

J.