Skip to Content
avatar image
Former Member

map the decompressed field which returns an xml to target fields

Hi,

I have a scenario where I am getting a field which has decompressed data GZIP base 64 encoding. I ma getting an XML in the field Compresseddata from source. I am decompressing it. I am able to decompress it but I dont know how to map it with target fields.

it was mapped like compresseddata-UDF-compresseddata, Message-Message and go on. since I am getting the compressed data in compresseddata field, I am decompressing it. it is decompressing as an xml. so how to map it with target fields ?

Please suggest.

Thanks,

Sherwin

map.png (55.7 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Jun 14, 2017 at 06:57 AM

    Hi Sherwin,

    In the UDF, you need to parse the xml and retrieve the values of fields and then map to target. The approach would be something like I suggested in below thread.

    https://archive.sap.com/discussions/thread/1978579

    --Priyanka

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 14, 2017 at 07:34 AM

    HI Priyanka,

    Thank you so much again..!!

    Best regards,

    Sherwin

    Add comment
    10|10000 characters needed characters exceeded