cancel
Showing results for 
Search instead for 
Did you mean: 

Mapping Issue

vishnu_pallamreddy
Contributor
0 Kudos

Hi All,

Scenario: proxy to file(csv file)


In my data type we have 9 structures.(A,B,C,D,E,F,G,H,I)

Requirement is we have to produce .CSV file with each line item one by one, like:

A

B

C

D

E

F

G

H

I

A

B

C

D

E

F

G

H

I

Please help me to get the output as i mentioned.

Thanks In Advance,

vishnu pallamreddy.

Accepted Solutions (1)

Accepted Solutions (1)

Muniyappan
Active Contributor
0 Kudos

Hi Vishnu,

You can achieve this using FCC parameters fieldSeparator,endSeparator by mentioning all line Structures(i am assuming all Structures come under same context of root message).

i am considering your structure will be like below.

input

<A>

<field1>111<field1>

<field1>AAA<field1>

.

.

.

</A>

output

111,AAA,....(you can use your required delimeter)

you have many links in scn like below one.

http://scn.sap.com/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion

if you could share input xml and output required it will be easy to for us to understand your requirement.

Regards,

Muniyappan.

Answers (1)

Answers (1)

former_member191435
Contributor
0 Kudos

Hi Vishnu,

U can create structure as below

record 0... unbounded

          a   0...1

          b   0...1

....

do the corresponding mapping.

Otherwise follow what Muniyappan said

Cheers,
Cnu