Skip to Content
avatar image
Former Member

FCC for non csv file as input in SAP PI

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Oct 24, 2017 at 10:25 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 24, 2017 at 07:18 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded