JSON TO ABAP using a generic type

Hi all,

A web-service provides the following JSON (Look at the Value which can have different types per object!):

[{ "Name": "Customerfield", "Value": "A Company Inc."},
 { "Name": "Addresslist", "Value": ["Street1","Street2"]}]

I would like to parse this JSON-Array to ABAP using call transformation id ...

However the call transformation dumps cause my corresponding ABAP-Type for the Value-field doesn't match. I have tried string and string_table, but it doesn't work. Do you have any idea which ABAP-type for the value-field could work? Is it possible at all using call transformation id?

Thanks and regards


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers

Skip to Content