Skip to Content
0

FCC for non csv file as input in SAP PI

Oct 24, 2017 at 06:58 AM

21

avatar image
Former Member

Hi ,

We have a requirement, Need to convert the file to xml with below structure.

[start]

name=abc

age=xx

place=xyz

gender=male

[End]

Required xml structure is :

<name>abc</name>

<age>xx</age>

<place>xyz</place>

<gender>male</gender>

please help me in resolving this.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Manoj K Oct 24, 2017 at 10:25 AM
0

In your case Colaumns name are arranged vertically , you can handle this in mapping by concatinatin the required name as constant with value . and in FCC you handle it normally.

Br,

Manoj

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Oct 24, 2017 at 07:18 AM
0

If you have a limited, known set of parameters ("field1", "field2" etc), you can simply define each of them in the record set structure of your FCC, give "parameter, value" in the field names list of each record type and "=" as the field separator.

Share
10 |10000 characters needed characters left characters exceeded