Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

create json from internal table in ECC 6 EHP7

kjyothiraditya
Participant
0 Likes
2,467

Hi Experts,

Any pointers on how to create json from internal table in ECC 6 EHP7 ?

Our version of sxml class has support only for xml and for json doesnt exist.

Regards,

Jyothir Aditya

Hi Experts,

Any pointers on how to create json from internal table in ECC 6 EHP7 ?

Our version of sxml class has support only for xml and for json doesnt exist.

Regards,

Jyothir Aditya

4 REPLIES 4
Read only

0 Likes
1,928

Yes, these talk about 3rd party add one like stuff. But looking for any built-in functionality that could be used if any without installing the add-ons

Read only

0 Likes
1,928

/ui2/cl_json is not an add-on. It is a class delivered by SAP.

CL_FDT_JSON is another class you can use.

Read only

0 Likes
1,928

Hi,

Sirini said correct , /ui2/cl_json not a addon, if you look at my second URL it clearly explain what to do. You can convert your internal table in to JSON and, other way JSON to internal table also possible. bellow link also will help it to you.

https://blogs.sap.com/2013/01/07/abap-and-json/

Regards,

Nawa